@houlak/plexo-sdk 0.1.68 → 0.1.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,3 @@
1
- import { ESMap } from 'typescript';
2
1
  import { AuthorizationType } from '..';
3
2
  import { ActionType } from './ActionType';
4
3
  import { AuthorizationInfo } from './AuthorizationInfo';
@@ -12,7 +11,7 @@ export declare class Authorization extends AuthorizationInfo {
12
11
  doNotUseCallback?: boolean;
13
12
  clientInformation?: any;
14
13
  optionalMetadata?: string;
15
- promotionInfoIssuers?: ESMap<string, string>;
14
+ promotionInfoIssuers?: Record<string, string>;
16
15
  extendableInstrumentToken?: string;
17
16
  constructor(action: ActionType, redirectUri: string, limitIssuers: string[], optionalCommerceId: number, type: AuthorizationType, metaReference: string, webFormSettings: WebFormSettings);
18
17
  }
@@ -1,20 +1,21 @@
1
1
  export declare enum FieldType {
2
2
  Expiration = 257,
3
3
  Name = 258,
4
- ZipCode = 259,
5
- Email = 260,
6
- Phone = 261,
7
- Cellphone = 262,
8
- AmountLimitExtension = 263,
9
- Birthdate = 264,
10
- InstrumentName = 265,
11
- Identification = 266,
12
- IdentificationType = 267,
13
- IdentificationTypeExtended = 268,
14
- AccountNumber = 269,
15
- FirstName = 270,
16
- LastName = 271,
17
- City = 272,
4
+ Address = 259,
5
+ ZipCode = 260,
6
+ Email = 261,
7
+ Phone = 262,
8
+ Cellphone = 263,
9
+ AmountLimitExtension = 264,
10
+ Birthdate = 265,
11
+ InstrumentName = 266,
12
+ Identification = 267,
13
+ IdentificationType = 268,
14
+ IdentificationTypeExtended = 269,
15
+ AccountNumber = 270,
16
+ FirstName = 271,
17
+ LastName = 272,
18
+ City = 273,
18
19
  Country = 513,
19
20
  ShippingAddress = 514,
20
21
  ShippingZipCode = 515,
@@ -6,20 +6,21 @@ var FieldType;
6
6
  // User generic info
7
7
  FieldType[FieldType["Expiration"] = 257] = "Expiration";
8
8
  FieldType[FieldType["Name"] = 258] = "Name";
9
- FieldType[FieldType["ZipCode"] = 259] = "ZipCode";
10
- FieldType[FieldType["Email"] = 260] = "Email";
11
- FieldType[FieldType["Phone"] = 261] = "Phone";
12
- FieldType[FieldType["Cellphone"] = 262] = "Cellphone";
13
- FieldType[FieldType["AmountLimitExtension"] = 263] = "AmountLimitExtension";
14
- FieldType[FieldType["Birthdate"] = 264] = "Birthdate";
15
- FieldType[FieldType["InstrumentName"] = 265] = "InstrumentName";
16
- FieldType[FieldType["Identification"] = 266] = "Identification";
17
- FieldType[FieldType["IdentificationType"] = 267] = "IdentificationType";
18
- FieldType[FieldType["IdentificationTypeExtended"] = 268] = "IdentificationTypeExtended";
19
- FieldType[FieldType["AccountNumber"] = 269] = "AccountNumber";
20
- FieldType[FieldType["FirstName"] = 270] = "FirstName";
21
- FieldType[FieldType["LastName"] = 271] = "LastName";
22
- FieldType[FieldType["City"] = 272] = "City";
9
+ FieldType[FieldType["Address"] = 259] = "Address";
10
+ FieldType[FieldType["ZipCode"] = 260] = "ZipCode";
11
+ FieldType[FieldType["Email"] = 261] = "Email";
12
+ FieldType[FieldType["Phone"] = 262] = "Phone";
13
+ FieldType[FieldType["Cellphone"] = 263] = "Cellphone";
14
+ FieldType[FieldType["AmountLimitExtension"] = 264] = "AmountLimitExtension";
15
+ FieldType[FieldType["Birthdate"] = 265] = "Birthdate";
16
+ FieldType[FieldType["InstrumentName"] = 266] = "InstrumentName";
17
+ FieldType[FieldType["Identification"] = 267] = "Identification";
18
+ FieldType[FieldType["IdentificationType"] = 268] = "IdentificationType";
19
+ FieldType[FieldType["IdentificationTypeExtended"] = 269] = "IdentificationTypeExtended";
20
+ FieldType[FieldType["AccountNumber"] = 270] = "AccountNumber";
21
+ FieldType[FieldType["FirstName"] = 271] = "FirstName";
22
+ FieldType[FieldType["LastName"] = 272] = "LastName";
23
+ FieldType[FieldType["City"] = 273] = "City";
23
24
  // New OptionalFields
24
25
  FieldType[FieldType["Country"] = 513] = "Country";
25
26
  FieldType[FieldType["ShippingAddress"] = 514] = "ShippingAddress";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@houlak/plexo-sdk",
3
- "version": "0.1.68",
3
+ "version": "0.1.70",
4
4
  "description": "Node SDK for Plexo payment services",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",