Repository navigation
Expand file tree
/
Copy pathasset.ts
More file actions
79 lines (73 loc) · 2.35 KB
/
Copy pathasset.ts
File metadata and controls
79 lines (73 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* tslint:disable */
/* eslint-disable */
/**
* Copyright (c) 2026 Apple Inc. Licensed under MIT License.
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { AssetEligibility } from './asset-eligibility';
// May contain unused imports in some cases
// @ts-ignore
import type { AssetImage } from './asset-image';
// May contain unused imports in some cases
// @ts-ignore
import type { AssetType } from './asset-type';
// May contain unused imports in some cases
// @ts-ignore
import type { PromotedObjectType } from './promoted-object-type';
/**
* Unified asset entity containing product-agnostic asset metadata and references
*/
export interface Asset {
/**
* Internal UAS identifier (read-only)
*/
'id'?: string | null;
/**
* User-facing asset name or description
*/
'name'?: string | null;
'assetType'?: AssetType;
/**
* Asset identifier from provider system (e.g., App Store Connect asset ID)
*/
'providerAssetId'?: string | null;
/**
* Generic identifier for promoted object (e.g., adamId for apps, brandId for maps)
*/
'promotedObjectId'?: string | null;
'promotedObjectType'?: PromotedObjectType;
/**
* Provider-specific metadata. Structure varies by provider.
*/
'providerAssetMetadata'?: { [key: string]: any; } | null;
/**
* Type-specific asset details.
*/
'assetDetails'?: AssetImage | null;
/**
* Parent asset ID if this asset is a variant (crop, resize). Null for original assets.
*/
'parentAssetId'?: string | null;
/**
* Asset variant identifiers (e.g., different sizes, formats, or localizations)
*/
'variantIds'?: Array<string> | null;
/**
* Asset creation timestamp (ISO-8601 format, read-only)
*/
'creationTime'?: string | null;
/**
* Last modification timestamp (ISO-8601 format, read-only)
*/
'modificationTime'?: string | null;
/**
* Soft delete flag indicating whether the asset has been deleted (read-only). Deleted assets are excluded from query results unless an explicit `deleted` filter is supplied.
*/
'deleted'?: boolean | null;
'eligibility'?: AssetEligibility;
}