@openscreen/internal-sdk 1.7.15 → 1.7.17
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/typings/sdk.d.ts +188 -6
- package/typings/sdk.d.ts.map +1 -1
package/package.json
CHANGED
package/typings/sdk.d.ts
CHANGED
|
@@ -332,7 +332,8 @@ export declare enum QrCodeSortingTypes {
|
|
|
332
332
|
export declare enum QrCodeStatus {
|
|
333
333
|
ACTIVE = "ACTIVE",
|
|
334
334
|
INACTIVE = "INACTIVE",
|
|
335
|
-
SUSPENDED = "SUSPENDED"
|
|
335
|
+
SUSPENDED = "SUSPENDED",
|
|
336
|
+
UNSAFE = "UNSAFE"
|
|
336
337
|
}
|
|
337
338
|
export declare enum QrCodeType {
|
|
338
339
|
PNG = "PNG",
|
|
@@ -392,12 +393,28 @@ export declare enum UserMediaFileTypes {
|
|
|
392
393
|
png = "png",
|
|
393
394
|
mov = "mov",
|
|
394
395
|
mp4 = "mp4",
|
|
395
|
-
jpeg = "jpeg"
|
|
396
|
+
jpeg = "jpeg",
|
|
397
|
+
ttf = "ttf",
|
|
398
|
+
otf = "otf",
|
|
399
|
+
woff = "woff",
|
|
400
|
+
woff2 = "woff2",
|
|
401
|
+
csv = "csv",
|
|
402
|
+
json = "json",
|
|
403
|
+
gif = "gif",
|
|
404
|
+
bmp = "bmp",
|
|
405
|
+
webp = "webp",
|
|
406
|
+
svg = "svg",
|
|
407
|
+
tiff = "tiff",
|
|
408
|
+
webm = "webm",
|
|
409
|
+
ogg = "ogg",
|
|
410
|
+
avi = "avi",
|
|
411
|
+
mpeg = "mpeg"
|
|
396
412
|
}
|
|
397
413
|
export declare enum UserMediaSortingTypes {
|
|
398
414
|
MODIFIED = "MODIFIED",
|
|
399
415
|
NAME = "NAME",
|
|
400
|
-
FILE_TYPE = "FILE_TYPE"
|
|
416
|
+
FILE_TYPE = "FILE_TYPE",
|
|
417
|
+
CATEGORY = "CATEGORY"
|
|
401
418
|
}
|
|
402
419
|
export declare enum UserSettingsDomain {
|
|
403
420
|
DASHBOARD = "DASHBOARD"
|
|
@@ -1081,6 +1098,81 @@ export interface AssetTypeByStatusTimestamp {
|
|
|
1081
1098
|
state: string;
|
|
1082
1099
|
timestamp: string | Date | number;
|
|
1083
1100
|
}
|
|
1101
|
+
export interface BadUrlAttempt {
|
|
1102
|
+
accountId: string;
|
|
1103
|
+
appAccountId?: string | null;
|
|
1104
|
+
assetContent: NestedKeyValueObject;
|
|
1105
|
+
assetId: string;
|
|
1106
|
+
created?: string | Date | number | null;
|
|
1107
|
+
modified?: string | Date | number | null;
|
|
1108
|
+
projectId?: string | null;
|
|
1109
|
+
qrCodeId: string;
|
|
1110
|
+
timestamp: string | Date | number;
|
|
1111
|
+
url: string;
|
|
1112
|
+
}
|
|
1113
|
+
export interface BadUrlAttemptByTimestamp {
|
|
1114
|
+
_GLOBAL: string;
|
|
1115
|
+
_prefix?: string;
|
|
1116
|
+
accountId: string;
|
|
1117
|
+
appAccountId?: string | null;
|
|
1118
|
+
created?: string | Date | number | null;
|
|
1119
|
+
modified?: string | Date | number | null;
|
|
1120
|
+
projectId?: string | null;
|
|
1121
|
+
qrCodeId?: string | null;
|
|
1122
|
+
timestamp: string | Date | number;
|
|
1123
|
+
url: string;
|
|
1124
|
+
}
|
|
1125
|
+
export interface BadUrlAttemptByUrl {
|
|
1126
|
+
_GLOBAL: string;
|
|
1127
|
+
_prefix?: string;
|
|
1128
|
+
accountId: string;
|
|
1129
|
+
appAccountId?: string | null;
|
|
1130
|
+
created?: string | Date | number | null;
|
|
1131
|
+
modified?: string | Date | number | null;
|
|
1132
|
+
projectId?: string | null;
|
|
1133
|
+
qrCodeId?: string | null;
|
|
1134
|
+
timestamp: string | Date | number;
|
|
1135
|
+
url: string;
|
|
1136
|
+
}
|
|
1137
|
+
export interface BadUrlUsage {
|
|
1138
|
+
created?: string | Date | number | null;
|
|
1139
|
+
modified?: string | Date | number | null;
|
|
1140
|
+
url: string;
|
|
1141
|
+
usageCount: number;
|
|
1142
|
+
}
|
|
1143
|
+
export interface BadUrlUsageByCreated {
|
|
1144
|
+
_GLOBAL: string;
|
|
1145
|
+
_created: string | Date | number;
|
|
1146
|
+
_prefix?: string;
|
|
1147
|
+
created?: string | Date | number | null;
|
|
1148
|
+
modified?: string | Date | number | null;
|
|
1149
|
+
url: string;
|
|
1150
|
+
}
|
|
1151
|
+
export interface BadUrlUsageByModified {
|
|
1152
|
+
_GLOBAL: string;
|
|
1153
|
+
_modified: string | Date | number;
|
|
1154
|
+
_prefix?: string;
|
|
1155
|
+
created?: string | Date | number | null;
|
|
1156
|
+
modified?: string | Date | number | null;
|
|
1157
|
+
url: string;
|
|
1158
|
+
}
|
|
1159
|
+
export interface BadUrlUsageByUrl {
|
|
1160
|
+
_GLOBAL: string;
|
|
1161
|
+
_modified: string | Date | number;
|
|
1162
|
+
_prefix?: string;
|
|
1163
|
+
created?: string | Date | number | null;
|
|
1164
|
+
modified?: string | Date | number | null;
|
|
1165
|
+
url: string;
|
|
1166
|
+
}
|
|
1167
|
+
export interface BadUrlUsageByUsageCount {
|
|
1168
|
+
_GLOBAL: string;
|
|
1169
|
+
_modified: string | Date | number;
|
|
1170
|
+
_prefix?: string;
|
|
1171
|
+
created?: string | Date | number | null;
|
|
1172
|
+
modified?: string | Date | number | null;
|
|
1173
|
+
url: string;
|
|
1174
|
+
usageCount: number;
|
|
1175
|
+
}
|
|
1084
1176
|
export interface Batch {
|
|
1085
1177
|
accountId: string;
|
|
1086
1178
|
appAccountId?: string | null;
|
|
@@ -2289,8 +2381,8 @@ export interface PrintStickerTemplate {
|
|
|
2289
2381
|
previewImage?: string | null;
|
|
2290
2382
|
printStickerTemplateId: string;
|
|
2291
2383
|
serializedFabric: NestedKeyValueObject;
|
|
2292
|
-
stickerShape
|
|
2293
|
-
stickerSize
|
|
2384
|
+
stickerShape?: StickerShape;
|
|
2385
|
+
stickerSize?: Array<any>;
|
|
2294
2386
|
}
|
|
2295
2387
|
export interface PrintStickerTemplateByName {
|
|
2296
2388
|
_prefix?: string;
|
|
@@ -2418,6 +2510,19 @@ export interface QrCode {
|
|
|
2418
2510
|
validFrom?: string | Date | number | null;
|
|
2419
2511
|
validTo?: string | Date | number | null;
|
|
2420
2512
|
}
|
|
2513
|
+
export interface QrCodeByIntent {
|
|
2514
|
+
_prefix?: string;
|
|
2515
|
+
accountId: string;
|
|
2516
|
+
appAccountId?: string | null;
|
|
2517
|
+
assetId: string;
|
|
2518
|
+
batchId?: string | null;
|
|
2519
|
+
created?: string | Date | number | null;
|
|
2520
|
+
intent: string;
|
|
2521
|
+
modified?: string | Date | number | null;
|
|
2522
|
+
projectId: string;
|
|
2523
|
+
qrCodeId: string;
|
|
2524
|
+
timestamp: string | Date | number;
|
|
2525
|
+
}
|
|
2421
2526
|
export interface QrCodeImage {
|
|
2422
2527
|
data: string;
|
|
2423
2528
|
options?: QrCodeImageOptions;
|
|
@@ -2601,6 +2706,16 @@ export interface ResponseQrCode {
|
|
|
2601
2706
|
validFrom?: string | Date | number | null;
|
|
2602
2707
|
validTo?: string | Date | number | null;
|
|
2603
2708
|
}
|
|
2709
|
+
export interface S3Image {
|
|
2710
|
+
accountId: string;
|
|
2711
|
+
appAccountId?: string | null;
|
|
2712
|
+
created?: string | Date | number | null;
|
|
2713
|
+
imageId: string;
|
|
2714
|
+
internalUrl: string;
|
|
2715
|
+
modified?: string | Date | number | null;
|
|
2716
|
+
s3Key: string;
|
|
2717
|
+
url: string;
|
|
2718
|
+
}
|
|
2604
2719
|
export interface Scan {
|
|
2605
2720
|
assetId: string;
|
|
2606
2721
|
assetName: string;
|
|
@@ -2758,6 +2873,49 @@ export interface TemporaryCode {
|
|
|
2758
2873
|
phoneNumber?: string | null;
|
|
2759
2874
|
status?: string;
|
|
2760
2875
|
}
|
|
2876
|
+
export interface URLSafety {
|
|
2877
|
+
created?: string | Date | number | null;
|
|
2878
|
+
expiresAt?: string | Date | number | null;
|
|
2879
|
+
isBlacklisted?: boolean;
|
|
2880
|
+
isThreat?: boolean;
|
|
2881
|
+
modified?: string | Date | number | null;
|
|
2882
|
+
threatTypes?: Array<any> | null;
|
|
2883
|
+
timesChecked: number;
|
|
2884
|
+
url: string;
|
|
2885
|
+
}
|
|
2886
|
+
export interface URLSafetyByCreated {
|
|
2887
|
+
_GLOBAL: string;
|
|
2888
|
+
_created: string | Date | number;
|
|
2889
|
+
_prefix?: string;
|
|
2890
|
+
created?: string | Date | number | null;
|
|
2891
|
+
modified?: string | Date | number | null;
|
|
2892
|
+
url: string;
|
|
2893
|
+
}
|
|
2894
|
+
export interface URLSafetyByModified {
|
|
2895
|
+
_GLOBAL: string;
|
|
2896
|
+
_modified: string | Date | number;
|
|
2897
|
+
_prefix?: string;
|
|
2898
|
+
created?: string | Date | number | null;
|
|
2899
|
+
modified?: string | Date | number | null;
|
|
2900
|
+
url: string;
|
|
2901
|
+
}
|
|
2902
|
+
export interface URLSafetyByTimesChecked {
|
|
2903
|
+
_GLOBAL: string;
|
|
2904
|
+
_modified: string | Date | number;
|
|
2905
|
+
_prefix?: string;
|
|
2906
|
+
created?: string | Date | number | null;
|
|
2907
|
+
modified?: string | Date | number | null;
|
|
2908
|
+
timesChecked: number;
|
|
2909
|
+
url: string;
|
|
2910
|
+
}
|
|
2911
|
+
export interface URLSafetyByUrl {
|
|
2912
|
+
_GLOBAL: string;
|
|
2913
|
+
_modified: string | Date | number;
|
|
2914
|
+
_prefix?: string;
|
|
2915
|
+
created?: string | Date | number | null;
|
|
2916
|
+
modified?: string | Date | number | null;
|
|
2917
|
+
url: string;
|
|
2918
|
+
}
|
|
2761
2919
|
export interface User {
|
|
2762
2920
|
created?: string | Date | number | null;
|
|
2763
2921
|
email: string;
|
|
@@ -2787,6 +2945,7 @@ export interface UserMedia {
|
|
|
2787
2945
|
accountId: string;
|
|
2788
2946
|
appAccountId?: string | null;
|
|
2789
2947
|
assetId?: string | null;
|
|
2948
|
+
category?: string | null;
|
|
2790
2949
|
containsVirus?: boolean | null;
|
|
2791
2950
|
created?: string | Date | number | null;
|
|
2792
2951
|
expiresAt?: string | Date | number | null;
|
|
@@ -2794,7 +2953,7 @@ export interface UserMedia {
|
|
|
2794
2953
|
lastScannedAt?: string | Date | number | null;
|
|
2795
2954
|
mediaId: string;
|
|
2796
2955
|
modified?: string | Date | number | null;
|
|
2797
|
-
name
|
|
2956
|
+
name?: string | null;
|
|
2798
2957
|
projectId?: string | null;
|
|
2799
2958
|
scanId?: string | null;
|
|
2800
2959
|
size?: number | null;
|
|
@@ -2920,6 +3079,16 @@ export interface CreateAssetTypeByAccountIdResponseBody {
|
|
|
2920
3079
|
accountId: string;
|
|
2921
3080
|
assetType: AssetType;
|
|
2922
3081
|
}
|
|
3082
|
+
export interface CreateImageUploadPresignedUrlPathParameters {
|
|
3083
|
+
accountId: string;
|
|
3084
|
+
}
|
|
3085
|
+
export interface CreateImageUploadPresignedUrlRequestBody {
|
|
3086
|
+
imageContentType: string;
|
|
3087
|
+
}
|
|
3088
|
+
export interface CreateImageUploadPresignedUrlResponseBody {
|
|
3089
|
+
image: S3Image;
|
|
3090
|
+
presignedUrl: string;
|
|
3091
|
+
}
|
|
2923
3092
|
export interface CreateInvitationByAccountIdPathParameters {
|
|
2924
3093
|
accountId: string;
|
|
2925
3094
|
}
|
|
@@ -3055,9 +3224,12 @@ export interface CreateUserMediaPresignedUrlByAccountIdPathParameters {
|
|
|
3055
3224
|
export interface CreateUserMediaPresignedUrlByAccountIdRequestBody {
|
|
3056
3225
|
allowExpiry?: boolean;
|
|
3057
3226
|
assetId?: string | null;
|
|
3227
|
+
category?: string | null;
|
|
3058
3228
|
fileType: UserMediaFileTypes;
|
|
3229
|
+
name?: string | null;
|
|
3059
3230
|
projectId?: string | null;
|
|
3060
3231
|
scanId?: string | null;
|
|
3232
|
+
subFolder?: string | null;
|
|
3061
3233
|
}
|
|
3062
3234
|
export interface CreateUserMediaPresignedUrlByAccountIdResponseBody {
|
|
3063
3235
|
presignedUrl: string;
|
|
@@ -3566,6 +3738,7 @@ export interface GetUserMediasByAccountIdPathParameters {
|
|
|
3566
3738
|
}
|
|
3567
3739
|
export interface GetUserMediasByAccountIdQueryStringParameters {
|
|
3568
3740
|
ascending?: boolean | null;
|
|
3741
|
+
category?: string | null;
|
|
3569
3742
|
fileType?: string | null;
|
|
3570
3743
|
lastKey?: string | null;
|
|
3571
3744
|
limit?: number | null;
|
|
@@ -4194,6 +4367,7 @@ export interface GetUserMediasByAssetIdPathParameters {
|
|
|
4194
4367
|
}
|
|
4195
4368
|
export interface GetUserMediasByAssetIdQueryStringParameters {
|
|
4196
4369
|
ascending?: boolean | null;
|
|
4370
|
+
category?: string | null;
|
|
4197
4371
|
fileType?: string | null;
|
|
4198
4372
|
lastKey?: string | null;
|
|
4199
4373
|
limit?: number | null;
|
|
@@ -5104,6 +5278,7 @@ export interface GetUserMediasByProjectIdPathParameters {
|
|
|
5104
5278
|
}
|
|
5105
5279
|
export interface GetUserMediasByProjectIdQueryStringParameters {
|
|
5106
5280
|
ascending?: boolean | null;
|
|
5281
|
+
category?: string | null;
|
|
5107
5282
|
fileType?: string | null;
|
|
5108
5283
|
lastKey?: string | null;
|
|
5109
5284
|
limit?: number | null;
|
|
@@ -5672,6 +5847,9 @@ export declare class CreateAppRequest extends RequestPost<CreateAppPathParameter
|
|
|
5672
5847
|
export declare class CreateAssetTypeByAccountIdRequest extends RequestPost<CreateAssetTypeByAccountIdPathParameters, undefined, CreateAssetTypeByAccountIdRequestBody, CreateAssetTypeByAccountIdResponseBody> {
|
|
5673
5848
|
routeSegments?: RequestRouteSegment[];
|
|
5674
5849
|
}
|
|
5850
|
+
export declare class CreateImageUploadPresignedUrlRequest extends RequestPost<CreateImageUploadPresignedUrlPathParameters, undefined, CreateImageUploadPresignedUrlRequestBody, CreateImageUploadPresignedUrlResponseBody> {
|
|
5851
|
+
routeSegments?: RequestRouteSegment[];
|
|
5852
|
+
}
|
|
5675
5853
|
export declare class CreateInvitationByAccountIdRequest extends RequestPost<CreateInvitationByAccountIdPathParameters, undefined, CreateInvitationByAccountIdRequestBody, CreateInvitationByAccountIdResponseBody> {
|
|
5676
5854
|
routeSegments?: RequestRouteSegment[];
|
|
5677
5855
|
}
|
|
@@ -6344,6 +6522,9 @@ export declare class SdkAccountAssettypesResources extends Resources {
|
|
|
6344
6522
|
create(requestBody: CreateAssetTypeByAccountIdRequestBody, options?: any): Promise<CreateAssetTypeByAccountIdResponseBody>;
|
|
6345
6523
|
get(queryStringParameters: GetAssetTypesByAccountIdQueryStringParameters, options?: any): Promise<GetAssetTypesByAccountIdResponseBody>;
|
|
6346
6524
|
}
|
|
6525
|
+
export declare class SdkAccountImageUploadResources extends Resources {
|
|
6526
|
+
create(requestBody: CreateImageUploadPresignedUrlRequestBody, options?: any): Promise<CreateImageUploadPresignedUrlResponseBody>;
|
|
6527
|
+
}
|
|
6347
6528
|
export declare class SdkAccountInvitationsResources extends Resources {
|
|
6348
6529
|
create(requestBody: CreateInvitationByAccountIdRequestBody, options?: any): Promise<CreateInvitationByAccountIdResponseBody>;
|
|
6349
6530
|
}
|
|
@@ -6488,6 +6669,7 @@ export declare class SdkAccountResource extends Resource {
|
|
|
6488
6669
|
apikeys(): SdkAccountApikeysResources;
|
|
6489
6670
|
apps(): SdkAccountAppsResources;
|
|
6490
6671
|
assettypes(): SdkAccountAssettypesResources;
|
|
6672
|
+
imageUpload(): SdkAccountImageUploadResources;
|
|
6491
6673
|
invitations(): SdkAccountInvitationsResources;
|
|
6492
6674
|
invitationsBatch(): SdkAccountInvitationsBatchResources;
|
|
6493
6675
|
locations(): SdkAccountLocationsResources;
|