@vtex/faststore-plugin-buyer-portal 1.0.36 → 1.0.37

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtex/faststore-plugin-buyer-portal",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "A plugin for faststore with buyer portal",
5
5
  "main": "index.js",
6
6
  "dependencies": {
@@ -1,4 +1,3 @@
1
- import { addressesData } from "../mocks";
2
1
  import type { AddressData } from "../types/AddressData";
3
2
  import { addressesClient } from "../clients/AddressesClient";
4
3
 
@@ -1,7 +1,6 @@
1
1
  import type { OrganizationData } from "../types";
2
2
  import { orgUnitsHierarchyData } from "./org-units-data";
3
3
  import { usersData } from "../../users/mocks";
4
- import { addressesData } from "../../addresses/mocks";
5
4
  import { contractsData } from "../../contracts/mocks";
6
5
 
7
6
  export const organizationData: OrganizationData = {
@@ -9,7 +8,7 @@ export const organizationData: OrganizationData = {
9
8
  displayName: "Stellar Inc.",
10
9
  contracts: contractsData,
11
10
  users: usersData,
12
- addresses: addressesData,
11
+ addresses: [],
13
12
  orgUnits: (orgUnitsHierarchyData.nodes ?? []).map((node) => ({
14
13
  name: node.name,
15
14
  id: node.id,
@@ -1,244 +0,0 @@
1
- import type { AddressData } from "../types";
2
-
3
- export const addressesData: AddressData[] = [
4
- {
5
- id: 1,
6
- name: "Boston Boylston St Cambridge Massachusetts Ave Cambridge Massachusetts Ave",
7
- country: "United States",
8
- postalCode: "02116",
9
- state: "GA",
10
- city: "Atlanta",
11
- streetAddress: "Boylston St",
12
- streetNumber: "1234",
13
- unit: "Building B, Block 3",
14
- neighborhood: "Midtown",
15
- latitude: 42.0059,
16
- longitude: -87.9703,
17
- types: ["Billing", "Shipping"],
18
- isActive: true,
19
- locations: [
20
- "Room E980B",
21
- "Room E077O",
22
- "Room H562F",
23
- "Hall B215C",
24
- "Meeting Room G909",
25
- "Conference Room H304",
26
- ],
27
- },
28
- {
29
- id: 2,
30
- name: "Cambridge Massachusetts Ave",
31
- country: "United States",
32
- postalCode: "02139",
33
- state: "MA",
34
- city: "Cambridge",
35
- streetAddress: "Massachusetts Ave",
36
- streetNumber: "5678",
37
- unit: "Floor 2",
38
- neighborhood: "Central Square",
39
- latitude: 42.3736,
40
- longitude: -71.1097,
41
- types: ["Shipping"],
42
- isActive: true,
43
- locations: [
44
- "Room A101",
45
- "Room A102",
46
- "Room A103",
47
- "Hall A",
48
- "Meeting Room A104",
49
- "Conference Room A105",
50
- ],
51
- },
52
- {
53
- id: 3,
54
- name: "Somerville Davis Square",
55
- country: "United States",
56
- postalCode: "02144",
57
- state: "MA",
58
- city: "Somerville",
59
- streetAddress: "Davis Square",
60
- streetNumber: "9012",
61
- unit: "Suite 5B",
62
- neighborhood: "Davis Square",
63
- latitude: 42.3964,
64
- longitude: -71.1216,
65
- types: ["Shipping"],
66
- isActive: true,
67
- locations: [
68
- "Room B201",
69
- "Room B202",
70
- "Room B203",
71
- "Hall B",
72
- "Meeting Room B204",
73
- "Conference Room B205",
74
- ],
75
- },
76
- {
77
- id: 4,
78
- name: "New York 5th Ave",
79
- country: "United States",
80
- postalCode: "10001",
81
- state: "NY",
82
- city: "New York",
83
- streetAddress: "5th Ave",
84
- streetNumber: "123",
85
- unit: "Penthouse",
86
- neighborhood: "Midtown Manhattan",
87
- latitude: 40.7128,
88
- longitude: -74.006,
89
- types: ["Billing"],
90
- isActive: true,
91
- locations: [
92
- "Room C301",
93
- "Room C302",
94
- "Room C303",
95
- "Hall C",
96
- "Meeting Room C304",
97
- "Conference Room C305",
98
- ],
99
- },
100
- {
101
- id: 5,
102
- name: "Chicago Michigan Ave",
103
- country: "United States",
104
- postalCode: "60611",
105
- state: "IL",
106
- city: "Chicago",
107
- streetAddress: "Michigan Ave",
108
- streetNumber: "456",
109
- unit: "Suite 12A",
110
- neighborhood: "Magnificent Mile",
111
- latitude: 41.8781,
112
- longitude: -87.6298,
113
- types: ["Billing", "Shipping"],
114
- isActive: false,
115
- locations: [
116
- "Room D401",
117
- "Room D402",
118
- "Room D403",
119
- "Hall D",
120
- "Meeting Room D404",
121
- "Conference Room D405",
122
- ],
123
- },
124
- {
125
- id: 6,
126
- name: "San Francisco Market St",
127
- country: "United States",
128
- postalCode: "94103",
129
- state: "CA",
130
- city: "San Francisco",
131
- streetAddress: "Market St",
132
- streetNumber: "789",
133
- unit: "Floor 5",
134
- neighborhood: "Downtown",
135
- latitude: 37.7749,
136
- longitude: -122.4194,
137
- types: ["Shipping"],
138
- isActive: true,
139
- locations: [
140
- "Room E501",
141
- "Room E502",
142
- "Room E503",
143
- "Hall E",
144
- "Meeting Room E504",
145
- "Conference Room E505",
146
- ],
147
- },
148
- {
149
- id: 7,
150
- name: "Los Angeles Sunset Blvd",
151
- country: "United States",
152
- postalCode: "90028",
153
- state: "CA",
154
- city: "Los Angeles",
155
- streetAddress: "Sunset Blvd",
156
- streetNumber: "101",
157
- unit: "Building A",
158
- neighborhood: "Hollywood",
159
- latitude: 34.0522,
160
- longitude: -118.2437,
161
- types: ["Billing"],
162
- isActive: false,
163
- locations: [
164
- "Room F601",
165
- "Room F602",
166
- "Room F603",
167
- "Hall F",
168
- "Meeting Room F604",
169
- "Conference Room F605",
170
- ],
171
- },
172
- {
173
- id: 8,
174
- name: "Seattle Pike Place",
175
- country: "United States",
176
- postalCode: "98101",
177
- state: "WA",
178
- city: "Seattle",
179
- streetAddress: "Pike Place",
180
- streetNumber: "123",
181
- unit: "Suite 8B",
182
- neighborhood: "Downtown",
183
- latitude: 47.6062,
184
- longitude: -122.3321,
185
- types: ["Shipping"],
186
- isActive: true,
187
- locations: [
188
- "Room G701",
189
- "Room G702",
190
- "Room G703",
191
- "Hall G",
192
- "Meeting Room G704",
193
- "Conference Room G705",
194
- ],
195
- },
196
- {
197
- id: 9,
198
- name: "Austin Congress Ave",
199
- country: "United States",
200
- postalCode: "78701",
201
- state: "TX",
202
- city: "Austin",
203
- streetAddress: "Congress Ave",
204
- streetNumber: "321",
205
- unit: "Floor 3",
206
- neighborhood: "Downtown",
207
- latitude: 30.2672,
208
- longitude: -97.7431,
209
- types: ["Billing", "Shipping"],
210
- isActive: true,
211
- locations: [
212
- "Room H801",
213
- "Room H802",
214
- "Room H803",
215
- "Hall H",
216
- "Meeting Room H804",
217
- "Conference Room H805",
218
- ],
219
- },
220
- {
221
- id: 10,
222
- name: "Miami Ocean Drive",
223
- country: "United States",
224
- postalCode: "33139",
225
- state: "FL",
226
- city: "Miami",
227
- streetAddress: "Ocean Drive",
228
- streetNumber: "456",
229
- unit: "Penthouse",
230
- neighborhood: "South Beach",
231
- latitude: 25.7617,
232
- longitude: -80.1918,
233
- types: ["Shipping"],
234
- isActive: false,
235
- locations: [
236
- "Room I901",
237
- "Room I902",
238
- "Room I903",
239
- "Hall I",
240
- "Meeting Room I904",
241
- "Conference Room I905",
242
- ],
243
- },
244
- ];
@@ -1 +0,0 @@
1
- export { addressesData } from "./addresses-data";