@openscreen/internal-sdk 1.8.97 → 1.8.98
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 +2 -2
- package/typings/sdk.d.ts +52 -3
- package/typings/sdk.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openscreen/internal-sdk",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.98",
|
|
4
4
|
"description": "Openscreen Software Development Kit (SDK)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"qr",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"axios": "0.21.2",
|
|
46
46
|
"moment": "2.29.4",
|
|
47
|
-
"caniuse-lite": "
|
|
47
|
+
"caniuse-lite": "1.0.30001695"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/jest": "27.0.0",
|
package/typings/sdk.d.ts
CHANGED
|
@@ -2780,6 +2780,12 @@ export interface QrCodeImageOptionsNoDefaults {
|
|
|
2780
2780
|
version?: number | null;
|
|
2781
2781
|
width?: number | null;
|
|
2782
2782
|
}
|
|
2783
|
+
export interface QrCodeLink {
|
|
2784
|
+
created?: string | Date | number | null;
|
|
2785
|
+
modified?: string | Date | number | null;
|
|
2786
|
+
qrCodeId: string;
|
|
2787
|
+
qrCodeLink: string;
|
|
2788
|
+
}
|
|
2783
2789
|
export interface QrCodeLocator {
|
|
2784
2790
|
created?: string | Date | number | null;
|
|
2785
2791
|
locatorKey: string;
|
|
@@ -2949,6 +2955,7 @@ export interface ResponseQrCode {
|
|
|
2949
2955
|
name?: string | null;
|
|
2950
2956
|
projectId?: string | null;
|
|
2951
2957
|
qrCodeId: string;
|
|
2958
|
+
qrCodeLinks?: QrCodeLink[] | null;
|
|
2952
2959
|
scanCount: number;
|
|
2953
2960
|
serializedLocatorKey?: string | null;
|
|
2954
2961
|
status?: QrCodeStatus;
|
|
@@ -4894,6 +4901,10 @@ export interface GetNeighborScanCountByAssetIdPathParameters {
|
|
|
4894
4901
|
assetId: string;
|
|
4895
4902
|
neighborId: string;
|
|
4896
4903
|
}
|
|
4904
|
+
export interface GetNeighborScanCountByAssetIdQueryStringParameters {
|
|
4905
|
+
from?: string | Date | number | null;
|
|
4906
|
+
to?: string | Date | number | null;
|
|
4907
|
+
}
|
|
4897
4908
|
export interface GetNeighborScanCountByAssetIdResponseBody {
|
|
4898
4909
|
scanCount: number;
|
|
4899
4910
|
}
|
|
@@ -5313,7 +5324,7 @@ export interface RetryCustomDomainPathParameters {
|
|
|
5313
5324
|
customDomain: string;
|
|
5314
5325
|
}
|
|
5315
5326
|
export interface RetryCustomDomainResponseBody {
|
|
5316
|
-
|
|
5327
|
+
accountDomain: AccountDomain;
|
|
5317
5328
|
}
|
|
5318
5329
|
export interface GetFilePathParameters {
|
|
5319
5330
|
fileId: string;
|
|
@@ -6061,12 +6072,31 @@ export interface UpdateQrCodeLogoByQrCodeLogoIdResponseBody {
|
|
|
6061
6072
|
qrCodeLogo: QrCodeLogo;
|
|
6062
6073
|
qrCodeLogoId: string;
|
|
6063
6074
|
}
|
|
6075
|
+
export interface CreateLinkByQrCodePathParameters {
|
|
6076
|
+
qrCodeId: string;
|
|
6077
|
+
}
|
|
6078
|
+
export interface CreateLinkByQrCodeRequestBody {
|
|
6079
|
+
qrCodeLink?: string | null;
|
|
6080
|
+
}
|
|
6081
|
+
export interface CreateLinkByQrCodeResponseBody {
|
|
6082
|
+
qrCodeLink: QrCodeLink;
|
|
6083
|
+
}
|
|
6084
|
+
export interface DeleteLinkByQrCodePathParameters {
|
|
6085
|
+
link: string;
|
|
6086
|
+
qrCodeId: string;
|
|
6087
|
+
}
|
|
6064
6088
|
export interface DeleteQrCodePathParameters {
|
|
6065
6089
|
qrCodeId: string;
|
|
6066
6090
|
}
|
|
6067
6091
|
export interface DeleteQrCodeResponseBody {
|
|
6068
6092
|
qrCode: QrCode;
|
|
6069
6093
|
}
|
|
6094
|
+
export interface GetLinksByQrCodePathParameters {
|
|
6095
|
+
qrCodeId: string;
|
|
6096
|
+
}
|
|
6097
|
+
export interface GetLinksByQrCodeResponseBody {
|
|
6098
|
+
qrCodeLinks: Array<any>;
|
|
6099
|
+
}
|
|
6070
6100
|
export interface GetQrCodePathParameters {
|
|
6071
6101
|
qrCodeId: string;
|
|
6072
6102
|
}
|
|
@@ -6117,6 +6147,7 @@ export interface GetQrCodeResponseBody extends ResponseQrCode {
|
|
|
6117
6147
|
name?: string | null;
|
|
6118
6148
|
projectId?: string | null;
|
|
6119
6149
|
qrCodeId: string;
|
|
6150
|
+
qrCodeLinks?: QrCodeLink[] | null;
|
|
6120
6151
|
scanCount: number;
|
|
6121
6152
|
serializedLocatorKey?: string | null;
|
|
6122
6153
|
status?: QrCodeStatus;
|
|
@@ -6959,7 +6990,7 @@ export declare class GetContactsByAssetIdRequest extends RequestGet<GetContactsB
|
|
|
6959
6990
|
export declare class GetExternalNeighborScanCountByAssetIdRequest extends RequestGet<GetExternalNeighborScanCountByAssetIdPathParameters, GetExternalNeighborScanCountByAssetIdQueryStringParameters, GetExternalNeighborScanCountByAssetIdResponseBody> {
|
|
6960
6991
|
routeSegments?: RequestRouteSegment[];
|
|
6961
6992
|
}
|
|
6962
|
-
export declare class GetNeighborScanCountByAssetIdRequest extends RequestGet<GetNeighborScanCountByAssetIdPathParameters,
|
|
6993
|
+
export declare class GetNeighborScanCountByAssetIdRequest extends RequestGet<GetNeighborScanCountByAssetIdPathParameters, GetNeighborScanCountByAssetIdQueryStringParameters, GetNeighborScanCountByAssetIdResponseBody> {
|
|
6963
6994
|
routeSegments?: RequestRouteSegment[];
|
|
6964
6995
|
}
|
|
6965
6996
|
export declare class GetNeighborsByAssetIdRequest extends RequestGet<GetNeighborsByAssetIdPathParameters, GetNeighborsByAssetIdQueryStringParameters, GetNeighborsByAssetIdResponseBody> {
|
|
@@ -7256,9 +7287,18 @@ export declare class GetQrCodeLogoByQrCodeLogoIdRequest extends RequestGet<GetQr
|
|
|
7256
7287
|
export declare class UpdateQrCodeLogoByQrCodeLogoIdRequest extends RequestPatch<UpdateQrCodeLogoByQrCodeLogoIdPathParameters, undefined, UpdateQrCodeLogoByQrCodeLogoIdRequestBody, UpdateQrCodeLogoByQrCodeLogoIdResponseBody> {
|
|
7257
7288
|
routeSegments?: RequestRouteSegment[];
|
|
7258
7289
|
}
|
|
7290
|
+
export declare class CreateLinkByQrCodeRequest extends RequestPost<CreateLinkByQrCodePathParameters, undefined, CreateLinkByQrCodeRequestBody, CreateLinkByQrCodeResponseBody> {
|
|
7291
|
+
routeSegments?: RequestRouteSegment[];
|
|
7292
|
+
}
|
|
7293
|
+
export declare class DeleteLinkByQrCodeRequest extends RequestDelete<DeleteLinkByQrCodePathParameters, undefined, undefined> {
|
|
7294
|
+
routeSegments?: RequestRouteSegment[];
|
|
7295
|
+
}
|
|
7259
7296
|
export declare class DeleteQrCodeRequest extends RequestDelete<DeleteQrCodePathParameters, undefined, DeleteQrCodeResponseBody> {
|
|
7260
7297
|
routeSegments?: RequestRouteSegment[];
|
|
7261
7298
|
}
|
|
7299
|
+
export declare class GetLinksByQrCodeRequest extends RequestGet<GetLinksByQrCodePathParameters, undefined, GetLinksByQrCodeResponseBody> {
|
|
7300
|
+
routeSegments?: RequestRouteSegment[];
|
|
7301
|
+
}
|
|
7262
7302
|
export declare class GetQrCodeRequest extends RequestGet<GetQrCodePathParameters, GetQrCodeQueryStringParameters, GetQrCodeResponseBody> {
|
|
7263
7303
|
routeSegments?: RequestRouteSegment[];
|
|
7264
7304
|
}
|
|
@@ -7763,7 +7803,7 @@ export declare class SdkAssetUrlResource extends Resource {
|
|
|
7763
7803
|
get(queryStringParameters: GetExternalNeighborScanCountByAssetIdQueryStringParameters, options?: any): Promise<GetExternalNeighborScanCountByAssetIdResponseBody>;
|
|
7764
7804
|
}
|
|
7765
7805
|
export declare class SdkAssetNeighborResource extends Resource {
|
|
7766
|
-
get(options?: any): Promise<GetNeighborScanCountByAssetIdResponseBody>;
|
|
7806
|
+
get(queryStringParameters: GetNeighborScanCountByAssetIdQueryStringParameters, options?: any): Promise<GetNeighborScanCountByAssetIdResponseBody>;
|
|
7767
7807
|
}
|
|
7768
7808
|
export declare class SdkAssetScansExportResources extends Resources {
|
|
7769
7809
|
create(requestBody: GetScanExportByAssetIdRequestBody, options?: any): Promise<GetScanExportByAssetIdResponseBody>;
|
|
@@ -8074,7 +8114,16 @@ export declare class SdkQrcodelogoResource extends Resource {
|
|
|
8074
8114
|
get(options?: any): Promise<GetQrCodeLogoByQrCodeLogoIdResponseBody>;
|
|
8075
8115
|
update(requestBody: UpdateQrCodeLogoByQrCodeLogoIdRequestBody, options?: any): Promise<UpdateQrCodeLogoByQrCodeLogoIdResponseBody>;
|
|
8076
8116
|
}
|
|
8117
|
+
export declare class SdkQrCodeLinksResources extends Resources {
|
|
8118
|
+
create(requestBody: CreateLinkByQrCodeRequestBody, options?: any): Promise<CreateLinkByQrCodeResponseBody>;
|
|
8119
|
+
get(options?: any): Promise<GetLinksByQrCodeResponseBody>;
|
|
8120
|
+
}
|
|
8121
|
+
export declare class SdkQrCodeLinkResource extends Resource {
|
|
8122
|
+
delete(options?: any): Promise<any>;
|
|
8123
|
+
}
|
|
8077
8124
|
export declare class SdkQrCodeResource extends Resource {
|
|
8125
|
+
links(): SdkQrCodeLinksResources;
|
|
8126
|
+
link(link: string): SdkQrCodeLinkResource;
|
|
8078
8127
|
delete(options?: any): Promise<DeleteQrCodeResponseBody>;
|
|
8079
8128
|
get(queryStringParameters: GetQrCodeQueryStringParameters, options?: any): Promise<GetQrCodeResponseBody>;
|
|
8080
8129
|
update(requestBody: UpdateQrCodeRequestBody, options?: any): Promise<UpdateQrCodeResponseBody>;
|