@vrplatform/api 1.3.1-stage.2514 → 1.3.1-stage.2515

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.1-stage.2514",
6
+ "version": "1.3.1-stage.2515",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -748,6 +748,58 @@ export interface paths {
748
748
  patch: operations["patchContactsByIdRevokeAccess"];
749
749
  trace?: never;
750
750
  };
751
+ "/contacts/{id}/viewers": {
752
+ parameters: {
753
+ query?: never;
754
+ header?: never;
755
+ path?: never;
756
+ cookie?: never;
757
+ };
758
+ /** @description List owner-viewer access for an owner contact */
759
+ get: operations["getContactsByIdViewers"];
760
+ put?: never;
761
+ /** @description Invite an owner viewer for an owner contact */
762
+ post: operations["postContactsByIdViewers"];
763
+ delete?: never;
764
+ options?: never;
765
+ head?: never;
766
+ patch?: never;
767
+ trace?: never;
768
+ };
769
+ "/contacts/{id}/viewers/{userId}": {
770
+ parameters: {
771
+ query?: never;
772
+ header?: never;
773
+ path?: never;
774
+ cookie?: never;
775
+ };
776
+ get?: never;
777
+ put?: never;
778
+ post?: never;
779
+ /** @description Remove an owner-viewer access row from an owner contact */
780
+ delete: operations["deleteContactsByIdViewersByUserId"];
781
+ options?: never;
782
+ head?: never;
783
+ patch?: never;
784
+ trace?: never;
785
+ };
786
+ "/contacts/{id}/viewers/{userId}/invite": {
787
+ parameters: {
788
+ query?: never;
789
+ header?: never;
790
+ path?: never;
791
+ cookie?: never;
792
+ };
793
+ get?: never;
794
+ put?: never;
795
+ post?: never;
796
+ delete?: never;
797
+ options?: never;
798
+ head?: never;
799
+ /** @description Reinvite an existing owner viewer */
800
+ patch: operations["patchContactsByIdViewersByUserIdInvite"];
801
+ trace?: never;
802
+ };
751
803
  "/csv/import": {
752
804
  parameters: {
753
805
  query?: never;
@@ -12811,6 +12863,472 @@ export interface operations {
12811
12863
  };
12812
12864
  };
12813
12865
  };
