From 5c0ea2500f55a4a5b8607c4a3f0befcb3bdb21e4 Mon Sep 17 00:00:00 2001 From: iquirino Date: Wed, 5 Jul 2023 23:31:40 +0100 Subject: [PATCH] feat: Adjusting enum generation --- package.json | 5 +- scripts/generator/typescriptGenerator.ts | 4 +- src/types/generic/AnimationType.ts | 6 +- src/types/generic/BarcodeRenderEncoding.ts | 4 +- src/types/generic/BarcodeType.ts | 56 +++++++++---------- src/types/generic/DateFormat.ts | 22 ++++---- src/types/generic/GenericType.ts | 26 ++++----- .../MultipleDevicesAndHoldersAllowedStatus.ts | 14 ++--- src/types/generic/NfcConstraint.ts | 6 +- src/types/generic/PredefinedItem.ts | 10 ++-- src/types/generic/ScreenshotEligibility.ts | 6 +- src/types/generic/State.ts | 18 +++--- src/types/generic/TotpAlgorithm.ts | 4 +- src/types/generic/TransitOption.ts | 14 ++--- src/types/generic/ViewUnlockRequirement.ts | 6 +- src/types/retail/gift-card/AnimationType.ts | 6 +- .../retail/gift-card/BarcodeRenderEncoding.ts | 4 +- src/types/retail/gift-card/BarcodeType.ts | 56 +++++++++---------- src/types/retail/gift-card/DateFormat.ts | 22 ++++---- src/types/retail/gift-card/MessageType.ts | 10 ++-- .../MultipleDevicesAndHoldersAllowedStatus.ts | 14 ++--- src/types/retail/gift-card/NfcConstraint.ts | 6 +- src/types/retail/gift-card/PredefinedItem.ts | 10 ++-- src/types/retail/gift-card/ReviewStatus.ts | 18 +++--- .../retail/gift-card/ScreenshotEligibility.ts | 6 +- src/types/retail/gift-card/State.ts | 18 +++--- src/types/retail/gift-card/TotpAlgorithm.ts | 4 +- src/types/retail/gift-card/TransitOption.ts | 14 ++--- .../retail/gift-card/ViewUnlockRequirement.ts | 6 +- .../retail/loyalty-card/AnimationType.ts | 6 +- .../loyalty-card/BarcodeRenderEncoding.ts | 4 +- src/types/retail/loyalty-card/BarcodeType.ts | 56 +++++++++---------- src/types/retail/loyalty-card/DateFormat.ts | 22 ++++---- src/types/retail/loyalty-card/MessageType.ts | 10 ++-- .../MultipleDevicesAndHoldersAllowedStatus.ts | 14 ++--- .../retail/loyalty-card/NfcConstraint.ts | 6 +- .../retail/loyalty-card/PredefinedItem.ts | 10 ++-- src/types/retail/loyalty-card/ReviewStatus.ts | 18 +++--- .../loyalty-card/ScreenshotEligibility.ts | 6 +- .../retail/loyalty-card/SharedDataType.ts | 26 ++++----- src/types/retail/loyalty-card/State.ts | 18 +++--- .../retail/loyalty-card/TotpAlgorithm.ts | 4 +- .../retail/loyalty-card/TransitOption.ts | 14 ++--- .../loyalty-card/ViewUnlockRequirement.ts | 6 +- src/types/retail/offer/AnimationType.ts | 6 +- .../retail/offer/BarcodeRenderEncoding.ts | 4 +- src/types/retail/offer/BarcodeType.ts | 56 +++++++++---------- src/types/retail/offer/DateFormat.ts | 22 ++++---- src/types/retail/offer/MessageType.ts | 10 ++-- .../MultipleDevicesAndHoldersAllowedStatus.ts | 14 ++--- src/types/retail/offer/NfcConstraint.ts | 6 +- src/types/retail/offer/PredefinedItem.ts | 10 ++-- src/types/retail/offer/RedemptionChannel.ts | 18 +++--- src/types/retail/offer/ReviewStatus.ts | 18 +++--- .../retail/offer/ScreenshotEligibility.ts | 6 +- src/types/retail/offer/State.ts | 18 +++--- src/types/retail/offer/TotpAlgorithm.ts | 4 +- src/types/retail/offer/TransitOption.ts | 14 ++--- .../retail/offer/ViewUnlockRequirement.ts | 6 +- .../tickets/boarding-pass/AnimationType.ts | 6 +- .../boarding-pass/BarcodeRenderEncoding.ts | 4 +- .../tickets/boarding-pass/BarcodeType.ts | 56 +++++++++---------- .../tickets/boarding-pass/BoardingDoor.ts | 10 ++-- .../tickets/boarding-pass/BoardingPolicy.ts | 14 ++--- src/types/tickets/boarding-pass/DateFormat.ts | 22 ++++---- .../tickets/boarding-pass/FlightStatus.ts | 26 ++++----- .../tickets/boarding-pass/MessageType.ts | 10 ++-- .../MultipleDevicesAndHoldersAllowedStatus.ts | 14 ++--- .../tickets/boarding-pass/NfcConstraint.ts | 6 +- .../tickets/boarding-pass/PredefinedItem.ts | 10 ++-- .../tickets/boarding-pass/ReviewStatus.ts | 18 +++--- .../boarding-pass/ScreenshotEligibility.ts | 6 +- .../tickets/boarding-pass/SeatClassPolicy.ts | 18 +++--- src/types/tickets/boarding-pass/State.ts | 18 +++--- .../tickets/boarding-pass/TotpAlgorithm.ts | 4 +- .../tickets/boarding-pass/TransitOption.ts | 14 ++--- .../boarding-pass/ViewUnlockRequirement.ts | 6 +- src/types/tickets/event/AnimationType.ts | 6 +- .../tickets/event/BarcodeRenderEncoding.ts | 4 +- src/types/tickets/event/BarcodeType.ts | 56 +++++++++---------- .../tickets/event/ConfirmationCodeLabel.ts | 18 +++--- src/types/tickets/event/DateFormat.ts | 22 ++++---- src/types/tickets/event/DoorsOpenLabel.ts | 10 ++-- src/types/tickets/event/GateLabel.ts | 14 ++--- src/types/tickets/event/MessageType.ts | 10 ++-- .../MultipleDevicesAndHoldersAllowedStatus.ts | 14 ++--- src/types/tickets/event/NfcConstraint.ts | 6 +- src/types/tickets/event/PredefinedItem.ts | 10 ++-- src/types/tickets/event/ReviewStatus.ts | 18 +++--- src/types/tickets/event/RowLabel.ts | 6 +- .../tickets/event/ScreenshotEligibility.ts | 6 +- src/types/tickets/event/SeatLabel.ts | 6 +- src/types/tickets/event/SectionLabel.ts | 10 ++-- src/types/tickets/event/State.ts | 18 +++--- src/types/tickets/event/TotpAlgorithm.ts | 4 +- src/types/tickets/event/TransitOption.ts | 14 ++--- .../tickets/event/ViewUnlockRequirement.ts | 6 +- 97 files changed, 672 insertions(+), 675 deletions(-) diff --git a/package.json b/package.json index 503b8f8..098c9ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "google-wallet", - "version": "1.0.13", + "version": "1.0.14", "description": "", "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", @@ -32,8 +32,7 @@ "scripts": { "generate": "ts-node --esm scripts/generate.ts", "build": "make", - "prepack": "make", - "prepublishOnly": "npm run build" + "prepack": "make" }, "keywords": [], "author": "", diff --git a/scripts/generator/typescriptGenerator.ts b/scripts/generator/typescriptGenerator.ts index 9a04c12..27c5462 100644 --- a/scripts/generator/typescriptGenerator.ts +++ b/scripts/generator/typescriptGenerator.ts @@ -49,7 +49,5 @@ const generateEnum = (item: EnumItem) => { if (item.deprecated) doc.push("\t * @deprecated"); doc.push("\t */"); - return `${item.deprecated || cleanDescription ? doc.join("\r\n") + "\r\n" : ""}\t${ - item.name - },`; + return `${item.deprecated || cleanDescription ? doc.join("\r\n") + "\r\n" : ""}\t${item.name} = "${item.name}",`; }; diff --git a/src/types/generic/AnimationType.ts b/src/types/generic/AnimationType.ts index c6e73c8..36b6239 100644 --- a/src/types/generic/AnimationType.ts +++ b/src/types/generic/AnimationType.ts @@ -1,9 +1,9 @@ export enum AnimationTypeEnum { - ANIMATION_UNSPECIFIED, - FOIL_SHIMMER, + ANIMATION_UNSPECIFIED = "ANIMATION_UNSPECIFIED", + FOIL_SHIMMER = "FOIL_SHIMMER", /** * This item is deprecated! * @deprecated */ - foilShimmer, + foilShimmer = "foilShimmer", } diff --git a/src/types/generic/BarcodeRenderEncoding.ts b/src/types/generic/BarcodeRenderEncoding.ts index 60664f0..2c00b8a 100644 --- a/src/types/generic/BarcodeRenderEncoding.ts +++ b/src/types/generic/BarcodeRenderEncoding.ts @@ -1,4 +1,4 @@ export enum BarcodeRenderEncodingEnum { - RENDER_ENCODING_UNSPECIFIED, - UTF_8, + RENDER_ENCODING_UNSPECIFIED = "RENDER_ENCODING_UNSPECIFIED", + UTF_8 = "UTF_8", } diff --git a/src/types/generic/BarcodeType.ts b/src/types/generic/BarcodeType.ts index 5923ef4..88b548f 100644 --- a/src/types/generic/BarcodeType.ts +++ b/src/types/generic/BarcodeType.ts @@ -1,90 +1,90 @@ export enum BarcodeTypeEnum { - BARCODE_TYPE_UNSPECIFIED, - AZTEC, + BARCODE_TYPE_UNSPECIFIED = "BARCODE_TYPE_UNSPECIFIED", + AZTEC = "AZTEC", /** * This item is deprecated! * @deprecated */ - aztec, - CODE_39, + aztec = "aztec", + CODE_39 = "CODE_39", /** * This item is deprecated! * @deprecated */ - code39, - CODE_128, + code39 = "code39", + CODE_128 = "CODE_128", /** * This item is deprecated! * @deprecated */ - code128, - CODABAR, + code128 = "code128", + CODABAR = "CODABAR", /** * This item is deprecated! * @deprecated */ - codabar, - DATA_MATRIX, + codabar = "codabar", + DATA_MATRIX = "DATA_MATRIX", /** * This item is deprecated! * @deprecated */ - dataMatrix, - EAN_8, + dataMatrix = "dataMatrix", + EAN_8 = "EAN_8", /** * This item is deprecated! * @deprecated */ - ean8, - EAN_13, + ean8 = "ean8", + EAN_13 = "EAN_13", /** * This item is deprecated! * @deprecated */ - ean13, + ean13 = "ean13", /** * This item is deprecated! * @deprecated */ - EAN13, - ITF_14, + EAN13 = "EAN13", + ITF_14 = "ITF_14", /** * This item is deprecated! * @deprecated */ - itf14, - PDF_417, + itf14 = "itf14", + PDF_417 = "PDF_417", /** * This item is deprecated! * @deprecated */ - pdf417, + pdf417 = "pdf417", /** * This item is deprecated! * @deprecated */ - PDF417, - QR_CODE, + PDF417 = "PDF417", + QR_CODE = "QR_CODE", /** * This item is deprecated! * @deprecated */ - qrCode, + qrCode = "qrCode", /** * This item is deprecated! * @deprecated */ - qrcode, - UPC_A, + qrcode = "qrcode", + UPC_A = "UPC_A", /** * This item is deprecated! * @deprecated */ - upcA, - TEXT_ONLY, + upcA = "upcA", + TEXT_ONLY = "TEXT_ONLY", /** * This item is deprecated! * @deprecated */ - textOnly, + textOnly = "textOnly", } diff --git a/src/types/generic/DateFormat.ts b/src/types/generic/DateFormat.ts index b297940..a1b6b40 100644 --- a/src/types/generic/DateFormat.ts +++ b/src/types/generic/DateFormat.ts @@ -1,33 +1,33 @@ export enum DateFormatEnum { - DATE_FORMAT_UNSPECIFIED, - DATE_TIME, + DATE_FORMAT_UNSPECIFIED = "DATE_FORMAT_UNSPECIFIED", + DATE_TIME = "DATE_TIME", /** * This item is deprecated! * @deprecated */ - dateTime, - DATE_ONLY, + dateTime = "dateTime", + DATE_ONLY = "DATE_ONLY", /** * This item is deprecated! * @deprecated */ - dateOnly, - TIME_ONLY, + dateOnly = "dateOnly", + TIME_ONLY = "TIME_ONLY", /** * This item is deprecated! * @deprecated */ - timeOnly, - DATE_TIME_YEAR, + timeOnly = "timeOnly", + DATE_TIME_YEAR = "DATE_TIME_YEAR", /** * This item is deprecated! * @deprecated */ - dateTimeYear, - DATE_YEAR, + dateTimeYear = "dateTimeYear", + DATE_YEAR = "DATE_YEAR", /** * This item is deprecated! * @deprecated */ - dateYear, + dateYear = "dateYear", } diff --git a/src/types/generic/GenericType.ts b/src/types/generic/GenericType.ts index f9aad32..8151c9f 100644 --- a/src/types/generic/GenericType.ts +++ b/src/types/generic/GenericType.ts @@ -1,15 +1,15 @@ export enum GenericTypeEnum { - GENERIC_TYPE_UNSPECIFIED, - GENERIC_SEASON_PASS, - GENERIC_UTILITY_BILLS, - GENERIC_PARKING_PASS, - GENERIC_VOUCHER, - GENERIC_GYM_MEMBERSHIP, - GENERIC_LIBRARY_MEMBERSHIP, - GENERIC_RESERVATIONS, - GENERIC_AUTO_INSURANCE, - GENERIC_HOME_INSURANCE, - GENERIC_ENTRY_TICKET, - GENERIC_RECEIPT, - GENERIC_OTHER, + GENERIC_TYPE_UNSPECIFIED = "GENERIC_TYPE_UNSPECIFIED", + GENERIC_SEASON_PASS = "GENERIC_SEASON_PASS", + GENERIC_UTILITY_BILLS = "GENERIC_UTILITY_BILLS", + GENERIC_PARKING_PASS = "GENERIC_PARKING_PASS", + GENERIC_VOUCHER = "GENERIC_VOUCHER", + GENERIC_GYM_MEMBERSHIP = "GENERIC_GYM_MEMBERSHIP", + GENERIC_LIBRARY_MEMBERSHIP = "GENERIC_LIBRARY_MEMBERSHIP", + GENERIC_RESERVATIONS = "GENERIC_RESERVATIONS", + GENERIC_AUTO_INSURANCE = "GENERIC_AUTO_INSURANCE", + GENERIC_HOME_INSURANCE = "GENERIC_HOME_INSURANCE", + GENERIC_ENTRY_TICKET = "GENERIC_ENTRY_TICKET", + GENERIC_RECEIPT = "GENERIC_RECEIPT", + GENERIC_OTHER = "GENERIC_OTHER", } diff --git a/src/types/generic/MultipleDevicesAndHoldersAllowedStatus.ts b/src/types/generic/MultipleDevicesAndHoldersAllowedStatus.ts index e894699..664703e 100644 --- a/src/types/generic/MultipleDevicesAndHoldersAllowedStatus.ts +++ b/src/types/generic/MultipleDevicesAndHoldersAllowedStatus.ts @@ -1,21 +1,21 @@ export enum MultipleDevicesAndHoldersAllowedStatusEnum { - STATUS_UNSPECIFIED, - MULTIPLE_HOLDERS, + STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED", + MULTIPLE_HOLDERS = "MULTIPLE_HOLDERS", /** * This item is deprecated! * @deprecated */ - multipleHolders, - ONE_USER_ALL_DEVICES, + multipleHolders = "multipleHolders", + ONE_USER_ALL_DEVICES = "ONE_USER_ALL_DEVICES", /** * This item is deprecated! * @deprecated */ - oneUserAllDevices, - ONE_USER_ONE_DEVICE, + oneUserAllDevices = "oneUserAllDevices", + ONE_USER_ONE_DEVICE = "ONE_USER_ONE_DEVICE", /** * This item is deprecated! * @deprecated */ - oneUserOneDevice, + oneUserOneDevice = "oneUserOneDevice", } diff --git a/src/types/generic/NfcConstraint.ts b/src/types/generic/NfcConstraint.ts index e61812c..b710966 100644 --- a/src/types/generic/NfcConstraint.ts +++ b/src/types/generic/NfcConstraint.ts @@ -1,5 +1,5 @@ export enum NfcConstraintEnum { - NFC_CONSTRAINT_UNSPECIFIED, - BLOCK_PAYMENT, - BLOCK_CLOSED_LOOP_TRANSIT, + NFC_CONSTRAINT_UNSPECIFIED = "NFC_CONSTRAINT_UNSPECIFIED", + BLOCK_PAYMENT = "BLOCK_PAYMENT", + BLOCK_CLOSED_LOOP_TRANSIT = "BLOCK_CLOSED_LOOP_TRANSIT", } diff --git a/src/types/generic/PredefinedItem.ts b/src/types/generic/PredefinedItem.ts index 6867b5b..d27c364 100644 --- a/src/types/generic/PredefinedItem.ts +++ b/src/types/generic/PredefinedItem.ts @@ -1,15 +1,15 @@ export enum PredefinedItemEnum { - PREDEFINED_ITEM_UNSPECIFIED, - FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER, + PREDEFINED_ITEM_UNSPECIFIED = "PREDEFINED_ITEM_UNSPECIFIED", + FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER = "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", /** * This item is deprecated! * @deprecated */ - frequentFlyerProgramNameAndNumber, - FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER, + frequentFlyerProgramNameAndNumber = "frequentFlyerProgramNameAndNumber", + FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER = "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", /** * This item is deprecated! * @deprecated */ - flightNumberAndOperatingFlightNumber, + flightNumberAndOperatingFlightNumber = "flightNumberAndOperatingFlightNumber", } diff --git a/src/types/generic/ScreenshotEligibility.ts b/src/types/generic/ScreenshotEligibility.ts index 11d555d..797d3c4 100644 --- a/src/types/generic/ScreenshotEligibility.ts +++ b/src/types/generic/ScreenshotEligibility.ts @@ -1,5 +1,5 @@ export enum ScreenshotEligibilityEnum { - SCREENSHOT_ELIGIBILITY_UNSPECIFIED, - ELIGIBLE, - INELIGIBLE, + SCREENSHOT_ELIGIBILITY_UNSPECIFIED = "SCREENSHOT_ELIGIBILITY_UNSPECIFIED", + ELIGIBLE = "ELIGIBLE", + INELIGIBLE = "INELIGIBLE", } diff --git a/src/types/generic/State.ts b/src/types/generic/State.ts index 456983d..acf8535 100644 --- a/src/types/generic/State.ts +++ b/src/types/generic/State.ts @@ -1,27 +1,27 @@ export enum StateEnum { - STATE_UNSPECIFIED, - ACTIVE, + STATE_UNSPECIFIED = "STATE_UNSPECIFIED", + ACTIVE = "ACTIVE", /** * This item is deprecated! * @deprecated */ - active, - COMPLETED, + active = "active", + COMPLETED = "COMPLETED", /** * This item is deprecated! * @deprecated */ - completed, - EXPIRED, + completed = "completed", + EXPIRED = "EXPIRED", /** * This item is deprecated! * @deprecated */ - expired, - INACTIVE, + expired = "expired", + INACTIVE = "INACTIVE", /** * This item is deprecated! * @deprecated */ - inactive, + inactive = "inactive", } diff --git a/src/types/generic/TotpAlgorithm.ts b/src/types/generic/TotpAlgorithm.ts index 380665c..46e192d 100644 --- a/src/types/generic/TotpAlgorithm.ts +++ b/src/types/generic/TotpAlgorithm.ts @@ -1,4 +1,4 @@ export enum TotpAlgorithmEnum { - TOTP_ALGORITHM_UNSPECIFIED, - TOTP_SHA1, + TOTP_ALGORITHM_UNSPECIFIED = "TOTP_ALGORITHM_UNSPECIFIED", + TOTP_SHA1 = "TOTP_SHA1", } diff --git a/src/types/generic/TransitOption.ts b/src/types/generic/TransitOption.ts index b43163f..c969ab5 100644 --- a/src/types/generic/TransitOption.ts +++ b/src/types/generic/TransitOption.ts @@ -1,21 +1,21 @@ export enum TransitOptionEnum { - TRANSIT_OPTION_UNSPECIFIED, - ORIGIN_AND_DESTINATION_NAMES, + TRANSIT_OPTION_UNSPECIFIED = "TRANSIT_OPTION_UNSPECIFIED", + ORIGIN_AND_DESTINATION_NAMES = "ORIGIN_AND_DESTINATION_NAMES", /** * This item is deprecated! * @deprecated */ - originAndDestinationNames, - ORIGIN_AND_DESTINATION_CODES, + originAndDestinationNames = "originAndDestinationNames", + ORIGIN_AND_DESTINATION_CODES = "ORIGIN_AND_DESTINATION_CODES", /** * This item is deprecated! * @deprecated */ - originAndDestinationCodes, - ORIGIN_NAME, + originAndDestinationCodes = "originAndDestinationCodes", + ORIGIN_NAME = "ORIGIN_NAME", /** * This item is deprecated! * @deprecated */ - originName, + originName = "originName", } diff --git a/src/types/generic/ViewUnlockRequirement.ts b/src/types/generic/ViewUnlockRequirement.ts index f5f66bc..2d3176b 100644 --- a/src/types/generic/ViewUnlockRequirement.ts +++ b/src/types/generic/ViewUnlockRequirement.ts @@ -1,8 +1,8 @@ export enum ViewUnlockRequirementEnum { - VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED, - UNLOCK_NOT_REQUIRED, + VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED = "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", + UNLOCK_NOT_REQUIRED = "UNLOCK_NOT_REQUIRED", /** * If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed. */ - UNLOCK_REQUIRED_TO_VIEW, + UNLOCK_REQUIRED_TO_VIEW = "UNLOCK_REQUIRED_TO_VIEW", } diff --git a/src/types/retail/gift-card/AnimationType.ts b/src/types/retail/gift-card/AnimationType.ts index c6e73c8..36b6239 100644 --- a/src/types/retail/gift-card/AnimationType.ts +++ b/src/types/retail/gift-card/AnimationType.ts @@ -1,9 +1,9 @@ export enum AnimationTypeEnum { - ANIMATION_UNSPECIFIED, - FOIL_SHIMMER, + ANIMATION_UNSPECIFIED = "ANIMATION_UNSPECIFIED", + FOIL_SHIMMER = "FOIL_SHIMMER", /** * This item is deprecated! * @deprecated */ - foilShimmer, + foilShimmer = "foilShimmer", } diff --git a/src/types/retail/gift-card/BarcodeRenderEncoding.ts b/src/types/retail/gift-card/BarcodeRenderEncoding.ts index 60664f0..2c00b8a 100644 --- a/src/types/retail/gift-card/BarcodeRenderEncoding.ts +++ b/src/types/retail/gift-card/BarcodeRenderEncoding.ts @@ -1,4 +1,4 @@ export enum BarcodeRenderEncodingEnum { - RENDER_ENCODING_UNSPECIFIED, - UTF_8, + RENDER_ENCODING_UNSPECIFIED = "RENDER_ENCODING_UNSPECIFIED", + UTF_8 = "UTF_8", } diff --git a/src/types/retail/gift-card/BarcodeType.ts b/src/types/retail/gift-card/BarcodeType.ts index 5923ef4..88b548f 100644 --- a/src/types/retail/gift-card/BarcodeType.ts +++ b/src/types/retail/gift-card/BarcodeType.ts @@ -1,90 +1,90 @@ export enum BarcodeTypeEnum { - BARCODE_TYPE_UNSPECIFIED, - AZTEC, + BARCODE_TYPE_UNSPECIFIED = "BARCODE_TYPE_UNSPECIFIED", + AZTEC = "AZTEC", /** * This item is deprecated! * @deprecated */ - aztec, - CODE_39, + aztec = "aztec", + CODE_39 = "CODE_39", /** * This item is deprecated! * @deprecated */ - code39, - CODE_128, + code39 = "code39", + CODE_128 = "CODE_128", /** * This item is deprecated! * @deprecated */ - code128, - CODABAR, + code128 = "code128", + CODABAR = "CODABAR", /** * This item is deprecated! * @deprecated */ - codabar, - DATA_MATRIX, + codabar = "codabar", + DATA_MATRIX = "DATA_MATRIX", /** * This item is deprecated! * @deprecated */ - dataMatrix, - EAN_8, + dataMatrix = "dataMatrix", + EAN_8 = "EAN_8", /** * This item is deprecated! * @deprecated */ - ean8, - EAN_13, + ean8 = "ean8", + EAN_13 = "EAN_13", /** * This item is deprecated! * @deprecated */ - ean13, + ean13 = "ean13", /** * This item is deprecated! * @deprecated */ - EAN13, - ITF_14, + EAN13 = "EAN13", + ITF_14 = "ITF_14", /** * This item is deprecated! * @deprecated */ - itf14, - PDF_417, + itf14 = "itf14", + PDF_417 = "PDF_417", /** * This item is deprecated! * @deprecated */ - pdf417, + pdf417 = "pdf417", /** * This item is deprecated! * @deprecated */ - PDF417, - QR_CODE, + PDF417 = "PDF417", + QR_CODE = "QR_CODE", /** * This item is deprecated! * @deprecated */ - qrCode, + qrCode = "qrCode", /** * This item is deprecated! * @deprecated */ - qrcode, - UPC_A, + qrcode = "qrcode", + UPC_A = "UPC_A", /** * This item is deprecated! * @deprecated */ - upcA, - TEXT_ONLY, + upcA = "upcA", + TEXT_ONLY = "TEXT_ONLY", /** * This item is deprecated! * @deprecated */ - textOnly, + textOnly = "textOnly", } diff --git a/src/types/retail/gift-card/DateFormat.ts b/src/types/retail/gift-card/DateFormat.ts index b297940..a1b6b40 100644 --- a/src/types/retail/gift-card/DateFormat.ts +++ b/src/types/retail/gift-card/DateFormat.ts @@ -1,33 +1,33 @@ export enum DateFormatEnum { - DATE_FORMAT_UNSPECIFIED, - DATE_TIME, + DATE_FORMAT_UNSPECIFIED = "DATE_FORMAT_UNSPECIFIED", + DATE_TIME = "DATE_TIME", /** * This item is deprecated! * @deprecated */ - dateTime, - DATE_ONLY, + dateTime = "dateTime", + DATE_ONLY = "DATE_ONLY", /** * This item is deprecated! * @deprecated */ - dateOnly, - TIME_ONLY, + dateOnly = "dateOnly", + TIME_ONLY = "TIME_ONLY", /** * This item is deprecated! * @deprecated */ - timeOnly, - DATE_TIME_YEAR, + timeOnly = "timeOnly", + DATE_TIME_YEAR = "DATE_TIME_YEAR", /** * This item is deprecated! * @deprecated */ - dateTimeYear, - DATE_YEAR, + dateTimeYear = "dateTimeYear", + DATE_YEAR = "DATE_YEAR", /** * This item is deprecated! * @deprecated */ - dateYear, + dateYear = "dateYear", } diff --git a/src/types/retail/gift-card/MessageType.ts b/src/types/retail/gift-card/MessageType.ts index bc1afe7..02487d7 100644 --- a/src/types/retail/gift-card/MessageType.ts +++ b/src/types/retail/gift-card/MessageType.ts @@ -1,15 +1,15 @@ export enum MessageTypeEnum { - MESSAGE_TYPE_UNSPECIFIED, - TEXT, + MESSAGE_TYPE_UNSPECIFIED = "MESSAGE_TYPE_UNSPECIFIED", + TEXT = "TEXT", /** * This item is deprecated! * @deprecated */ - text, - EXPIRATION_NOTIFICATION, + text = "text", + EXPIRATION_NOTIFICATION = "EXPIRATION_NOTIFICATION", /** * This item is deprecated! * @deprecated */ - expirationNotification, + expirationNotification = "expirationNotification", } diff --git a/src/types/retail/gift-card/MultipleDevicesAndHoldersAllowedStatus.ts b/src/types/retail/gift-card/MultipleDevicesAndHoldersAllowedStatus.ts index e894699..664703e 100644 --- a/src/types/retail/gift-card/MultipleDevicesAndHoldersAllowedStatus.ts +++ b/src/types/retail/gift-card/MultipleDevicesAndHoldersAllowedStatus.ts @@ -1,21 +1,21 @@ export enum MultipleDevicesAndHoldersAllowedStatusEnum { - STATUS_UNSPECIFIED, - MULTIPLE_HOLDERS, + STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED", + MULTIPLE_HOLDERS = "MULTIPLE_HOLDERS", /** * This item is deprecated! * @deprecated */ - multipleHolders, - ONE_USER_ALL_DEVICES, + multipleHolders = "multipleHolders", + ONE_USER_ALL_DEVICES = "ONE_USER_ALL_DEVICES", /** * This item is deprecated! * @deprecated */ - oneUserAllDevices, - ONE_USER_ONE_DEVICE, + oneUserAllDevices = "oneUserAllDevices", + ONE_USER_ONE_DEVICE = "ONE_USER_ONE_DEVICE", /** * This item is deprecated! * @deprecated */ - oneUserOneDevice, + oneUserOneDevice = "oneUserOneDevice", } diff --git a/src/types/retail/gift-card/NfcConstraint.ts b/src/types/retail/gift-card/NfcConstraint.ts index e61812c..b710966 100644 --- a/src/types/retail/gift-card/NfcConstraint.ts +++ b/src/types/retail/gift-card/NfcConstraint.ts @@ -1,5 +1,5 @@ export enum NfcConstraintEnum { - NFC_CONSTRAINT_UNSPECIFIED, - BLOCK_PAYMENT, - BLOCK_CLOSED_LOOP_TRANSIT, + NFC_CONSTRAINT_UNSPECIFIED = "NFC_CONSTRAINT_UNSPECIFIED", + BLOCK_PAYMENT = "BLOCK_PAYMENT", + BLOCK_CLOSED_LOOP_TRANSIT = "BLOCK_CLOSED_LOOP_TRANSIT", } diff --git a/src/types/retail/gift-card/PredefinedItem.ts b/src/types/retail/gift-card/PredefinedItem.ts index 6867b5b..d27c364 100644 --- a/src/types/retail/gift-card/PredefinedItem.ts +++ b/src/types/retail/gift-card/PredefinedItem.ts @@ -1,15 +1,15 @@ export enum PredefinedItemEnum { - PREDEFINED_ITEM_UNSPECIFIED, - FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER, + PREDEFINED_ITEM_UNSPECIFIED = "PREDEFINED_ITEM_UNSPECIFIED", + FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER = "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", /** * This item is deprecated! * @deprecated */ - frequentFlyerProgramNameAndNumber, - FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER, + frequentFlyerProgramNameAndNumber = "frequentFlyerProgramNameAndNumber", + FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER = "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", /** * This item is deprecated! * @deprecated */ - flightNumberAndOperatingFlightNumber, + flightNumberAndOperatingFlightNumber = "flightNumberAndOperatingFlightNumber", } diff --git a/src/types/retail/gift-card/ReviewStatus.ts b/src/types/retail/gift-card/ReviewStatus.ts index c8ba762..f764241 100644 --- a/src/types/retail/gift-card/ReviewStatus.ts +++ b/src/types/retail/gift-card/ReviewStatus.ts @@ -1,27 +1,27 @@ export enum ReviewStatusEnum { - REVIEW_STATUS_UNSPECIFIED, - UNDER_REVIEW, + REVIEW_STATUS_UNSPECIFIED = "REVIEW_STATUS_UNSPECIFIED", + UNDER_REVIEW = "UNDER_REVIEW", /** * This item is deprecated! * @deprecated */ - underReview, - APPROVED, + underReview = "underReview", + APPROVED = "APPROVED", /** * This item is deprecated! * @deprecated */ - approved, - REJECTED, + approved = "approved", + REJECTED = "REJECTED", /** * This item is deprecated! * @deprecated */ - rejected, - DRAFT, + rejected = "rejected", + DRAFT = "DRAFT", /** * This item is deprecated! * @deprecated */ - draft, + draft = "draft", } diff --git a/src/types/retail/gift-card/ScreenshotEligibility.ts b/src/types/retail/gift-card/ScreenshotEligibility.ts index 11d555d..797d3c4 100644 --- a/src/types/retail/gift-card/ScreenshotEligibility.ts +++ b/src/types/retail/gift-card/ScreenshotEligibility.ts @@ -1,5 +1,5 @@ export enum ScreenshotEligibilityEnum { - SCREENSHOT_ELIGIBILITY_UNSPECIFIED, - ELIGIBLE, - INELIGIBLE, + SCREENSHOT_ELIGIBILITY_UNSPECIFIED = "SCREENSHOT_ELIGIBILITY_UNSPECIFIED", + ELIGIBLE = "ELIGIBLE", + INELIGIBLE = "INELIGIBLE", } diff --git a/src/types/retail/gift-card/State.ts b/src/types/retail/gift-card/State.ts index 456983d..acf8535 100644 --- a/src/types/retail/gift-card/State.ts +++ b/src/types/retail/gift-card/State.ts @@ -1,27 +1,27 @@ export enum StateEnum { - STATE_UNSPECIFIED, - ACTIVE, + STATE_UNSPECIFIED = "STATE_UNSPECIFIED", + ACTIVE = "ACTIVE", /** * This item is deprecated! * @deprecated */ - active, - COMPLETED, + active = "active", + COMPLETED = "COMPLETED", /** * This item is deprecated! * @deprecated */ - completed, - EXPIRED, + completed = "completed", + EXPIRED = "EXPIRED", /** * This item is deprecated! * @deprecated */ - expired, - INACTIVE, + expired = "expired", + INACTIVE = "INACTIVE", /** * This item is deprecated! * @deprecated */ - inactive, + inactive = "inactive", } diff --git a/src/types/retail/gift-card/TotpAlgorithm.ts b/src/types/retail/gift-card/TotpAlgorithm.ts index 380665c..46e192d 100644 --- a/src/types/retail/gift-card/TotpAlgorithm.ts +++ b/src/types/retail/gift-card/TotpAlgorithm.ts @@ -1,4 +1,4 @@ export enum TotpAlgorithmEnum { - TOTP_ALGORITHM_UNSPECIFIED, - TOTP_SHA1, + TOTP_ALGORITHM_UNSPECIFIED = "TOTP_ALGORITHM_UNSPECIFIED", + TOTP_SHA1 = "TOTP_SHA1", } diff --git a/src/types/retail/gift-card/TransitOption.ts b/src/types/retail/gift-card/TransitOption.ts index b43163f..c969ab5 100644 --- a/src/types/retail/gift-card/TransitOption.ts +++ b/src/types/retail/gift-card/TransitOption.ts @@ -1,21 +1,21 @@ export enum TransitOptionEnum { - TRANSIT_OPTION_UNSPECIFIED, - ORIGIN_AND_DESTINATION_NAMES, + TRANSIT_OPTION_UNSPECIFIED = "TRANSIT_OPTION_UNSPECIFIED", + ORIGIN_AND_DESTINATION_NAMES = "ORIGIN_AND_DESTINATION_NAMES", /** * This item is deprecated! * @deprecated */ - originAndDestinationNames, - ORIGIN_AND_DESTINATION_CODES, + originAndDestinationNames = "originAndDestinationNames", + ORIGIN_AND_DESTINATION_CODES = "ORIGIN_AND_DESTINATION_CODES", /** * This item is deprecated! * @deprecated */ - originAndDestinationCodes, - ORIGIN_NAME, + originAndDestinationCodes = "originAndDestinationCodes", + ORIGIN_NAME = "ORIGIN_NAME", /** * This item is deprecated! * @deprecated */ - originName, + originName = "originName", } diff --git a/src/types/retail/gift-card/ViewUnlockRequirement.ts b/src/types/retail/gift-card/ViewUnlockRequirement.ts index f5f66bc..2d3176b 100644 --- a/src/types/retail/gift-card/ViewUnlockRequirement.ts +++ b/src/types/retail/gift-card/ViewUnlockRequirement.ts @@ -1,8 +1,8 @@ export enum ViewUnlockRequirementEnum { - VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED, - UNLOCK_NOT_REQUIRED, + VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED = "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", + UNLOCK_NOT_REQUIRED = "UNLOCK_NOT_REQUIRED", /** * If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed. */ - UNLOCK_REQUIRED_TO_VIEW, + UNLOCK_REQUIRED_TO_VIEW = "UNLOCK_REQUIRED_TO_VIEW", } diff --git a/src/types/retail/loyalty-card/AnimationType.ts b/src/types/retail/loyalty-card/AnimationType.ts index c6e73c8..36b6239 100644 --- a/src/types/retail/loyalty-card/AnimationType.ts +++ b/src/types/retail/loyalty-card/AnimationType.ts @@ -1,9 +1,9 @@ export enum AnimationTypeEnum { - ANIMATION_UNSPECIFIED, - FOIL_SHIMMER, + ANIMATION_UNSPECIFIED = "ANIMATION_UNSPECIFIED", + FOIL_SHIMMER = "FOIL_SHIMMER", /** * This item is deprecated! * @deprecated */ - foilShimmer, + foilShimmer = "foilShimmer", } diff --git a/src/types/retail/loyalty-card/BarcodeRenderEncoding.ts b/src/types/retail/loyalty-card/BarcodeRenderEncoding.ts index 60664f0..2c00b8a 100644 --- a/src/types/retail/loyalty-card/BarcodeRenderEncoding.ts +++ b/src/types/retail/loyalty-card/BarcodeRenderEncoding.ts @@ -1,4 +1,4 @@ export enum BarcodeRenderEncodingEnum { - RENDER_ENCODING_UNSPECIFIED, - UTF_8, + RENDER_ENCODING_UNSPECIFIED = "RENDER_ENCODING_UNSPECIFIED", + UTF_8 = "UTF_8", } diff --git a/src/types/retail/loyalty-card/BarcodeType.ts b/src/types/retail/loyalty-card/BarcodeType.ts index 5923ef4..88b548f 100644 --- a/src/types/retail/loyalty-card/BarcodeType.ts +++ b/src/types/retail/loyalty-card/BarcodeType.ts @@ -1,90 +1,90 @@ export enum BarcodeTypeEnum { - BARCODE_TYPE_UNSPECIFIED, - AZTEC, + BARCODE_TYPE_UNSPECIFIED = "BARCODE_TYPE_UNSPECIFIED", + AZTEC = "AZTEC", /** * This item is deprecated! * @deprecated */ - aztec, - CODE_39, + aztec = "aztec", + CODE_39 = "CODE_39", /** * This item is deprecated! * @deprecated */ - code39, - CODE_128, + code39 = "code39", + CODE_128 = "CODE_128", /** * This item is deprecated! * @deprecated */ - code128, - CODABAR, + code128 = "code128", + CODABAR = "CODABAR", /** * This item is deprecated! * @deprecated */ - codabar, - DATA_MATRIX, + codabar = "codabar", + DATA_MATRIX = "DATA_MATRIX", /** * This item is deprecated! * @deprecated */ - dataMatrix, - EAN_8, + dataMatrix = "dataMatrix", + EAN_8 = "EAN_8", /** * This item is deprecated! * @deprecated */ - ean8, - EAN_13, + ean8 = "ean8", + EAN_13 = "EAN_13", /** * This item is deprecated! * @deprecated */ - ean13, + ean13 = "ean13", /** * This item is deprecated! * @deprecated */ - EAN13, - ITF_14, + EAN13 = "EAN13", + ITF_14 = "ITF_14", /** * This item is deprecated! * @deprecated */ - itf14, - PDF_417, + itf14 = "itf14", + PDF_417 = "PDF_417", /** * This item is deprecated! * @deprecated */ - pdf417, + pdf417 = "pdf417", /** * This item is deprecated! * @deprecated */ - PDF417, - QR_CODE, + PDF417 = "PDF417", + QR_CODE = "QR_CODE", /** * This item is deprecated! * @deprecated */ - qrCode, + qrCode = "qrCode", /** * This item is deprecated! * @deprecated */ - qrcode, - UPC_A, + qrcode = "qrcode", + UPC_A = "UPC_A", /** * This item is deprecated! * @deprecated */ - upcA, - TEXT_ONLY, + upcA = "upcA", + TEXT_ONLY = "TEXT_ONLY", /** * This item is deprecated! * @deprecated */ - textOnly, + textOnly = "textOnly", } diff --git a/src/types/retail/loyalty-card/DateFormat.ts b/src/types/retail/loyalty-card/DateFormat.ts index b297940..a1b6b40 100644 --- a/src/types/retail/loyalty-card/DateFormat.ts +++ b/src/types/retail/loyalty-card/DateFormat.ts @@ -1,33 +1,33 @@ export enum DateFormatEnum { - DATE_FORMAT_UNSPECIFIED, - DATE_TIME, + DATE_FORMAT_UNSPECIFIED = "DATE_FORMAT_UNSPECIFIED", + DATE_TIME = "DATE_TIME", /** * This item is deprecated! * @deprecated */ - dateTime, - DATE_ONLY, + dateTime = "dateTime", + DATE_ONLY = "DATE_ONLY", /** * This item is deprecated! * @deprecated */ - dateOnly, - TIME_ONLY, + dateOnly = "dateOnly", + TIME_ONLY = "TIME_ONLY", /** * This item is deprecated! * @deprecated */ - timeOnly, - DATE_TIME_YEAR, + timeOnly = "timeOnly", + DATE_TIME_YEAR = "DATE_TIME_YEAR", /** * This item is deprecated! * @deprecated */ - dateTimeYear, - DATE_YEAR, + dateTimeYear = "dateTimeYear", + DATE_YEAR = "DATE_YEAR", /** * This item is deprecated! * @deprecated */ - dateYear, + dateYear = "dateYear", } diff --git a/src/types/retail/loyalty-card/MessageType.ts b/src/types/retail/loyalty-card/MessageType.ts index bc1afe7..02487d7 100644 --- a/src/types/retail/loyalty-card/MessageType.ts +++ b/src/types/retail/loyalty-card/MessageType.ts @@ -1,15 +1,15 @@ export enum MessageTypeEnum { - MESSAGE_TYPE_UNSPECIFIED, - TEXT, + MESSAGE_TYPE_UNSPECIFIED = "MESSAGE_TYPE_UNSPECIFIED", + TEXT = "TEXT", /** * This item is deprecated! * @deprecated */ - text, - EXPIRATION_NOTIFICATION, + text = "text", + EXPIRATION_NOTIFICATION = "EXPIRATION_NOTIFICATION", /** * This item is deprecated! * @deprecated */ - expirationNotification, + expirationNotification = "expirationNotification", } diff --git a/src/types/retail/loyalty-card/MultipleDevicesAndHoldersAllowedStatus.ts b/src/types/retail/loyalty-card/MultipleDevicesAndHoldersAllowedStatus.ts index e894699..664703e 100644 --- a/src/types/retail/loyalty-card/MultipleDevicesAndHoldersAllowedStatus.ts +++ b/src/types/retail/loyalty-card/MultipleDevicesAndHoldersAllowedStatus.ts @@ -1,21 +1,21 @@ export enum MultipleDevicesAndHoldersAllowedStatusEnum { - STATUS_UNSPECIFIED, - MULTIPLE_HOLDERS, + STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED", + MULTIPLE_HOLDERS = "MULTIPLE_HOLDERS", /** * This item is deprecated! * @deprecated */ - multipleHolders, - ONE_USER_ALL_DEVICES, + multipleHolders = "multipleHolders", + ONE_USER_ALL_DEVICES = "ONE_USER_ALL_DEVICES", /** * This item is deprecated! * @deprecated */ - oneUserAllDevices, - ONE_USER_ONE_DEVICE, + oneUserAllDevices = "oneUserAllDevices", + ONE_USER_ONE_DEVICE = "ONE_USER_ONE_DEVICE", /** * This item is deprecated! * @deprecated */ - oneUserOneDevice, + oneUserOneDevice = "oneUserOneDevice", } diff --git a/src/types/retail/loyalty-card/NfcConstraint.ts b/src/types/retail/loyalty-card/NfcConstraint.ts index e61812c..b710966 100644 --- a/src/types/retail/loyalty-card/NfcConstraint.ts +++ b/src/types/retail/loyalty-card/NfcConstraint.ts @@ -1,5 +1,5 @@ export enum NfcConstraintEnum { - NFC_CONSTRAINT_UNSPECIFIED, - BLOCK_PAYMENT, - BLOCK_CLOSED_LOOP_TRANSIT, + NFC_CONSTRAINT_UNSPECIFIED = "NFC_CONSTRAINT_UNSPECIFIED", + BLOCK_PAYMENT = "BLOCK_PAYMENT", + BLOCK_CLOSED_LOOP_TRANSIT = "BLOCK_CLOSED_LOOP_TRANSIT", } diff --git a/src/types/retail/loyalty-card/PredefinedItem.ts b/src/types/retail/loyalty-card/PredefinedItem.ts index 6867b5b..d27c364 100644 --- a/src/types/retail/loyalty-card/PredefinedItem.ts +++ b/src/types/retail/loyalty-card/PredefinedItem.ts @@ -1,15 +1,15 @@ export enum PredefinedItemEnum { - PREDEFINED_ITEM_UNSPECIFIED, - FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER, + PREDEFINED_ITEM_UNSPECIFIED = "PREDEFINED_ITEM_UNSPECIFIED", + FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER = "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", /** * This item is deprecated! * @deprecated */ - frequentFlyerProgramNameAndNumber, - FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER, + frequentFlyerProgramNameAndNumber = "frequentFlyerProgramNameAndNumber", + FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER = "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", /** * This item is deprecated! * @deprecated */ - flightNumberAndOperatingFlightNumber, + flightNumberAndOperatingFlightNumber = "flightNumberAndOperatingFlightNumber", } diff --git a/src/types/retail/loyalty-card/ReviewStatus.ts b/src/types/retail/loyalty-card/ReviewStatus.ts index c8ba762..f764241 100644 --- a/src/types/retail/loyalty-card/ReviewStatus.ts +++ b/src/types/retail/loyalty-card/ReviewStatus.ts @@ -1,27 +1,27 @@ export enum ReviewStatusEnum { - REVIEW_STATUS_UNSPECIFIED, - UNDER_REVIEW, + REVIEW_STATUS_UNSPECIFIED = "REVIEW_STATUS_UNSPECIFIED", + UNDER_REVIEW = "UNDER_REVIEW", /** * This item is deprecated! * @deprecated */ - underReview, - APPROVED, + underReview = "underReview", + APPROVED = "APPROVED", /** * This item is deprecated! * @deprecated */ - approved, - REJECTED, + approved = "approved", + REJECTED = "REJECTED", /** * This item is deprecated! * @deprecated */ - rejected, - DRAFT, + rejected = "rejected", + DRAFT = "DRAFT", /** * This item is deprecated! * @deprecated */ - draft, + draft = "draft", } diff --git a/src/types/retail/loyalty-card/ScreenshotEligibility.ts b/src/types/retail/loyalty-card/ScreenshotEligibility.ts index 11d555d..797d3c4 100644 --- a/src/types/retail/loyalty-card/ScreenshotEligibility.ts +++ b/src/types/retail/loyalty-card/ScreenshotEligibility.ts @@ -1,5 +1,5 @@ export enum ScreenshotEligibilityEnum { - SCREENSHOT_ELIGIBILITY_UNSPECIFIED, - ELIGIBLE, - INELIGIBLE, + SCREENSHOT_ELIGIBILITY_UNSPECIFIED = "SCREENSHOT_ELIGIBILITY_UNSPECIFIED", + ELIGIBLE = "ELIGIBLE", + INELIGIBLE = "INELIGIBLE", } diff --git a/src/types/retail/loyalty-card/SharedDataType.ts b/src/types/retail/loyalty-card/SharedDataType.ts index 8d8c701..81dfe81 100644 --- a/src/types/retail/loyalty-card/SharedDataType.ts +++ b/src/types/retail/loyalty-card/SharedDataType.ts @@ -1,15 +1,15 @@ export enum SharedDataTypeEnum { - SHARED_DATA_TYPE_UNSPECIFIED, - FIRST_NAME, - LAST_NAME, - STREET_ADDRESS, - ADDRESS_LINE_1, - ADDRESS_LINE_2, - ADDRESS_LINE_3, - CITY, - STATE, - ZIPCODE, - COUNTRY, - EMAIL, - PHONE, + SHARED_DATA_TYPE_UNSPECIFIED = "SHARED_DATA_TYPE_UNSPECIFIED", + FIRST_NAME = "FIRST_NAME", + LAST_NAME = "LAST_NAME", + STREET_ADDRESS = "STREET_ADDRESS", + ADDRESS_LINE_1 = "ADDRESS_LINE_1", + ADDRESS_LINE_2 = "ADDRESS_LINE_2", + ADDRESS_LINE_3 = "ADDRESS_LINE_3", + CITY = "CITY", + STATE = "STATE", + ZIPCODE = "ZIPCODE", + COUNTRY = "COUNTRY", + EMAIL = "EMAIL", + PHONE = "PHONE", } diff --git a/src/types/retail/loyalty-card/State.ts b/src/types/retail/loyalty-card/State.ts index 456983d..acf8535 100644 --- a/src/types/retail/loyalty-card/State.ts +++ b/src/types/retail/loyalty-card/State.ts @@ -1,27 +1,27 @@ export enum StateEnum { - STATE_UNSPECIFIED, - ACTIVE, + STATE_UNSPECIFIED = "STATE_UNSPECIFIED", + ACTIVE = "ACTIVE", /** * This item is deprecated! * @deprecated */ - active, - COMPLETED, + active = "active", + COMPLETED = "COMPLETED", /** * This item is deprecated! * @deprecated */ - completed, - EXPIRED, + completed = "completed", + EXPIRED = "EXPIRED", /** * This item is deprecated! * @deprecated */ - expired, - INACTIVE, + expired = "expired", + INACTIVE = "INACTIVE", /** * This item is deprecated! * @deprecated */ - inactive, + inactive = "inactive", } diff --git a/src/types/retail/loyalty-card/TotpAlgorithm.ts b/src/types/retail/loyalty-card/TotpAlgorithm.ts index 380665c..46e192d 100644 --- a/src/types/retail/loyalty-card/TotpAlgorithm.ts +++ b/src/types/retail/loyalty-card/TotpAlgorithm.ts @@ -1,4 +1,4 @@ export enum TotpAlgorithmEnum { - TOTP_ALGORITHM_UNSPECIFIED, - TOTP_SHA1, + TOTP_ALGORITHM_UNSPECIFIED = "TOTP_ALGORITHM_UNSPECIFIED", + TOTP_SHA1 = "TOTP_SHA1", } diff --git a/src/types/retail/loyalty-card/TransitOption.ts b/src/types/retail/loyalty-card/TransitOption.ts index b43163f..c969ab5 100644 --- a/src/types/retail/loyalty-card/TransitOption.ts +++ b/src/types/retail/loyalty-card/TransitOption.ts @@ -1,21 +1,21 @@ export enum TransitOptionEnum { - TRANSIT_OPTION_UNSPECIFIED, - ORIGIN_AND_DESTINATION_NAMES, + TRANSIT_OPTION_UNSPECIFIED = "TRANSIT_OPTION_UNSPECIFIED", + ORIGIN_AND_DESTINATION_NAMES = "ORIGIN_AND_DESTINATION_NAMES", /** * This item is deprecated! * @deprecated */ - originAndDestinationNames, - ORIGIN_AND_DESTINATION_CODES, + originAndDestinationNames = "originAndDestinationNames", + ORIGIN_AND_DESTINATION_CODES = "ORIGIN_AND_DESTINATION_CODES", /** * This item is deprecated! * @deprecated */ - originAndDestinationCodes, - ORIGIN_NAME, + originAndDestinationCodes = "originAndDestinationCodes", + ORIGIN_NAME = "ORIGIN_NAME", /** * This item is deprecated! * @deprecated */ - originName, + originName = "originName", } diff --git a/src/types/retail/loyalty-card/ViewUnlockRequirement.ts b/src/types/retail/loyalty-card/ViewUnlockRequirement.ts index f5f66bc..2d3176b 100644 --- a/src/types/retail/loyalty-card/ViewUnlockRequirement.ts +++ b/src/types/retail/loyalty-card/ViewUnlockRequirement.ts @@ -1,8 +1,8 @@ export enum ViewUnlockRequirementEnum { - VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED, - UNLOCK_NOT_REQUIRED, + VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED = "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", + UNLOCK_NOT_REQUIRED = "UNLOCK_NOT_REQUIRED", /** * If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed. */ - UNLOCK_REQUIRED_TO_VIEW, + UNLOCK_REQUIRED_TO_VIEW = "UNLOCK_REQUIRED_TO_VIEW", } diff --git a/src/types/retail/offer/AnimationType.ts b/src/types/retail/offer/AnimationType.ts index c6e73c8..36b6239 100644 --- a/src/types/retail/offer/AnimationType.ts +++ b/src/types/retail/offer/AnimationType.ts @@ -1,9 +1,9 @@ export enum AnimationTypeEnum { - ANIMATION_UNSPECIFIED, - FOIL_SHIMMER, + ANIMATION_UNSPECIFIED = "ANIMATION_UNSPECIFIED", + FOIL_SHIMMER = "FOIL_SHIMMER", /** * This item is deprecated! * @deprecated */ - foilShimmer, + foilShimmer = "foilShimmer", } diff --git a/src/types/retail/offer/BarcodeRenderEncoding.ts b/src/types/retail/offer/BarcodeRenderEncoding.ts index 60664f0..2c00b8a 100644 --- a/src/types/retail/offer/BarcodeRenderEncoding.ts +++ b/src/types/retail/offer/BarcodeRenderEncoding.ts @@ -1,4 +1,4 @@ export enum BarcodeRenderEncodingEnum { - RENDER_ENCODING_UNSPECIFIED, - UTF_8, + RENDER_ENCODING_UNSPECIFIED = "RENDER_ENCODING_UNSPECIFIED", + UTF_8 = "UTF_8", } diff --git a/src/types/retail/offer/BarcodeType.ts b/src/types/retail/offer/BarcodeType.ts index 5923ef4..88b548f 100644 --- a/src/types/retail/offer/BarcodeType.ts +++ b/src/types/retail/offer/BarcodeType.ts @@ -1,90 +1,90 @@ export enum BarcodeTypeEnum { - BARCODE_TYPE_UNSPECIFIED, - AZTEC, + BARCODE_TYPE_UNSPECIFIED = "BARCODE_TYPE_UNSPECIFIED", + AZTEC = "AZTEC", /** * This item is deprecated! * @deprecated */ - aztec, - CODE_39, + aztec = "aztec", + CODE_39 = "CODE_39", /** * This item is deprecated! * @deprecated */ - code39, - CODE_128, + code39 = "code39", + CODE_128 = "CODE_128", /** * This item is deprecated! * @deprecated */ - code128, - CODABAR, + code128 = "code128", + CODABAR = "CODABAR", /** * This item is deprecated! * @deprecated */ - codabar, - DATA_MATRIX, + codabar = "codabar", + DATA_MATRIX = "DATA_MATRIX", /** * This item is deprecated! * @deprecated */ - dataMatrix, - EAN_8, + dataMatrix = "dataMatrix", + EAN_8 = "EAN_8", /** * This item is deprecated! * @deprecated */ - ean8, - EAN_13, + ean8 = "ean8", + EAN_13 = "EAN_13", /** * This item is deprecated! * @deprecated */ - ean13, + ean13 = "ean13", /** * This item is deprecated! * @deprecated */ - EAN13, - ITF_14, + EAN13 = "EAN13", + ITF_14 = "ITF_14", /** * This item is deprecated! * @deprecated */ - itf14, - PDF_417, + itf14 = "itf14", + PDF_417 = "PDF_417", /** * This item is deprecated! * @deprecated */ - pdf417, + pdf417 = "pdf417", /** * This item is deprecated! * @deprecated */ - PDF417, - QR_CODE, + PDF417 = "PDF417", + QR_CODE = "QR_CODE", /** * This item is deprecated! * @deprecated */ - qrCode, + qrCode = "qrCode", /** * This item is deprecated! * @deprecated */ - qrcode, - UPC_A, + qrcode = "qrcode", + UPC_A = "UPC_A", /** * This item is deprecated! * @deprecated */ - upcA, - TEXT_ONLY, + upcA = "upcA", + TEXT_ONLY = "TEXT_ONLY", /** * This item is deprecated! * @deprecated */ - textOnly, + textOnly = "textOnly", } diff --git a/src/types/retail/offer/DateFormat.ts b/src/types/retail/offer/DateFormat.ts index b297940..a1b6b40 100644 --- a/src/types/retail/offer/DateFormat.ts +++ b/src/types/retail/offer/DateFormat.ts @@ -1,33 +1,33 @@ export enum DateFormatEnum { - DATE_FORMAT_UNSPECIFIED, - DATE_TIME, + DATE_FORMAT_UNSPECIFIED = "DATE_FORMAT_UNSPECIFIED", + DATE_TIME = "DATE_TIME", /** * This item is deprecated! * @deprecated */ - dateTime, - DATE_ONLY, + dateTime = "dateTime", + DATE_ONLY = "DATE_ONLY", /** * This item is deprecated! * @deprecated */ - dateOnly, - TIME_ONLY, + dateOnly = "dateOnly", + TIME_ONLY = "TIME_ONLY", /** * This item is deprecated! * @deprecated */ - timeOnly, - DATE_TIME_YEAR, + timeOnly = "timeOnly", + DATE_TIME_YEAR = "DATE_TIME_YEAR", /** * This item is deprecated! * @deprecated */ - dateTimeYear, - DATE_YEAR, + dateTimeYear = "dateTimeYear", + DATE_YEAR = "DATE_YEAR", /** * This item is deprecated! * @deprecated */ - dateYear, + dateYear = "dateYear", } diff --git a/src/types/retail/offer/MessageType.ts b/src/types/retail/offer/MessageType.ts index bc1afe7..02487d7 100644 --- a/src/types/retail/offer/MessageType.ts +++ b/src/types/retail/offer/MessageType.ts @@ -1,15 +1,15 @@ export enum MessageTypeEnum { - MESSAGE_TYPE_UNSPECIFIED, - TEXT, + MESSAGE_TYPE_UNSPECIFIED = "MESSAGE_TYPE_UNSPECIFIED", + TEXT = "TEXT", /** * This item is deprecated! * @deprecated */ - text, - EXPIRATION_NOTIFICATION, + text = "text", + EXPIRATION_NOTIFICATION = "EXPIRATION_NOTIFICATION", /** * This item is deprecated! * @deprecated */ - expirationNotification, + expirationNotification = "expirationNotification", } diff --git a/src/types/retail/offer/MultipleDevicesAndHoldersAllowedStatus.ts b/src/types/retail/offer/MultipleDevicesAndHoldersAllowedStatus.ts index e894699..664703e 100644 --- a/src/types/retail/offer/MultipleDevicesAndHoldersAllowedStatus.ts +++ b/src/types/retail/offer/MultipleDevicesAndHoldersAllowedStatus.ts @@ -1,21 +1,21 @@ export enum MultipleDevicesAndHoldersAllowedStatusEnum { - STATUS_UNSPECIFIED, - MULTIPLE_HOLDERS, + STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED", + MULTIPLE_HOLDERS = "MULTIPLE_HOLDERS", /** * This item is deprecated! * @deprecated */ - multipleHolders, - ONE_USER_ALL_DEVICES, + multipleHolders = "multipleHolders", + ONE_USER_ALL_DEVICES = "ONE_USER_ALL_DEVICES", /** * This item is deprecated! * @deprecated */ - oneUserAllDevices, - ONE_USER_ONE_DEVICE, + oneUserAllDevices = "oneUserAllDevices", + ONE_USER_ONE_DEVICE = "ONE_USER_ONE_DEVICE", /** * This item is deprecated! * @deprecated */ - oneUserOneDevice, + oneUserOneDevice = "oneUserOneDevice", } diff --git a/src/types/retail/offer/NfcConstraint.ts b/src/types/retail/offer/NfcConstraint.ts index e61812c..b710966 100644 --- a/src/types/retail/offer/NfcConstraint.ts +++ b/src/types/retail/offer/NfcConstraint.ts @@ -1,5 +1,5 @@ export enum NfcConstraintEnum { - NFC_CONSTRAINT_UNSPECIFIED, - BLOCK_PAYMENT, - BLOCK_CLOSED_LOOP_TRANSIT, + NFC_CONSTRAINT_UNSPECIFIED = "NFC_CONSTRAINT_UNSPECIFIED", + BLOCK_PAYMENT = "BLOCK_PAYMENT", + BLOCK_CLOSED_LOOP_TRANSIT = "BLOCK_CLOSED_LOOP_TRANSIT", } diff --git a/src/types/retail/offer/PredefinedItem.ts b/src/types/retail/offer/PredefinedItem.ts index 6867b5b..d27c364 100644 --- a/src/types/retail/offer/PredefinedItem.ts +++ b/src/types/retail/offer/PredefinedItem.ts @@ -1,15 +1,15 @@ export enum PredefinedItemEnum { - PREDEFINED_ITEM_UNSPECIFIED, - FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER, + PREDEFINED_ITEM_UNSPECIFIED = "PREDEFINED_ITEM_UNSPECIFIED", + FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER = "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", /** * This item is deprecated! * @deprecated */ - frequentFlyerProgramNameAndNumber, - FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER, + frequentFlyerProgramNameAndNumber = "frequentFlyerProgramNameAndNumber", + FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER = "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", /** * This item is deprecated! * @deprecated */ - flightNumberAndOperatingFlightNumber, + flightNumberAndOperatingFlightNumber = "flightNumberAndOperatingFlightNumber", } diff --git a/src/types/retail/offer/RedemptionChannel.ts b/src/types/retail/offer/RedemptionChannel.ts index 6cb3499..a34d146 100644 --- a/src/types/retail/offer/RedemptionChannel.ts +++ b/src/types/retail/offer/RedemptionChannel.ts @@ -1,27 +1,27 @@ export enum RedemptionChannelEnum { - REDEMPTION_CHANNEL_UNSPECIFIED, - INSTORE, + REDEMPTION_CHANNEL_UNSPECIFIED = "REDEMPTION_CHANNEL_UNSPECIFIED", + INSTORE = "INSTORE", /** * This item is deprecated! * @deprecated */ - instore, - ONLINE, + instore = "instore", + ONLINE = "ONLINE", /** * This item is deprecated! * @deprecated */ - online, - BOTH, + online = "online", + BOTH = "BOTH", /** * This item is deprecated! * @deprecated */ - both, - TEMPORARY_PRICE_REDUCTION, + both = "both", + TEMPORARY_PRICE_REDUCTION = "TEMPORARY_PRICE_REDUCTION", /** * This item is deprecated! * @deprecated */ - temporaryPriceReduction, + temporaryPriceReduction = "temporaryPriceReduction", } diff --git a/src/types/retail/offer/ReviewStatus.ts b/src/types/retail/offer/ReviewStatus.ts index c8ba762..f764241 100644 --- a/src/types/retail/offer/ReviewStatus.ts +++ b/src/types/retail/offer/ReviewStatus.ts @@ -1,27 +1,27 @@ export enum ReviewStatusEnum { - REVIEW_STATUS_UNSPECIFIED, - UNDER_REVIEW, + REVIEW_STATUS_UNSPECIFIED = "REVIEW_STATUS_UNSPECIFIED", + UNDER_REVIEW = "UNDER_REVIEW", /** * This item is deprecated! * @deprecated */ - underReview, - APPROVED, + underReview = "underReview", + APPROVED = "APPROVED", /** * This item is deprecated! * @deprecated */ - approved, - REJECTED, + approved = "approved", + REJECTED = "REJECTED", /** * This item is deprecated! * @deprecated */ - rejected, - DRAFT, + rejected = "rejected", + DRAFT = "DRAFT", /** * This item is deprecated! * @deprecated */ - draft, + draft = "draft", } diff --git a/src/types/retail/offer/ScreenshotEligibility.ts b/src/types/retail/offer/ScreenshotEligibility.ts index 11d555d..797d3c4 100644 --- a/src/types/retail/offer/ScreenshotEligibility.ts +++ b/src/types/retail/offer/ScreenshotEligibility.ts @@ -1,5 +1,5 @@ export enum ScreenshotEligibilityEnum { - SCREENSHOT_ELIGIBILITY_UNSPECIFIED, - ELIGIBLE, - INELIGIBLE, + SCREENSHOT_ELIGIBILITY_UNSPECIFIED = "SCREENSHOT_ELIGIBILITY_UNSPECIFIED", + ELIGIBLE = "ELIGIBLE", + INELIGIBLE = "INELIGIBLE", } diff --git a/src/types/retail/offer/State.ts b/src/types/retail/offer/State.ts index 456983d..acf8535 100644 --- a/src/types/retail/offer/State.ts +++ b/src/types/retail/offer/State.ts @@ -1,27 +1,27 @@ export enum StateEnum { - STATE_UNSPECIFIED, - ACTIVE, + STATE_UNSPECIFIED = "STATE_UNSPECIFIED", + ACTIVE = "ACTIVE", /** * This item is deprecated! * @deprecated */ - active, - COMPLETED, + active = "active", + COMPLETED = "COMPLETED", /** * This item is deprecated! * @deprecated */ - completed, - EXPIRED, + completed = "completed", + EXPIRED = "EXPIRED", /** * This item is deprecated! * @deprecated */ - expired, - INACTIVE, + expired = "expired", + INACTIVE = "INACTIVE", /** * This item is deprecated! * @deprecated */ - inactive, + inactive = "inactive", } diff --git a/src/types/retail/offer/TotpAlgorithm.ts b/src/types/retail/offer/TotpAlgorithm.ts index 380665c..46e192d 100644 --- a/src/types/retail/offer/TotpAlgorithm.ts +++ b/src/types/retail/offer/TotpAlgorithm.ts @@ -1,4 +1,4 @@ export enum TotpAlgorithmEnum { - TOTP_ALGORITHM_UNSPECIFIED, - TOTP_SHA1, + TOTP_ALGORITHM_UNSPECIFIED = "TOTP_ALGORITHM_UNSPECIFIED", + TOTP_SHA1 = "TOTP_SHA1", } diff --git a/src/types/retail/offer/TransitOption.ts b/src/types/retail/offer/TransitOption.ts index b43163f..c969ab5 100644 --- a/src/types/retail/offer/TransitOption.ts +++ b/src/types/retail/offer/TransitOption.ts @@ -1,21 +1,21 @@ export enum TransitOptionEnum { - TRANSIT_OPTION_UNSPECIFIED, - ORIGIN_AND_DESTINATION_NAMES, + TRANSIT_OPTION_UNSPECIFIED = "TRANSIT_OPTION_UNSPECIFIED", + ORIGIN_AND_DESTINATION_NAMES = "ORIGIN_AND_DESTINATION_NAMES", /** * This item is deprecated! * @deprecated */ - originAndDestinationNames, - ORIGIN_AND_DESTINATION_CODES, + originAndDestinationNames = "originAndDestinationNames", + ORIGIN_AND_DESTINATION_CODES = "ORIGIN_AND_DESTINATION_CODES", /** * This item is deprecated! * @deprecated */ - originAndDestinationCodes, - ORIGIN_NAME, + originAndDestinationCodes = "originAndDestinationCodes", + ORIGIN_NAME = "ORIGIN_NAME", /** * This item is deprecated! * @deprecated */ - originName, + originName = "originName", } diff --git a/src/types/retail/offer/ViewUnlockRequirement.ts b/src/types/retail/offer/ViewUnlockRequirement.ts index f5f66bc..2d3176b 100644 --- a/src/types/retail/offer/ViewUnlockRequirement.ts +++ b/src/types/retail/offer/ViewUnlockRequirement.ts @@ -1,8 +1,8 @@ export enum ViewUnlockRequirementEnum { - VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED, - UNLOCK_NOT_REQUIRED, + VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED = "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", + UNLOCK_NOT_REQUIRED = "UNLOCK_NOT_REQUIRED", /** * If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed. */ - UNLOCK_REQUIRED_TO_VIEW, + UNLOCK_REQUIRED_TO_VIEW = "UNLOCK_REQUIRED_TO_VIEW", } diff --git a/src/types/tickets/boarding-pass/AnimationType.ts b/src/types/tickets/boarding-pass/AnimationType.ts index c6e73c8..36b6239 100644 --- a/src/types/tickets/boarding-pass/AnimationType.ts +++ b/src/types/tickets/boarding-pass/AnimationType.ts @@ -1,9 +1,9 @@ export enum AnimationTypeEnum { - ANIMATION_UNSPECIFIED, - FOIL_SHIMMER, + ANIMATION_UNSPECIFIED = "ANIMATION_UNSPECIFIED", + FOIL_SHIMMER = "FOIL_SHIMMER", /** * This item is deprecated! * @deprecated */ - foilShimmer, + foilShimmer = "foilShimmer", } diff --git a/src/types/tickets/boarding-pass/BarcodeRenderEncoding.ts b/src/types/tickets/boarding-pass/BarcodeRenderEncoding.ts index 60664f0..2c00b8a 100644 --- a/src/types/tickets/boarding-pass/BarcodeRenderEncoding.ts +++ b/src/types/tickets/boarding-pass/BarcodeRenderEncoding.ts @@ -1,4 +1,4 @@ export enum BarcodeRenderEncodingEnum { - RENDER_ENCODING_UNSPECIFIED, - UTF_8, + RENDER_ENCODING_UNSPECIFIED = "RENDER_ENCODING_UNSPECIFIED", + UTF_8 = "UTF_8", } diff --git a/src/types/tickets/boarding-pass/BarcodeType.ts b/src/types/tickets/boarding-pass/BarcodeType.ts index 5923ef4..88b548f 100644 --- a/src/types/tickets/boarding-pass/BarcodeType.ts +++ b/src/types/tickets/boarding-pass/BarcodeType.ts @@ -1,90 +1,90 @@ export enum BarcodeTypeEnum { - BARCODE_TYPE_UNSPECIFIED, - AZTEC, + BARCODE_TYPE_UNSPECIFIED = "BARCODE_TYPE_UNSPECIFIED", + AZTEC = "AZTEC", /** * This item is deprecated! * @deprecated */ - aztec, - CODE_39, + aztec = "aztec", + CODE_39 = "CODE_39", /** * This item is deprecated! * @deprecated */ - code39, - CODE_128, + code39 = "code39", + CODE_128 = "CODE_128", /** * This item is deprecated! * @deprecated */ - code128, - CODABAR, + code128 = "code128", + CODABAR = "CODABAR", /** * This item is deprecated! * @deprecated */ - codabar, - DATA_MATRIX, + codabar = "codabar", + DATA_MATRIX = "DATA_MATRIX", /** * This item is deprecated! * @deprecated */ - dataMatrix, - EAN_8, + dataMatrix = "dataMatrix", + EAN_8 = "EAN_8", /** * This item is deprecated! * @deprecated */ - ean8, - EAN_13, + ean8 = "ean8", + EAN_13 = "EAN_13", /** * This item is deprecated! * @deprecated */ - ean13, + ean13 = "ean13", /** * This item is deprecated! * @deprecated */ - EAN13, - ITF_14, + EAN13 = "EAN13", + ITF_14 = "ITF_14", /** * This item is deprecated! * @deprecated */ - itf14, - PDF_417, + itf14 = "itf14", + PDF_417 = "PDF_417", /** * This item is deprecated! * @deprecated */ - pdf417, + pdf417 = "pdf417", /** * This item is deprecated! * @deprecated */ - PDF417, - QR_CODE, + PDF417 = "PDF417", + QR_CODE = "QR_CODE", /** * This item is deprecated! * @deprecated */ - qrCode, + qrCode = "qrCode", /** * This item is deprecated! * @deprecated */ - qrcode, - UPC_A, + qrcode = "qrcode", + UPC_A = "UPC_A", /** * This item is deprecated! * @deprecated */ - upcA, - TEXT_ONLY, + upcA = "upcA", + TEXT_ONLY = "TEXT_ONLY", /** * This item is deprecated! * @deprecated */ - textOnly, + textOnly = "textOnly", } diff --git a/src/types/tickets/boarding-pass/BoardingDoor.ts b/src/types/tickets/boarding-pass/BoardingDoor.ts index 92fda5b..c447ba6 100644 --- a/src/types/tickets/boarding-pass/BoardingDoor.ts +++ b/src/types/tickets/boarding-pass/BoardingDoor.ts @@ -1,15 +1,15 @@ export enum BoardingDoorEnum { - BOARDING_DOOR_UNSPECIFIED, - FRONT, + BOARDING_DOOR_UNSPECIFIED = "BOARDING_DOOR_UNSPECIFIED", + FRONT = "FRONT", /** * This item is deprecated! * @deprecated */ - front, - BACK, + front = "front", + BACK = "BACK", /** * This item is deprecated! * @deprecated */ - back, + back = "back", } diff --git a/src/types/tickets/boarding-pass/BoardingPolicy.ts b/src/types/tickets/boarding-pass/BoardingPolicy.ts index d9cb8f6..dbab139 100644 --- a/src/types/tickets/boarding-pass/BoardingPolicy.ts +++ b/src/types/tickets/boarding-pass/BoardingPolicy.ts @@ -1,21 +1,21 @@ export enum BoardingPolicyEnum { - BOARDING_POLICY_UNSPECIFIED, - ZONE_BASED, + BOARDING_POLICY_UNSPECIFIED = "BOARDING_POLICY_UNSPECIFIED", + ZONE_BASED = "ZONE_BASED", /** * This item is deprecated! * @deprecated */ - zoneBased, - GROUP_BASED, + zoneBased = "zoneBased", + GROUP_BASED = "GROUP_BASED", /** * This item is deprecated! * @deprecated */ - groupBased, - BOARDING_POLICY_OTHER, + groupBased = "groupBased", + BOARDING_POLICY_OTHER = "BOARDING_POLICY_OTHER", /** * This item is deprecated! * @deprecated */ - boardingPolicyOther, + boardingPolicyOther = "boardingPolicyOther", } diff --git a/src/types/tickets/boarding-pass/DateFormat.ts b/src/types/tickets/boarding-pass/DateFormat.ts index b297940..a1b6b40 100644 --- a/src/types/tickets/boarding-pass/DateFormat.ts +++ b/src/types/tickets/boarding-pass/DateFormat.ts @@ -1,33 +1,33 @@ export enum DateFormatEnum { - DATE_FORMAT_UNSPECIFIED, - DATE_TIME, + DATE_FORMAT_UNSPECIFIED = "DATE_FORMAT_UNSPECIFIED", + DATE_TIME = "DATE_TIME", /** * This item is deprecated! * @deprecated */ - dateTime, - DATE_ONLY, + dateTime = "dateTime", + DATE_ONLY = "DATE_ONLY", /** * This item is deprecated! * @deprecated */ - dateOnly, - TIME_ONLY, + dateOnly = "dateOnly", + TIME_ONLY = "TIME_ONLY", /** * This item is deprecated! * @deprecated */ - timeOnly, - DATE_TIME_YEAR, + timeOnly = "timeOnly", + DATE_TIME_YEAR = "DATE_TIME_YEAR", /** * This item is deprecated! * @deprecated */ - dateTimeYear, - DATE_YEAR, + dateTimeYear = "dateTimeYear", + DATE_YEAR = "DATE_YEAR", /** * This item is deprecated! * @deprecated */ - dateYear, + dateYear = "dateYear", } diff --git a/src/types/tickets/boarding-pass/FlightStatus.ts b/src/types/tickets/boarding-pass/FlightStatus.ts index 9290692..57c7715 100644 --- a/src/types/tickets/boarding-pass/FlightStatus.ts +++ b/src/types/tickets/boarding-pass/FlightStatus.ts @@ -1,39 +1,39 @@ export enum FlightStatusEnum { - FLIGHT_STATUS_UNSPECIFIED, - SCHEDULED, + FLIGHT_STATUS_UNSPECIFIED = "FLIGHT_STATUS_UNSPECIFIED", + SCHEDULED = "SCHEDULED", /** * This item is deprecated! * @deprecated */ - scheduled, - ACTIVE, + scheduled = "scheduled", + ACTIVE = "ACTIVE", /** * This item is deprecated! * @deprecated */ - active, - LANDED, + active = "active", + LANDED = "LANDED", /** * This item is deprecated! * @deprecated */ - landed, - CANCELLED, + landed = "landed", + CANCELLED = "CANCELLED", /** * This item is deprecated! * @deprecated */ - cancelled, - REDIRECTED, + cancelled = "cancelled", + REDIRECTED = "REDIRECTED", /** * This item is deprecated! * @deprecated */ - redirected, - DIVERTED, + redirected = "redirected", + DIVERTED = "DIVERTED", /** * This item is deprecated! * @deprecated */ - diverted, + diverted = "diverted", } diff --git a/src/types/tickets/boarding-pass/MessageType.ts b/src/types/tickets/boarding-pass/MessageType.ts index bc1afe7..02487d7 100644 --- a/src/types/tickets/boarding-pass/MessageType.ts +++ b/src/types/tickets/boarding-pass/MessageType.ts @@ -1,15 +1,15 @@ export enum MessageTypeEnum { - MESSAGE_TYPE_UNSPECIFIED, - TEXT, + MESSAGE_TYPE_UNSPECIFIED = "MESSAGE_TYPE_UNSPECIFIED", + TEXT = "TEXT", /** * This item is deprecated! * @deprecated */ - text, - EXPIRATION_NOTIFICATION, + text = "text", + EXPIRATION_NOTIFICATION = "EXPIRATION_NOTIFICATION", /** * This item is deprecated! * @deprecated */ - expirationNotification, + expirationNotification = "expirationNotification", } diff --git a/src/types/tickets/boarding-pass/MultipleDevicesAndHoldersAllowedStatus.ts b/src/types/tickets/boarding-pass/MultipleDevicesAndHoldersAllowedStatus.ts index e894699..664703e 100644 --- a/src/types/tickets/boarding-pass/MultipleDevicesAndHoldersAllowedStatus.ts +++ b/src/types/tickets/boarding-pass/MultipleDevicesAndHoldersAllowedStatus.ts @@ -1,21 +1,21 @@ export enum MultipleDevicesAndHoldersAllowedStatusEnum { - STATUS_UNSPECIFIED, - MULTIPLE_HOLDERS, + STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED", + MULTIPLE_HOLDERS = "MULTIPLE_HOLDERS", /** * This item is deprecated! * @deprecated */ - multipleHolders, - ONE_USER_ALL_DEVICES, + multipleHolders = "multipleHolders", + ONE_USER_ALL_DEVICES = "ONE_USER_ALL_DEVICES", /** * This item is deprecated! * @deprecated */ - oneUserAllDevices, - ONE_USER_ONE_DEVICE, + oneUserAllDevices = "oneUserAllDevices", + ONE_USER_ONE_DEVICE = "ONE_USER_ONE_DEVICE", /** * This item is deprecated! * @deprecated */ - oneUserOneDevice, + oneUserOneDevice = "oneUserOneDevice", } diff --git a/src/types/tickets/boarding-pass/NfcConstraint.ts b/src/types/tickets/boarding-pass/NfcConstraint.ts index e61812c..b710966 100644 --- a/src/types/tickets/boarding-pass/NfcConstraint.ts +++ b/src/types/tickets/boarding-pass/NfcConstraint.ts @@ -1,5 +1,5 @@ export enum NfcConstraintEnum { - NFC_CONSTRAINT_UNSPECIFIED, - BLOCK_PAYMENT, - BLOCK_CLOSED_LOOP_TRANSIT, + NFC_CONSTRAINT_UNSPECIFIED = "NFC_CONSTRAINT_UNSPECIFIED", + BLOCK_PAYMENT = "BLOCK_PAYMENT", + BLOCK_CLOSED_LOOP_TRANSIT = "BLOCK_CLOSED_LOOP_TRANSIT", } diff --git a/src/types/tickets/boarding-pass/PredefinedItem.ts b/src/types/tickets/boarding-pass/PredefinedItem.ts index 6867b5b..d27c364 100644 --- a/src/types/tickets/boarding-pass/PredefinedItem.ts +++ b/src/types/tickets/boarding-pass/PredefinedItem.ts @@ -1,15 +1,15 @@ export enum PredefinedItemEnum { - PREDEFINED_ITEM_UNSPECIFIED, - FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER, + PREDEFINED_ITEM_UNSPECIFIED = "PREDEFINED_ITEM_UNSPECIFIED", + FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER = "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", /** * This item is deprecated! * @deprecated */ - frequentFlyerProgramNameAndNumber, - FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER, + frequentFlyerProgramNameAndNumber = "frequentFlyerProgramNameAndNumber", + FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER = "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", /** * This item is deprecated! * @deprecated */ - flightNumberAndOperatingFlightNumber, + flightNumberAndOperatingFlightNumber = "flightNumberAndOperatingFlightNumber", } diff --git a/src/types/tickets/boarding-pass/ReviewStatus.ts b/src/types/tickets/boarding-pass/ReviewStatus.ts index c8ba762..f764241 100644 --- a/src/types/tickets/boarding-pass/ReviewStatus.ts +++ b/src/types/tickets/boarding-pass/ReviewStatus.ts @@ -1,27 +1,27 @@ export enum ReviewStatusEnum { - REVIEW_STATUS_UNSPECIFIED, - UNDER_REVIEW, + REVIEW_STATUS_UNSPECIFIED = "REVIEW_STATUS_UNSPECIFIED", + UNDER_REVIEW = "UNDER_REVIEW", /** * This item is deprecated! * @deprecated */ - underReview, - APPROVED, + underReview = "underReview", + APPROVED = "APPROVED", /** * This item is deprecated! * @deprecated */ - approved, - REJECTED, + approved = "approved", + REJECTED = "REJECTED", /** * This item is deprecated! * @deprecated */ - rejected, - DRAFT, + rejected = "rejected", + DRAFT = "DRAFT", /** * This item is deprecated! * @deprecated */ - draft, + draft = "draft", } diff --git a/src/types/tickets/boarding-pass/ScreenshotEligibility.ts b/src/types/tickets/boarding-pass/ScreenshotEligibility.ts index 11d555d..797d3c4 100644 --- a/src/types/tickets/boarding-pass/ScreenshotEligibility.ts +++ b/src/types/tickets/boarding-pass/ScreenshotEligibility.ts @@ -1,5 +1,5 @@ export enum ScreenshotEligibilityEnum { - SCREENSHOT_ELIGIBILITY_UNSPECIFIED, - ELIGIBLE, - INELIGIBLE, + SCREENSHOT_ELIGIBILITY_UNSPECIFIED = "SCREENSHOT_ELIGIBILITY_UNSPECIFIED", + ELIGIBLE = "ELIGIBLE", + INELIGIBLE = "INELIGIBLE", } diff --git a/src/types/tickets/boarding-pass/SeatClassPolicy.ts b/src/types/tickets/boarding-pass/SeatClassPolicy.ts index b8fbf44..bbd3816 100644 --- a/src/types/tickets/boarding-pass/SeatClassPolicy.ts +++ b/src/types/tickets/boarding-pass/SeatClassPolicy.ts @@ -1,27 +1,27 @@ export enum SeatClassPolicyEnum { - SEAT_CLASS_POLICY_UNSPECIFIED, - CABIN_BASED, + SEAT_CLASS_POLICY_UNSPECIFIED = "SEAT_CLASS_POLICY_UNSPECIFIED", + CABIN_BASED = "CABIN_BASED", /** * This item is deprecated! * @deprecated */ - cabinBased, - CLASS_BASED, + cabinBased = "cabinBased", + CLASS_BASED = "CLASS_BASED", /** * This item is deprecated! * @deprecated */ - classBased, - TIER_BASED, + classBased = "classBased", + TIER_BASED = "TIER_BASED", /** * This item is deprecated! * @deprecated */ - tierBased, - SEAT_CLASS_POLICY_OTHER, + tierBased = "tierBased", + SEAT_CLASS_POLICY_OTHER = "SEAT_CLASS_POLICY_OTHER", /** * This item is deprecated! * @deprecated */ - seatClassPolicyOther, + seatClassPolicyOther = "seatClassPolicyOther", } diff --git a/src/types/tickets/boarding-pass/State.ts b/src/types/tickets/boarding-pass/State.ts index 456983d..acf8535 100644 --- a/src/types/tickets/boarding-pass/State.ts +++ b/src/types/tickets/boarding-pass/State.ts @@ -1,27 +1,27 @@ export enum StateEnum { - STATE_UNSPECIFIED, - ACTIVE, + STATE_UNSPECIFIED = "STATE_UNSPECIFIED", + ACTIVE = "ACTIVE", /** * This item is deprecated! * @deprecated */ - active, - COMPLETED, + active = "active", + COMPLETED = "COMPLETED", /** * This item is deprecated! * @deprecated */ - completed, - EXPIRED, + completed = "completed", + EXPIRED = "EXPIRED", /** * This item is deprecated! * @deprecated */ - expired, - INACTIVE, + expired = "expired", + INACTIVE = "INACTIVE", /** * This item is deprecated! * @deprecated */ - inactive, + inactive = "inactive", } diff --git a/src/types/tickets/boarding-pass/TotpAlgorithm.ts b/src/types/tickets/boarding-pass/TotpAlgorithm.ts index 380665c..46e192d 100644 --- a/src/types/tickets/boarding-pass/TotpAlgorithm.ts +++ b/src/types/tickets/boarding-pass/TotpAlgorithm.ts @@ -1,4 +1,4 @@ export enum TotpAlgorithmEnum { - TOTP_ALGORITHM_UNSPECIFIED, - TOTP_SHA1, + TOTP_ALGORITHM_UNSPECIFIED = "TOTP_ALGORITHM_UNSPECIFIED", + TOTP_SHA1 = "TOTP_SHA1", } diff --git a/src/types/tickets/boarding-pass/TransitOption.ts b/src/types/tickets/boarding-pass/TransitOption.ts index b43163f..c969ab5 100644 --- a/src/types/tickets/boarding-pass/TransitOption.ts +++ b/src/types/tickets/boarding-pass/TransitOption.ts @@ -1,21 +1,21 @@ export enum TransitOptionEnum { - TRANSIT_OPTION_UNSPECIFIED, - ORIGIN_AND_DESTINATION_NAMES, + TRANSIT_OPTION_UNSPECIFIED = "TRANSIT_OPTION_UNSPECIFIED", + ORIGIN_AND_DESTINATION_NAMES = "ORIGIN_AND_DESTINATION_NAMES", /** * This item is deprecated! * @deprecated */ - originAndDestinationNames, - ORIGIN_AND_DESTINATION_CODES, + originAndDestinationNames = "originAndDestinationNames", + ORIGIN_AND_DESTINATION_CODES = "ORIGIN_AND_DESTINATION_CODES", /** * This item is deprecated! * @deprecated */ - originAndDestinationCodes, - ORIGIN_NAME, + originAndDestinationCodes = "originAndDestinationCodes", + ORIGIN_NAME = "ORIGIN_NAME", /** * This item is deprecated! * @deprecated */ - originName, + originName = "originName", } diff --git a/src/types/tickets/boarding-pass/ViewUnlockRequirement.ts b/src/types/tickets/boarding-pass/ViewUnlockRequirement.ts index f5f66bc..2d3176b 100644 --- a/src/types/tickets/boarding-pass/ViewUnlockRequirement.ts +++ b/src/types/tickets/boarding-pass/ViewUnlockRequirement.ts @@ -1,8 +1,8 @@ export enum ViewUnlockRequirementEnum { - VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED, - UNLOCK_NOT_REQUIRED, + VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED = "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", + UNLOCK_NOT_REQUIRED = "UNLOCK_NOT_REQUIRED", /** * If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed. */ - UNLOCK_REQUIRED_TO_VIEW, + UNLOCK_REQUIRED_TO_VIEW = "UNLOCK_REQUIRED_TO_VIEW", } diff --git a/src/types/tickets/event/AnimationType.ts b/src/types/tickets/event/AnimationType.ts index c6e73c8..36b6239 100644 --- a/src/types/tickets/event/AnimationType.ts +++ b/src/types/tickets/event/AnimationType.ts @@ -1,9 +1,9 @@ export enum AnimationTypeEnum { - ANIMATION_UNSPECIFIED, - FOIL_SHIMMER, + ANIMATION_UNSPECIFIED = "ANIMATION_UNSPECIFIED", + FOIL_SHIMMER = "FOIL_SHIMMER", /** * This item is deprecated! * @deprecated */ - foilShimmer, + foilShimmer = "foilShimmer", } diff --git a/src/types/tickets/event/BarcodeRenderEncoding.ts b/src/types/tickets/event/BarcodeRenderEncoding.ts index 60664f0..2c00b8a 100644 --- a/src/types/tickets/event/BarcodeRenderEncoding.ts +++ b/src/types/tickets/event/BarcodeRenderEncoding.ts @@ -1,4 +1,4 @@ export enum BarcodeRenderEncodingEnum { - RENDER_ENCODING_UNSPECIFIED, - UTF_8, + RENDER_ENCODING_UNSPECIFIED = "RENDER_ENCODING_UNSPECIFIED", + UTF_8 = "UTF_8", } diff --git a/src/types/tickets/event/BarcodeType.ts b/src/types/tickets/event/BarcodeType.ts index 5923ef4..88b548f 100644 --- a/src/types/tickets/event/BarcodeType.ts +++ b/src/types/tickets/event/BarcodeType.ts @@ -1,90 +1,90 @@ export enum BarcodeTypeEnum { - BARCODE_TYPE_UNSPECIFIED, - AZTEC, + BARCODE_TYPE_UNSPECIFIED = "BARCODE_TYPE_UNSPECIFIED", + AZTEC = "AZTEC", /** * This item is deprecated! * @deprecated */ - aztec, - CODE_39, + aztec = "aztec", + CODE_39 = "CODE_39", /** * This item is deprecated! * @deprecated */ - code39, - CODE_128, + code39 = "code39", + CODE_128 = "CODE_128", /** * This item is deprecated! * @deprecated */ - code128, - CODABAR, + code128 = "code128", + CODABAR = "CODABAR", /** * This item is deprecated! * @deprecated */ - codabar, - DATA_MATRIX, + codabar = "codabar", + DATA_MATRIX = "DATA_MATRIX", /** * This item is deprecated! * @deprecated */ - dataMatrix, - EAN_8, + dataMatrix = "dataMatrix", + EAN_8 = "EAN_8", /** * This item is deprecated! * @deprecated */ - ean8, - EAN_13, + ean8 = "ean8", + EAN_13 = "EAN_13", /** * This item is deprecated! * @deprecated */ - ean13, + ean13 = "ean13", /** * This item is deprecated! * @deprecated */ - EAN13, - ITF_14, + EAN13 = "EAN13", + ITF_14 = "ITF_14", /** * This item is deprecated! * @deprecated */ - itf14, - PDF_417, + itf14 = "itf14", + PDF_417 = "PDF_417", /** * This item is deprecated! * @deprecated */ - pdf417, + pdf417 = "pdf417", /** * This item is deprecated! * @deprecated */ - PDF417, - QR_CODE, + PDF417 = "PDF417", + QR_CODE = "QR_CODE", /** * This item is deprecated! * @deprecated */ - qrCode, + qrCode = "qrCode", /** * This item is deprecated! * @deprecated */ - qrcode, - UPC_A, + qrcode = "qrcode", + UPC_A = "UPC_A", /** * This item is deprecated! * @deprecated */ - upcA, - TEXT_ONLY, + upcA = "upcA", + TEXT_ONLY = "TEXT_ONLY", /** * This item is deprecated! * @deprecated */ - textOnly, + textOnly = "textOnly", } diff --git a/src/types/tickets/event/ConfirmationCodeLabel.ts b/src/types/tickets/event/ConfirmationCodeLabel.ts index ebfc1da..1325783 100644 --- a/src/types/tickets/event/ConfirmationCodeLabel.ts +++ b/src/types/tickets/event/ConfirmationCodeLabel.ts @@ -1,27 +1,27 @@ export enum ConfirmationCodeLabelEnum { - CONFIRMATION_CODE_LABEL_UNSPECIFIED, - CONFIRMATION_CODE, + CONFIRMATION_CODE_LABEL_UNSPECIFIED = "CONFIRMATION_CODE_LABEL_UNSPECIFIED", + CONFIRMATION_CODE = "CONFIRMATION_CODE", /** * This item is deprecated! * @deprecated */ - confirmationCode, - CONFIRMATION_NUMBER, + confirmationCode = "confirmationCode", + CONFIRMATION_NUMBER = "CONFIRMATION_NUMBER", /** * This item is deprecated! * @deprecated */ - confirmationNumber, - ORDER_NUMBER, + confirmationNumber = "confirmationNumber", + ORDER_NUMBER = "ORDER_NUMBER", /** * This item is deprecated! * @deprecated */ - orderNumber, - RESERVATION_NUMBER, + orderNumber = "orderNumber", + RESERVATION_NUMBER = "RESERVATION_NUMBER", /** * This item is deprecated! * @deprecated */ - reservationNumber, + reservationNumber = "reservationNumber", } diff --git a/src/types/tickets/event/DateFormat.ts b/src/types/tickets/event/DateFormat.ts index b297940..a1b6b40 100644 --- a/src/types/tickets/event/DateFormat.ts +++ b/src/types/tickets/event/DateFormat.ts @@ -1,33 +1,33 @@ export enum DateFormatEnum { - DATE_FORMAT_UNSPECIFIED, - DATE_TIME, + DATE_FORMAT_UNSPECIFIED = "DATE_FORMAT_UNSPECIFIED", + DATE_TIME = "DATE_TIME", /** * This item is deprecated! * @deprecated */ - dateTime, - DATE_ONLY, + dateTime = "dateTime", + DATE_ONLY = "DATE_ONLY", /** * This item is deprecated! * @deprecated */ - dateOnly, - TIME_ONLY, + dateOnly = "dateOnly", + TIME_ONLY = "TIME_ONLY", /** * This item is deprecated! * @deprecated */ - timeOnly, - DATE_TIME_YEAR, + timeOnly = "timeOnly", + DATE_TIME_YEAR = "DATE_TIME_YEAR", /** * This item is deprecated! * @deprecated */ - dateTimeYear, - DATE_YEAR, + dateTimeYear = "dateTimeYear", + DATE_YEAR = "DATE_YEAR", /** * This item is deprecated! * @deprecated */ - dateYear, + dateYear = "dateYear", } diff --git a/src/types/tickets/event/DoorsOpenLabel.ts b/src/types/tickets/event/DoorsOpenLabel.ts index 02c5048..b87cced 100644 --- a/src/types/tickets/event/DoorsOpenLabel.ts +++ b/src/types/tickets/event/DoorsOpenLabel.ts @@ -1,15 +1,15 @@ export enum DoorsOpenLabelEnum { - DOORS_OPEN_LABEL_UNSPECIFIED, - DOORS_OPEN, + DOORS_OPEN_LABEL_UNSPECIFIED = "DOORS_OPEN_LABEL_UNSPECIFIED", + DOORS_OPEN = "DOORS_OPEN", /** * This item is deprecated! * @deprecated */ - doorsOpen, - GATES_OPEN, + doorsOpen = "doorsOpen", + GATES_OPEN = "GATES_OPEN", /** * This item is deprecated! * @deprecated */ - gatesOpen, + gatesOpen = "gatesOpen", } diff --git a/src/types/tickets/event/GateLabel.ts b/src/types/tickets/event/GateLabel.ts index 7480052..cb35ebc 100644 --- a/src/types/tickets/event/GateLabel.ts +++ b/src/types/tickets/event/GateLabel.ts @@ -1,21 +1,21 @@ export enum GateLabelEnum { - GATE_LABEL_UNSPECIFIED, - GATE, + GATE_LABEL_UNSPECIFIED = "GATE_LABEL_UNSPECIFIED", + GATE = "GATE", /** * This item is deprecated! * @deprecated */ - gate, - DOOR, + gate = "gate", + DOOR = "DOOR", /** * This item is deprecated! * @deprecated */ - door, - ENTRANCE, + door = "door", + ENTRANCE = "ENTRANCE", /** * This item is deprecated! * @deprecated */ - entrance, + entrance = "entrance", } diff --git a/src/types/tickets/event/MessageType.ts b/src/types/tickets/event/MessageType.ts index bc1afe7..02487d7 100644 --- a/src/types/tickets/event/MessageType.ts +++ b/src/types/tickets/event/MessageType.ts @@ -1,15 +1,15 @@ export enum MessageTypeEnum { - MESSAGE_TYPE_UNSPECIFIED, - TEXT, + MESSAGE_TYPE_UNSPECIFIED = "MESSAGE_TYPE_UNSPECIFIED", + TEXT = "TEXT", /** * This item is deprecated! * @deprecated */ - text, - EXPIRATION_NOTIFICATION, + text = "text", + EXPIRATION_NOTIFICATION = "EXPIRATION_NOTIFICATION", /** * This item is deprecated! * @deprecated */ - expirationNotification, + expirationNotification = "expirationNotification", } diff --git a/src/types/tickets/event/MultipleDevicesAndHoldersAllowedStatus.ts b/src/types/tickets/event/MultipleDevicesAndHoldersAllowedStatus.ts index e894699..664703e 100644 --- a/src/types/tickets/event/MultipleDevicesAndHoldersAllowedStatus.ts +++ b/src/types/tickets/event/MultipleDevicesAndHoldersAllowedStatus.ts @@ -1,21 +1,21 @@ export enum MultipleDevicesAndHoldersAllowedStatusEnum { - STATUS_UNSPECIFIED, - MULTIPLE_HOLDERS, + STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED", + MULTIPLE_HOLDERS = "MULTIPLE_HOLDERS", /** * This item is deprecated! * @deprecated */ - multipleHolders, - ONE_USER_ALL_DEVICES, + multipleHolders = "multipleHolders", + ONE_USER_ALL_DEVICES = "ONE_USER_ALL_DEVICES", /** * This item is deprecated! * @deprecated */ - oneUserAllDevices, - ONE_USER_ONE_DEVICE, + oneUserAllDevices = "oneUserAllDevices", + ONE_USER_ONE_DEVICE = "ONE_USER_ONE_DEVICE", /** * This item is deprecated! * @deprecated */ - oneUserOneDevice, + oneUserOneDevice = "oneUserOneDevice", } diff --git a/src/types/tickets/event/NfcConstraint.ts b/src/types/tickets/event/NfcConstraint.ts index e61812c..b710966 100644 --- a/src/types/tickets/event/NfcConstraint.ts +++ b/src/types/tickets/event/NfcConstraint.ts @@ -1,5 +1,5 @@ export enum NfcConstraintEnum { - NFC_CONSTRAINT_UNSPECIFIED, - BLOCK_PAYMENT, - BLOCK_CLOSED_LOOP_TRANSIT, + NFC_CONSTRAINT_UNSPECIFIED = "NFC_CONSTRAINT_UNSPECIFIED", + BLOCK_PAYMENT = "BLOCK_PAYMENT", + BLOCK_CLOSED_LOOP_TRANSIT = "BLOCK_CLOSED_LOOP_TRANSIT", } diff --git a/src/types/tickets/event/PredefinedItem.ts b/src/types/tickets/event/PredefinedItem.ts index 6867b5b..d27c364 100644 --- a/src/types/tickets/event/PredefinedItem.ts +++ b/src/types/tickets/event/PredefinedItem.ts @@ -1,15 +1,15 @@ export enum PredefinedItemEnum { - PREDEFINED_ITEM_UNSPECIFIED, - FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER, + PREDEFINED_ITEM_UNSPECIFIED = "PREDEFINED_ITEM_UNSPECIFIED", + FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER = "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", /** * This item is deprecated! * @deprecated */ - frequentFlyerProgramNameAndNumber, - FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER, + frequentFlyerProgramNameAndNumber = "frequentFlyerProgramNameAndNumber", + FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER = "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", /** * This item is deprecated! * @deprecated */ - flightNumberAndOperatingFlightNumber, + flightNumberAndOperatingFlightNumber = "flightNumberAndOperatingFlightNumber", } diff --git a/src/types/tickets/event/ReviewStatus.ts b/src/types/tickets/event/ReviewStatus.ts index c8ba762..f764241 100644 --- a/src/types/tickets/event/ReviewStatus.ts +++ b/src/types/tickets/event/ReviewStatus.ts @@ -1,27 +1,27 @@ export enum ReviewStatusEnum { - REVIEW_STATUS_UNSPECIFIED, - UNDER_REVIEW, + REVIEW_STATUS_UNSPECIFIED = "REVIEW_STATUS_UNSPECIFIED", + UNDER_REVIEW = "UNDER_REVIEW", /** * This item is deprecated! * @deprecated */ - underReview, - APPROVED, + underReview = "underReview", + APPROVED = "APPROVED", /** * This item is deprecated! * @deprecated */ - approved, - REJECTED, + approved = "approved", + REJECTED = "REJECTED", /** * This item is deprecated! * @deprecated */ - rejected, - DRAFT, + rejected = "rejected", + DRAFT = "DRAFT", /** * This item is deprecated! * @deprecated */ - draft, + draft = "draft", } diff --git a/src/types/tickets/event/RowLabel.ts b/src/types/tickets/event/RowLabel.ts index c8b9bd2..e6a311d 100644 --- a/src/types/tickets/event/RowLabel.ts +++ b/src/types/tickets/event/RowLabel.ts @@ -1,9 +1,9 @@ export enum RowLabelEnum { - ROW_LABEL_UNSPECIFIED, - ROW, + ROW_LABEL_UNSPECIFIED = "ROW_LABEL_UNSPECIFIED", + ROW = "ROW", /** * This item is deprecated! * @deprecated */ - row, + row = "row", } diff --git a/src/types/tickets/event/ScreenshotEligibility.ts b/src/types/tickets/event/ScreenshotEligibility.ts index 11d555d..797d3c4 100644 --- a/src/types/tickets/event/ScreenshotEligibility.ts +++ b/src/types/tickets/event/ScreenshotEligibility.ts @@ -1,5 +1,5 @@ export enum ScreenshotEligibilityEnum { - SCREENSHOT_ELIGIBILITY_UNSPECIFIED, - ELIGIBLE, - INELIGIBLE, + SCREENSHOT_ELIGIBILITY_UNSPECIFIED = "SCREENSHOT_ELIGIBILITY_UNSPECIFIED", + ELIGIBLE = "ELIGIBLE", + INELIGIBLE = "INELIGIBLE", } diff --git a/src/types/tickets/event/SeatLabel.ts b/src/types/tickets/event/SeatLabel.ts index f269f9b..a73e116 100644 --- a/src/types/tickets/event/SeatLabel.ts +++ b/src/types/tickets/event/SeatLabel.ts @@ -1,9 +1,9 @@ export enum SeatLabelEnum { - SEAT_LABEL_UNSPECIFIED, - SEAT, + SEAT_LABEL_UNSPECIFIED = "SEAT_LABEL_UNSPECIFIED", + SEAT = "SEAT", /** * This item is deprecated! * @deprecated */ - seat, + seat = "seat", } diff --git a/src/types/tickets/event/SectionLabel.ts b/src/types/tickets/event/SectionLabel.ts index dc905c6..a907f92 100644 --- a/src/types/tickets/event/SectionLabel.ts +++ b/src/types/tickets/event/SectionLabel.ts @@ -1,15 +1,15 @@ export enum SectionLabelEnum { - SECTION_LABEL_UNSPECIFIED, - SECTION, + SECTION_LABEL_UNSPECIFIED = "SECTION_LABEL_UNSPECIFIED", + SECTION = "SECTION", /** * This item is deprecated! * @deprecated */ - section, - THEATER, + section = "section", + THEATER = "THEATER", /** * This item is deprecated! * @deprecated */ - theater, + theater = "theater", } diff --git a/src/types/tickets/event/State.ts b/src/types/tickets/event/State.ts index 456983d..acf8535 100644 --- a/src/types/tickets/event/State.ts +++ b/src/types/tickets/event/State.ts @@ -1,27 +1,27 @@ export enum StateEnum { - STATE_UNSPECIFIED, - ACTIVE, + STATE_UNSPECIFIED = "STATE_UNSPECIFIED", + ACTIVE = "ACTIVE", /** * This item is deprecated! * @deprecated */ - active, - COMPLETED, + active = "active", + COMPLETED = "COMPLETED", /** * This item is deprecated! * @deprecated */ - completed, - EXPIRED, + completed = "completed", + EXPIRED = "EXPIRED", /** * This item is deprecated! * @deprecated */ - expired, - INACTIVE, + expired = "expired", + INACTIVE = "INACTIVE", /** * This item is deprecated! * @deprecated */ - inactive, + inactive = "inactive", } diff --git a/src/types/tickets/event/TotpAlgorithm.ts b/src/types/tickets/event/TotpAlgorithm.ts index 380665c..46e192d 100644 --- a/src/types/tickets/event/TotpAlgorithm.ts +++ b/src/types/tickets/event/TotpAlgorithm.ts @@ -1,4 +1,4 @@ export enum TotpAlgorithmEnum { - TOTP_ALGORITHM_UNSPECIFIED, - TOTP_SHA1, + TOTP_ALGORITHM_UNSPECIFIED = "TOTP_ALGORITHM_UNSPECIFIED", + TOTP_SHA1 = "TOTP_SHA1", } diff --git a/src/types/tickets/event/TransitOption.ts b/src/types/tickets/event/TransitOption.ts index b43163f..c969ab5 100644 --- a/src/types/tickets/event/TransitOption.ts +++ b/src/types/tickets/event/TransitOption.ts @@ -1,21 +1,21 @@ export enum TransitOptionEnum { - TRANSIT_OPTION_UNSPECIFIED, - ORIGIN_AND_DESTINATION_NAMES, + TRANSIT_OPTION_UNSPECIFIED = "TRANSIT_OPTION_UNSPECIFIED", + ORIGIN_AND_DESTINATION_NAMES = "ORIGIN_AND_DESTINATION_NAMES", /** * This item is deprecated! * @deprecated */ - originAndDestinationNames, - ORIGIN_AND_DESTINATION_CODES, + originAndDestinationNames = "originAndDestinationNames", + ORIGIN_AND_DESTINATION_CODES = "ORIGIN_AND_DESTINATION_CODES", /** * This item is deprecated! * @deprecated */ - originAndDestinationCodes, - ORIGIN_NAME, + originAndDestinationCodes = "originAndDestinationCodes", + ORIGIN_NAME = "ORIGIN_NAME", /** * This item is deprecated! * @deprecated */ - originName, + originName = "originName", } diff --git a/src/types/tickets/event/ViewUnlockRequirement.ts b/src/types/tickets/event/ViewUnlockRequirement.ts index f5f66bc..2d3176b 100644 --- a/src/types/tickets/event/ViewUnlockRequirement.ts +++ b/src/types/tickets/event/ViewUnlockRequirement.ts @@ -1,8 +1,8 @@ export enum ViewUnlockRequirementEnum { - VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED, - UNLOCK_NOT_REQUIRED, + VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED = "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", + UNLOCK_NOT_REQUIRED = "UNLOCK_NOT_REQUIRED", /** * If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed. */ - UNLOCK_REQUIRED_TO_VIEW, + UNLOCK_REQUIRED_TO_VIEW = "UNLOCK_REQUIRED_TO_VIEW", }