Attachments
albert.resources.attachments
AttachmentCategory
Attributes:
| Name | Type | Description |
|---|---|---|
OTHER |
Other. |
|
SDS |
Safety Data Sheet. |
|
LABEL |
Label. |
|
SCRIPT |
Script. |
|
ALLERGEN |
Allergen Statement. |
|
ANIMAL_DERIVED |
Animal-Derived Materials Declaration. |
|
BMR |
Batch Manufacturing Record. |
|
BROCHURE |
Brochure. |
|
CHANGE_NOTIFICATION |
Change Notification. |
|
COA |
Certificate of Analysis. |
|
EPD |
Environmental Product Declaration. |
|
FOOD_CONTACT |
Food Contact Compliance Letter. |
|
MFR |
Master Formula Record. |
|
NDA |
NDA / Confidentiality Agreement. |
|
PATENT |
Patent. |
|
PCF |
Product Carbon Footprint. |
|
RELIGIOUS_ORGANIC_CERT |
Halal / Kosher / Organic Certification. |
|
RSL |
RSL Compliance Letter. |
|
SUPPLIER_QUESTIONNAIRE |
Supplier Questionnaire. |
|
TDS |
Technical Data Sheet. |
RELIGIOUS_ORGANIC_CERT
Halal / Kosher / Organic Certification.
AttachmentMetadata
Bases: BaseAlbertModel
Show JSON schema:
{
"$defs": {
"EntityLinkWithName": {
"description": "EntityLink that includes the name field in serialization.",
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Category"
}
},
"required": [
"id"
],
"title": "EntityLinkWithName",
"type": "object"
},
"HazardStatement": {
"description": "Model representing a hazard statement.",
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Category"
}
},
"required": [
"id"
],
"title": "HazardStatement",
"type": "object"
},
"HazardSymbol": {
"description": "Model representing a hazard symbol.",
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Category"
},
"status": {
"anyOf": [
{
"$ref": "#/$defs/HazardSymbolStatus"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"id"
],
"title": "HazardSymbol",
"type": "object"
},
"HazardSymbolStatus": {
"description": "The status of a HazardSymbol.\n\nAttributes\n----------\nACTIVE : str\n The hazard symbol is fully operational and visible in normal operations.\nINACTIVE : str\n The hazard symbol is hidden from normal operations and disabled from use.\nADDED_MANUALLY : str\n The hazard symbol was manually chosen.",
"enum": [
"active",
"inactive",
"Added Manually"
],
"title": "HazardSymbolStatus",
"type": "string"
}
},
"properties": {
"Symbols": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/HazardSymbol"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Symbols"
},
"unNumber": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Unnumber"
},
"storageClass": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Storageclass"
},
"storageClassName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Storageclassname"
},
"hazardStatement": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/HazardStatement"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Hazardstatement"
},
"jurisdiction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Jurisdiction"
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Language"
},
"jurisdictionCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Jurisdictioncode"
},
"languageCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Languagecode"
},
"wgk": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Wgk"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"extensions": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/EntityLinkWithName"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Extensions"
}
},
"title": "AttachmentMetadata",
"type": "object"
}
Fields:
-
symbols(list[HazardSymbol] | None) -
un_number(str | None) -
storage_class(str | None) -
storage_class_name(str | None) -
hazard_statement(list[HazardStatement] | None) -
jurisdiction(str | None) -
language(str | None) -
jurisdiction_code(str | None) -
language_code(str | None) -
wgk(str | None) -
description(str | None) -
extensions(list[EntityLinkWithName] | None)
Attachment
Bases: BaseResource
Used for attching files to Notes on Tasks, Projects, Inventory, etc. Key should match File.name
Attributes:
| Name | Type | Description |
|---|---|---|
id |
AttachmentId | None
|
|
parent_id |
str
|
|
name |
str
|
|
key |
str
|
|
namespace |
str
|
|
category |
AttachmentCategory | str | None
|
|
revision_date |
date | None
|
|
file_size |
int | None
|
|
mime_type |
str | None
|
|
signed_url |
str | None
|
|
signed_url_v2 |
str | None
|
|
metadata |
AttachmentMetadata | None
|
|
file_size
file_size: int | None = Field(
default=None,
alias="fileSize",
exclude=True,
frozen=True,
)
mime_type
mime_type: str | None = Field(
default=None,
alias="mimeType",
exclude=True,
frozen=True,
)
signed_url
signed_url: str | None = Field(
default=None,
alias="signedURL",
exclude=True,
frozen=True,
)
signed_url_v2
signed_url_v2: str | None = Field(
default=None,
alias="signedURLV2",
exclude=True,
frozen=True,
)