@openscreen/internal-sdk 1.7.3 → 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.3",
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;
@@ -4751,6 +4755,7 @@ export interface CreateTemplatedPrintJobByProjectIdRequestBody {
4751
4755
  name?: string | null;
4752
4756
  printOptions: PrintOptions;
4753
4757
  serializedFabric: NestedKeyValueObject;
4758
+ stylingTemplateId?: string | null;
4754
4759
  }
4755
4760
  export interface CreateTemplatedPrintJobByProjectIdResponseBody {
4756
4761
  fileExpiry: string | Date | number;
@@ -5241,6 +5246,9 @@ export interface CreateContactByScanIdResponseBody {
5241
5246
  export interface GetScanPathParameters {
5242
5247
  scanId: string;
5243
5248
  }
5249
+ export interface GetScanQueryStringParameters {
5250
+ getMedia?: boolean;
5251
+ }
5244
5252
  export interface GetScanResponseBody {
5245
5253
  asset: Asset;
5246
5254
  assetType?: AssetType | null;
@@ -5331,7 +5339,7 @@ export interface UpdatePrintPageTemplateRequestBody {
5331
5339
  horizontalMargin?: number | null;
5332
5340
  horizontalPadding?: number | null;
5333
5341
  modified?: string | Date | number | null;
5334
- name: string;
5342
+ name?: string | null;
5335
5343
  numberOfColumns?: number | null;
5336
5344
  numberOfRows?: number | null;
5337
5345
  orientation: PrintOrientation;
@@ -6170,7 +6178,7 @@ export declare class UpdateQrCodeRequest extends RequestPatch<UpdateQrCodePathPa
6170
6178
  export declare class CreateContactByScanIdRequest extends RequestPost<CreateContactByScanIdPathParameters, undefined, CreateContactByScanIdRequestBody, CreateContactByScanIdResponseBody> {
6171
6179
  routeSegments?: RequestRouteSegment[];
6172
6180
  }
6173
- export declare class GetScanRequest extends RequestGet<GetScanPathParameters, undefined, GetScanResponseBody> {
6181
+ export declare class GetScanRequest extends RequestGet<GetScanPathParameters, GetScanQueryStringParameters, GetScanResponseBody> {
6174
6182
  routeSegments?: RequestRouteSegment[];
6175
6183
  }
6176
6184
  export declare class SaveGeolocationByScanIdRequest extends RequestPatch<SaveGeolocationByScanIdPathParameters, undefined, SaveGeolocationByScanIdRequestBody, undefined> {
@@ -6738,7 +6746,7 @@ export declare class SdkProjectSmsTemplatesResources extends Resources {
6738
6746
  create(requestBody: CreateSmsTemplateByProjectIdRequestBody, options?: any): Promise<CreateSmsTemplateByProjectIdResponseBody>;
6739
6747
  get(queryStringParameters: GetSmsTemplatesByProjectIdQueryStringParameters, options?: any): Promise<GetSmsTemplatesByProjectIdResponseBody>;
6740
6748
  }
6741
- export declare class SdkProjectTemplatedPrintResources extends Resources {
6749
+ export declare class SdkProjectPrintJobsResources extends Resources {
6742
6750
  create(requestBody: CreateTemplatedPrintJobByProjectIdRequestBody, options?: any): Promise<CreateTemplatedPrintJobByProjectIdResponseBody>;
6743
6751
  }
6744
6752
  export declare class SdkProjectTemplatedPrintPreviewResources extends Resources {
@@ -6808,7 +6816,7 @@ export declare class SdkProjectResource extends Resource {
6808
6816
  qrCodes(): SdkProjectQrCodesResources;
6809
6817
  selfqueueprint(): SdkProjectSelfqueueprintResources;
6810
6818
  smsTemplates(): SdkProjectSmsTemplatesResources;
6811
- templatedPrint(): SdkProjectTemplatedPrintResources;
6819
+ printJobs(): SdkProjectPrintJobsResources;
6812
6820
  templatedPrintPreview(): SdkProjectTemplatedPrintPreviewResources;
6813
6821
  smsTemplate(smsTemplateName: string): SdkProjectSmsTemplateResource;
6814
6822
  advancedAssetsReport(): SdkProjectAdvancedAssetsReportResources;
@@ -6857,7 +6865,7 @@ export declare class SdkScanResource extends Resource {
6857
6865
  email(): SdkScanEmailResources;
6858
6866
  sms(): SdkScanSmsResources;
6859
6867
  customAttribute(): SdkScanCustomAttributeResources;
6860
- get(options?: any): Promise<GetScanResponseBody>;
6868
+ get(queryStringParameters: GetScanQueryStringParameters, options?: any): Promise<GetScanResponseBody>;
6861
6869
  update(requestBody: SaveGeolocationByScanIdRequestBody, options?: any): Promise<any>;
6862
6870
  }
6863
6871
  export declare class SdkPrintPageTemplateResource extends Resource {