@openscreen/internal-sdk 1.7.4 → 1.7.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openscreen/internal-sdk",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Openscreen Software Development Kit (SDK)",
5
5
  "keywords": [
6
6
  "qr",
package/typings/sdk.d.ts CHANGED
@@ -793,6 +793,7 @@ export interface Asset {
793
793
  state?: string | null;
794
794
  staticQrCodeCount: number;
795
795
  thumbnails?: Array<any> | null;
796
+ userMedia?: UserMedia[] | null;
796
797
  }
797
798
  export interface AssetByAssetTypeNameAssetName {
798
799
  _prefix?: string;
@@ -1028,6 +1029,7 @@ export interface AssetHistory {
1028
1029
  state?: string | null;
1029
1030
  staticQrCodeCount?: number | null;
1030
1031
  thumbnails?: Array<any> | null;
1032
+ userMedia?: UserMedia[] | null;
1031
1033
  }
1032
1034
  export interface AssetType {
1033
1035
  accountId: string;
@@ -2176,10 +2178,9 @@ export interface PrintJob {
2176
2178
  outputUrl?: string | null;
2177
2179
  outputUrls?: Array<any>;
2178
2180
  parentJobId?: string | null;
2179
- printPageTemplate?: PrintPageTemplate | null;
2180
- printPageTemplateId?: string | null;
2181
- printStickerTemplate?: PrintStickerTemplate | null;
2182
- printStickerTemplateId?: string | null;
2181
+ printOptions?: PrintOptions | null;
2182
+ printPageTemplateName?: string | null;
2183
+ printStickerTemplateName?: string | null;
2183
2184
  progress?: number | null;
2184
2185
  projectId?: string | null;
2185
2186
  sortField?: QrCodeSortingTypes | null;
@@ -2242,7 +2243,7 @@ export interface PrintPageTemplate {
2242
2243
  horizontalMargin?: number | null;
2243
2244
  horizontalPadding?: number | null;
2244
2245
  modified?: string | Date | number | null;
2245
- name: string;
2246
+ name?: string | null;
2246
2247
  numberOfColumns?: number | null;
2247
2248
  numberOfRows?: number | null;
2248
2249
  orientation?: PrintOrientation;
@@ -2551,6 +2552,7 @@ export interface ResponseAsset {
2551
2552
  lastScanLocationCoordinates?: string | null;
2552
2553
  lastScanTime?: string | Date | number | null;
2553
2554
  locationId?: string | null;
2555
+ mediaIds?: Array<any>;
2554
2556
  modified?: string | Date | number | null;
2555
2557
  name: string;
2556
2558
  parentAssetId?: string | null;
@@ -2561,6 +2563,7 @@ export interface ResponseAsset {
2561
2563
  state?: string | null;
2562
2564
  staticQrCodeCount: number;
2563
2565
  thumbnails?: Array<any> | null;
2566
+ userMedia?: UserMedia[] | null;
2564
2567
  }
2565
2568
  export interface ResponseBodyUser {
2566
2569
  created: string | Date | number;
@@ -2960,7 +2963,7 @@ export interface CreatePrintPageTemplateByAccountIdRequestBody {
2960
2963
  horizontalMargin?: number | null;
2961
2964
  horizontalPadding?: number | null;
2962
2965
  modified?: string | Date | number | null;
2963
- name: string;
2966
+ name?: string | null;
2964
2967
  numberOfColumns?: number | null;
2965
2968
  numberOfRows?: number | null;
2966
2969
  orientation?: PrintOrientation;
@@ -4045,6 +4048,7 @@ export interface GetAssetQueryStringParameters {
4045
4048
  foregroundGradientRotation?: number | null;
4046
4049
  foregroundGradientType?: QrCodeGradientTypes | null;
4047
4050
  format?: QrCodeType | null;
4051
+ getMedia?: boolean;
4048
4052
  lightColor?: string | null;
4049
4053
  logo?: string | null;
4050
4054
  logoMargin?: number | null;
@@ -5242,6 +5246,9 @@ export interface CreateContactByScanIdResponseBody {
5242
5246
  export interface GetScanPathParameters {
5243
5247
  scanId: string;
5244
5248
  }
5249
+ export interface GetScanQueryStringParameters {
5250
+ getMedia?: boolean;
5251
+ }
5245
5252
  export interface GetScanResponseBody {
5246
5253
  asset: Asset;
5247
5254
  assetType?: AssetType | null;
@@ -5332,7 +5339,7 @@ export interface UpdatePrintPageTemplateRequestBody {
5332
5339
  horizontalMargin?: number | null;
5333
5340
  horizontalPadding?: number | null;
5334
5341
  modified?: string | Date | number | null;
5335
- name: string;
5342
+ name?: string | null;
5336
5343
  numberOfColumns?: number | null;
5337
5344
  numberOfRows?: number | null;
5338
5345
  orientation: PrintOrientation;
@@ -6171,7 +6178,7 @@ export declare class UpdateQrCodeRequest extends RequestPatch<UpdateQrCodePathPa
6171
6178
  export declare class CreateContactByScanIdRequest extends RequestPost<CreateContactByScanIdPathParameters, undefined, CreateContactByScanIdRequestBody, CreateContactByScanIdResponseBody> {
6172
6179
  routeSegments?: RequestRouteSegment[];
6173
6180
  }
6174
- export declare class GetScanRequest extends RequestGet<GetScanPathParameters, undefined, GetScanResponseBody> {
6181
+ export declare class GetScanRequest extends RequestGet<GetScanPathParameters, GetScanQueryStringParameters, GetScanResponseBody> {
6175
6182
  routeSegments?: RequestRouteSegment[];
6176
6183
  }
6177
6184
  export declare class SaveGeolocationByScanIdRequest extends RequestPatch<SaveGeolocationByScanIdPathParameters, undefined, SaveGeolocationByScanIdRequestBody, undefined> {
@@ -6739,7 +6746,7 @@ export declare class SdkProjectSmsTemplatesResources extends Resources {
6739
6746
  create(requestBody: CreateSmsTemplateByProjectIdRequestBody, options?: any): Promise<CreateSmsTemplateByProjectIdResponseBody>;
6740
6747
  get(queryStringParameters: GetSmsTemplatesByProjectIdQueryStringParameters, options?: any): Promise<GetSmsTemplatesByProjectIdResponseBody>;
6741
6748
  }
6742
- export declare class SdkProjectTemplatedPrintResources extends Resources {
6749
+ export declare class SdkProjectPrintJobsResources extends Resources {
6743
6750
  create(requestBody: CreateTemplatedPrintJobByProjectIdRequestBody, options?: any): Promise<CreateTemplatedPrintJobByProjectIdResponseBody>;
6744
6751
  }
6745
6752
  export declare class SdkProjectTemplatedPrintPreviewResources extends Resources {
@@ -6809,7 +6816,7 @@ export declare class SdkProjectResource extends Resource {
6809
6816
  qrCodes(): SdkProjectQrCodesResources;
6810
6817
  selfqueueprint(): SdkProjectSelfqueueprintResources;
6811
6818
  smsTemplates(): SdkProjectSmsTemplatesResources;
6812
- templatedPrint(): SdkProjectTemplatedPrintResources;
6819
+ printJobs(): SdkProjectPrintJobsResources;
6813
6820
  templatedPrintPreview(): SdkProjectTemplatedPrintPreviewResources;
6814
6821
  smsTemplate(smsTemplateName: string): SdkProjectSmsTemplateResource;
6815
6822
  advancedAssetsReport(): SdkProjectAdvancedAssetsReportResources;
@@ -6858,7 +6865,7 @@ export declare class SdkScanResource extends Resource {
6858
6865
  email(): SdkScanEmailResources;
6859
6866
  sms(): SdkScanSmsResources;
6860
6867
  customAttribute(): SdkScanCustomAttributeResources;
6861
- get(options?: any): Promise<GetScanResponseBody>;
6868
+ get(queryStringParameters: GetScanQueryStringParameters, options?: any): Promise<GetScanResponseBody>;
6862
6869
  update(requestBody: SaveGeolocationByScanIdRequestBody, options?: any): Promise<any>;
6863
6870
  }
6864
6871
  export declare class SdkPrintPageTemplateResource extends Resource {