Skip to content

Commit

Permalink
chore(terminal): add enum group by device image
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo committed Aug 13, 2024
1 parent 60a0c8c commit 11b47ca
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/terminal/src/stripe.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,28 @@ export enum DeviceType {
unknown = 'unknown',
}

/**
* This group is useful for pick image.
* Reference: https://github.com/stripe/stripe-terminal-ios/blob/fc571ab441b14639243a11d19d8f62bbe93feea5/Example/Example/ReaderHeaderView.swift#L95-L113
*/
export enum DeviceGroup {
stripeM2 = 'stripe_m2',
chipper1X = 'chipper',
chipper2X = 'chipper',
wiseCube = 'chipper',
verifoneP400 = 'verifone',
wisePad3s = 'wisepad',
wisePad3 = 'wisepad',
wisePosEDevKit = 'wisepose',
etna = 'wisepose',
wisePosE = 'wisepose',
stripeS700DevKit = 's700',
stripeS700 = 's700',
appleBuiltIn = 'apple', // unknown change to apple
cotsDevice = 'unknown',
unknown = 'unknown',
}

export enum UpdateTimeEstimate {
LessThanOneMinute = 'LESS_THAN_ONE_MINUTE',
OneToTwoMinutes = 'ONE_TO_TWO_MINUTES',
Expand Down

0 comments on commit 11b47ca

Please sign in to comment.