12866
+ getContactsByIdViewers: {
12867
+ parameters: {
12868
+ query?: never;
12869
+ header?: never;
12870
+ path: {
12871
+ id: string;
12872
+ };
12873
+ cookie?: never;
12874
+ };
12875
+ requestBody?: never;
12876
+ responses: {
12877
+ /** @description Successful response */
12878
+ 200: {
12879
+ headers: {
12880
+ [name: string]: unknown;
12881
+ };
12882
+ content: {
12883
+ "application/json": {
12884
+ data: {
12885
+ /** Format: uuid */
12886
+ userId: string;
12887
+ email: string;
12888
+ firstName: string | null;
12889
+ lastName: string | null;
12890
+ /** @enum {string} */
12891
+ status: "active" | "inactive" | "unconfirmed";
12892
+ lastInvitedAt: string | null;
12893
+ lastSeen: string | null;
12894
+ }[];
12895
+ };
12896
+ };
12897
+ };
12898
+ /** @description Bad request */
12899
+ 400: {
12900
+ headers: {
12901
+ [name: string]: unknown;
12902
+ };
12903
+ content: {
12904
+ "application/json": {
12905
+ code: string;
12906
+ message: string;
12907
+ issues?: {
12908
+ message: string;
12909
+ }[];
12910
+ context?: unknown;
12911
+ };
12912
+ };
12913
+ };
12914
+ /** @description Unauthorized */
12915
+ 401: {
12916
+ headers: {
12917
+ [name: string]: unknown;
12918
+ };
12919
+ content: {
12920
+ "application/json": {
12921
+ code: string;
12922
+ message: string;
12923
+ issues?: {
12924
+ message: string;
12925
+ }[];
12926
+ context?: unknown;
12927
+ };
12928
+ };
12929
+ };
12930
+ /** @description Forbidden */
12931
+ 403: {
12932
+ headers: {
12933
+ [name: string]: unknown;
12934
+ };
12935
+ content: {
12936
+ "application/json": {
12937
+ code: string;
12938
+ message: string;
12939
+ issues?: {
12940
+ message: string;
12941
+ }[];
12942
+ context?: unknown;
12943
+ };
12944
+ };
12945
+ };
12946
+ /** @description Not found */
12947
+ 404: {
12948
+ headers: {
12949
+ [name: string]: unknown;
12950
+ };
12951
+ content: {
12952
+ "application/json": {
12953
+ code: string;
12954
+ message: string;
12955
+ issues?: {
12956
+ message: string;
12957
+ }[];
12958
+ context?: unknown;
12959
+ };
12960
+ };
12961
+ };
12962
+ /** @description Internal server error */
12963
+ 500: {
12964
+ headers: {
12965
+ [name: string]: unknown;
12966
+ };
12967
+ content: {
12968
+ "application/json": {
12969
+ code: string;
12970
+ message: string;
12971
+ issues?: {
12972
+ message: string;
12973
+ }[];
12974
+ context?: unknown;
12975
+ };
12976
+ };
12977
+ };
12978
+ };
12979
+ };
12980
+ postContactsByIdViewers: {
12981
+ parameters: {
12982
+ query?: never;
12983
+ header?: never;
12984
+ path: {
12985
+ id: string;
12986
+ };
12987
+ cookie?: never;
12988
+ };
12989
+ requestBody?: {
12990
+ content: {
12991
+ "application/json": {
12992
+ email: string;
12993
+ /** @default true */
12994
+ sendEmail?: boolean;
12995
+ };
12996
+ };
12997
+ };
12998
+ responses: {
12999
+ /** @description Successful response */
13000
+ 200: {
13001
+ headers: {
13002
+ [name: string]: unknown;
13003
+ };
13004
+ content: {
13005
+ "application/json": {
13006
+ url: string;
13007
+ viewer: {
13008
+ /** Format: uuid */
13009
+ userId: string;
13010
+ email: string;
13011
+ firstName: string | null;
13012
+ lastName: string | null;
13013
+ /** @enum {string} */
13014
+ status: "active" | "inactive" | "unconfirmed";
13015
+ lastInvitedAt: string | null;
13016
+ lastSeen: string | null;
13017
+ };
13018
+ };
13019
+ };
13020
+ };
13021
+ /** @description Bad request */
13022
+ 400: {
13023
+ headers: {
13024
+ [name: string]: unknown;
13025
+ };
13026
+ content: {
13027
+ "application/json": {
13028
+ code: string;
13029
+ message: string;
13030
+ issues?: {
13031
+ message: string;
13032
+ }[];
13033
+ context?: unknown;
13034
+ };
13035
+ };
13036
+ };
13037
+ /** @description Unauthorized */
13038
+ 401: {
13039
+ headers: {
13040
+ [name: string]: unknown;
13041
+ };
13042
+ content: {
13043
+ "application/json": {
13044
+ code: string;
13045
+ message: string;
13046
+ issues?: {
13047
+ message: string;
13048
+ }[];
13049
+ context?: unknown;
13050
+ };
13051
+ };
13052
+ };
13053
+ /** @description Forbidden */
13054
+ 403: {
13055
+ headers: {
13056
+ [name: string]: unknown;
13057
+ };
13058
+ content: {
13059
+ "application/json": {
13060
+ code: string;
13061
+ message: string;
13062
+ issues?: {
13063
+ message: string;
13064
+ }[];
13065
+ context?: unknown;
13066
+ };
13067
+ };
13068
+ };
13069
+ /** @description Not found */
13070
+ 404: {
13071
+ headers: {
13072
+ [name: string]: unknown;
13073
+ };
13074
+ content: {
13075
+ "application/json": {
13076
+ code: string;
13077
+ message: string;
13078
+ issues?: {
13079
+ message: string;
13080
+ }[];
13081
+ context?: unknown;
13082
+ };
13083
+ };
13084
+ };
13085
+ /** @description Internal server error */
13086
+ 500: {
13087
+ headers: {
13088
+ [name: string]: unknown;
13089
+ };
13090
+ content: {
13091
+ "application/json": {
13092
+ code: string;
13093
+ message: string;
13094
+ issues?: {
13095
+ message: string;
13096
+ }[];
13097
+ context?: unknown;
13098
+ };
13099
+ };
13100
+ };
13101
+ };
13102
+ };
13103
+ deleteContactsByIdViewersByUserId: {
13104
+ parameters: {
13105
+ query?: never;
13106
+ header?: never;
13107
+ path: {
13108
+ id: string;
13109
+ userId: string;
13110
+ };
13111
+ cookie?: never;
13112
+ };
13113
+ requestBody?: never;
13114
+ responses: {
13115
+ /** @description Successful response */
13116
+ 200: {
13117
+ headers: {
13118
+ [name: string]: unknown;
13119
+ };
13120
+ content: {
13121
+ "application/json": {
13122
+ /** @constant */
13123
+ status: "deleted";
13124
+ };
13125
+ };
13126
+ };
13127
+ /** @description Bad request */
13128
+ 400: {
13129
+ headers: {
13130
+ [name: string]: unknown;
13131
+ };
13132
+ content: {
13133
+ "application/json": {
13134
+ code: string;
13135
+ message: string;
13136
+ issues?: {
13137
+ message: string;
13138
+ }[];
13139
+ context?: unknown;
13140
+ };
13141
+ };
13142
+ };
13143
+ /** @description Unauthorized */
13144
+ 401: {
13145
+ headers: {
13146
+ [name: string]: unknown;
13147
+ };
13148
+ content: {
13149
+ "application/json": {
13150
+ code: string;
13151
+ message: string;
13152
+ issues?: {
13153
+ message: string;
13154
+ }[];
13155
+ context?: unknown;
13156
+ };
13157
+ };
13158
+ };
13159
+ /** @description Forbidden */
13160
+ 403: {
13161
+ headers: {
13162
+ [name: string]: unknown;
13163
+ };
13164
+ content: {
13165
+ "application/json": {
13166
+ code: string;
13167
+ message: string;
13168
+ issues?: {
13169
+ message: string;
13170
+ }[];
13171
+ context?: unknown;
13172
+ };
13173
+ };
13174
+ };
13175
+ /** @description Not found */
13176
+ 404: {
13177
+ headers: {
13178
+ [name: string]: unknown;
13179
+ };
13180
+ content: {
13181
+ "application/json": {
13182
+ code: string;
13183
+ message: string;
13184
+ issues?: {
13185
+ message: string;
13186
+ }[];
13187
+ context?: unknown;
13188
+ };
13189
+ };
13190
+ };
13191
+ /** @description Internal server error */
13192
+ 500: {
13193
+ headers: {
13194
+ [name: string]: unknown;
13195
+ };
13196
+ content: {
13197
+ "application/json": {
13198
+ code: string;
13199
+ message: string;
13200
+ issues?: {
13201
+ message: string;
13202
+ }[];
13203
+ context?: unknown;
13204
+ };
13205
+ };
13206
+ };
13207
+ };
13208
+ };
13209
+ patchContactsByIdViewersByUserIdInvite: {
13210
+ parameters: {
13211
+ query?: never;
13212
+ header?: never;
13213
+ path: {
13214
+ id: string;
13215
+ userId: string;
13216
+ };
13217
+ cookie?: never;
13218
+ };
13219
+ requestBody?: {
13220
+ content: {
13221
+ "application/json": {
13222
+ /** @default true */
13223
+ sendEmail?: boolean;
13224
+ };
13225
+ };
13226
+ };
13227
+ responses: {
13228
+ /** @description Successful response */
13229
+ 200: {
13230
+ headers: {
13231
+ [name: string]: unknown;
13232
+ };
13233
+ content: {
13234
+ "application/json": {
13235
+ url: string;
13236
+ viewer: {
13237
+ /** Format: uuid */
13238
+ userId: string;
13239
+ email: string;
13240
+ firstName: string | null;
13241
+ lastName: string | null;
13242
+ /** @enum {string} */
13243
+ status: "active" | "inactive" | "unconfirmed";
13244
+ lastInvitedAt: string | null;
13245
+ lastSeen: string | null;
13246
+ };
13247
+ };
13248
+ };
13249
+ };
13250
+ /** @description Bad request */
13251
+ 400: {
13252
+ headers: {
13253
+ [name: string]: unknown;
13254
+ };
13255
+ content: {
13256
+ "application/json": {
13257
+ code: string;
13258
+ message: string;
13259
+ issues?: {
13260
+ message: string;
13261
+ }[];
13262
+ context?: unknown;
13263
+ };
13264
+ };
13265
+ };
13266
+ /** @description Unauthorized */
13267
+ 401: {
13268
+ headers: {
13269
+ [name: string]: unknown;
13270
+ };
13271
+ content: {
13272
+ "application/json": {
13273
+ code: string;
13274
+ message: string;
13275
+ issues?: {
13276
+ message: string;
13277
+ }[];
13278
+ context?: unknown;
13279
+ };
13280
+ };
13281
+ };
13282
+ /** @description Forbidden */
13283
+ 403: {
13284
+ headers: {
13285
+ [name: string]: unknown;
13286
+ };
13287
+ content: {
13288
+ "application/json": {
13289
+ code: string;
13290
+ message: string;
13291
+ issues?: {
13292
+ message: string;
13293
+ }[];
13294
+ context?: unknown;
13295
+ };
13296
+ };
13297
+ };
13298
+ /** @description Not found */
13299
+ 404: {
13300
+ headers: {
13301
+ [name: string]: unknown;
13302
+ };
13303
+ content: {
13304
+ "application/json": {
13305
+ code: string;
13306
+ message: string;
13307
+ issues?: {
13308
+ message: string;
13309
+ }[];
13310
+ context?: unknown;
13311
+ };
13312
+ };
13313
+ };
13314
+ /** @description Internal server error */
13315
+ 500: {
13316
+ headers: {
13317
+ [name: string]: unknown;
13318
+ };
13319
+ content: {
13320
+ "application/json": {
13321
+ code: string;
13322
+ message: string;
13323
+ issues?: {
13324
+ message: string;
13325
+ }[];
13326
+ context?: unknown;
13327
+ };
13328
+ };
13329
+ };
13330
+ };
13331
+ };
12814
13332
  csvImport: {
12815
13333
  parameters: {
12816
13334
  query?: never;
@@ -18539,6 +19057,8 @@ export interface operations {
18539
19057
  ownerId?: string;
18540
19058
  /** Format: uuid */
18541
19059
  teamId: string;
19060
+ /** @enum {string} */
19061
+ role: "admin" | "viewer";
18542
19062
  }[];
18543
19063
  teamAccess: {
18544
19064
  /** Format: uuid */