@burdenoff/sdk-libs 2026.626.1 → 2026.627.2
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/dist/modules/assethandler/index.cjs +286 -0
- package/dist/modules/assethandler/index.d.cts +548 -0
- package/dist/modules/assethandler/index.d.ts +548 -0
- package/dist/modules/assethandler/index.js +286 -0
- package/dist/modules/crewfoundry/index.cjs +183 -0
- package/dist/modules/crewfoundry/index.d.cts +453 -0
- package/dist/modules/crewfoundry/index.d.ts +453 -0
- package/dist/modules/crewfoundry/index.js +183 -0
- package/dist/modules/eventfullymanaged/index.cjs +666 -0
- package/dist/modules/eventfullymanaged/index.d.cts +650 -0
- package/dist/modules/eventfullymanaged/index.d.ts +650 -0
- package/dist/modules/eventfullymanaged/index.js +666 -0
- package/dist/modules/ggnomad/index.cjs +164 -0
- package/dist/modules/ggnomad/index.d.cts +282 -0
- package/dist/modules/ggnomad/index.d.ts +282 -0
- package/dist/modules/ggnomad/index.js +164 -0
- package/dist/modules/headshotmarketing/index.cjs +1205 -0
- package/dist/modules/headshotmarketing/index.d.cts +1922 -0
- package/dist/modules/headshotmarketing/index.d.ts +1922 -0
- package/dist/modules/headshotmarketing/index.js +1205 -0
- package/dist/modules/housingvista/index.cjs +174 -0
- package/dist/modules/housingvista/index.d.cts +287 -0
- package/dist/modules/housingvista/index.d.ts +287 -0
- package/dist/modules/housingvista/index.js +174 -0
- package/dist/modules/movethewheels/index.cjs +591 -0
- package/dist/modules/movethewheels/index.d.cts +1052 -0
- package/dist/modules/movethewheels/index.d.ts +1052 -0
- package/dist/modules/movethewheels/index.js +591 -0
- package/dist/modules/planmagnet/index.cjs +898 -0
- package/dist/modules/planmagnet/index.d.cts +1656 -0
- package/dist/modules/planmagnet/index.d.ts +1656 -0
- package/dist/modules/planmagnet/index.js +898 -0
- package/dist/modules/proserviceworld/index.cjs +233 -0
- package/dist/modules/proserviceworld/index.d.cts +400 -0
- package/dist/modules/proserviceworld/index.d.ts +400 -0
- package/dist/modules/proserviceworld/index.js +233 -0
- package/dist/modules/timecampus/index.cjs +519 -0
- package/dist/modules/timecampus/index.d.cts +992 -0
- package/dist/modules/timecampus/index.d.ts +992 -0
- package/dist/modules/timecampus/index.js +519 -0
- package/package.json +1 -1
|
@@ -0,0 +1,591 @@
|
|
|
1
|
+
var i=`
|
|
2
|
+
fragment OperationContextFields on OperationContext {
|
|
3
|
+
appId custom projectId userId workspaceId
|
|
4
|
+
}
|
|
5
|
+
`,h=`
|
|
6
|
+
${i}
|
|
7
|
+
fragment CustomerFields on Customer {
|
|
8
|
+
id name type email phone company address businessLicense taxId rating
|
|
9
|
+
context { ...OperationContextFields }
|
|
10
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
11
|
+
}
|
|
12
|
+
`,a=`
|
|
13
|
+
${i}
|
|
14
|
+
fragment DriverFields on Driver {
|
|
15
|
+
id employeeId firstName lastName status email phone
|
|
16
|
+
licenseClass licenseExpiry licenseNumber certifications currentLocation
|
|
17
|
+
performanceMetrics rating userId vehicleId
|
|
18
|
+
context { ...OperationContextFields }
|
|
19
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
20
|
+
}
|
|
21
|
+
`,n=`
|
|
22
|
+
${i}
|
|
23
|
+
fragment VehicleFields on Vehicle {
|
|
24
|
+
id vehicleNumber type status make model year licensePlate ownershipType
|
|
25
|
+
capacity currentLocation fuelLevel mileage
|
|
26
|
+
context { ...OperationContextFields }
|
|
27
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
28
|
+
}
|
|
29
|
+
`,l=`
|
|
30
|
+
${i}
|
|
31
|
+
fragment ProductFields on Product {
|
|
32
|
+
id name sku fragile hazardous temperatureControlled
|
|
33
|
+
brand category description dimensions value weight
|
|
34
|
+
context { ...OperationContextFields }
|
|
35
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
36
|
+
}
|
|
37
|
+
`,v=`
|
|
38
|
+
${i}
|
|
39
|
+
fragment WarehouseLocationFields on WarehouseLocation {
|
|
40
|
+
id locationCode status warehouseId aisle bin capacity locationType
|
|
41
|
+
rack shelf zone
|
|
42
|
+
context { ...OperationContextFields }
|
|
43
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
44
|
+
}
|
|
45
|
+
`,g=`
|
|
46
|
+
${i}
|
|
47
|
+
fragment WarehouseScalars on Warehouse {
|
|
48
|
+
id name code status type address capabilities contactInfo operatingHours
|
|
49
|
+
totalCapacity usedCapacity
|
|
50
|
+
context { ...OperationContextFields }
|
|
51
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
52
|
+
}
|
|
53
|
+
`,O=`
|
|
54
|
+
${i}
|
|
55
|
+
fragment InventoryTransactionFields on InventoryTransaction {
|
|
56
|
+
id transactionNumber type productId quantity warehouseId inventoryItemId
|
|
57
|
+
notes referenceId referenceType unitCost
|
|
58
|
+
context { ...OperationContextFields }
|
|
59
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
60
|
+
}
|
|
61
|
+
`,lt=`
|
|
62
|
+
${i}
|
|
63
|
+
fragment OrderStatusHistoryFields on OrderStatusHistory {
|
|
64
|
+
id orderId status previousStatus location notes
|
|
65
|
+
context { ...OperationContextFields }
|
|
66
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
67
|
+
}
|
|
68
|
+
`,I=`
|
|
69
|
+
${i}
|
|
70
|
+
fragment TrackingEventFields on TrackingEvent {
|
|
71
|
+
id shipmentId eventType timestamp details location
|
|
72
|
+
context { ...OperationContextFields }
|
|
73
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
74
|
+
}
|
|
75
|
+
`,y=`
|
|
76
|
+
${i}
|
|
77
|
+
fragment OrderScalars on MovethewheelsOrder {
|
|
78
|
+
id orderNumber customerId orderType priority status
|
|
79
|
+
deliveryAddress pickupAddress items pricing driverId vehicleId
|
|
80
|
+
scheduledDelivery specialInstructions trackingNumber
|
|
81
|
+
context { ...OperationContextFields }
|
|
82
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
83
|
+
}
|
|
84
|
+
`,m=`
|
|
85
|
+
${i}
|
|
86
|
+
fragment ShipmentScalars on Shipment {
|
|
87
|
+
id shipmentNumber orderId status origin destination cargoDetails
|
|
88
|
+
carrierId customerId actualDelivery estimatedDelivery trackingNumber
|
|
89
|
+
context { ...OperationContextFields }
|
|
90
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
91
|
+
}
|
|
92
|
+
`,ut=`
|
|
93
|
+
${i}
|
|
94
|
+
fragment RouteScalars on Route {
|
|
95
|
+
id name status waypoints driverId vehicleId shipmentId
|
|
96
|
+
actualDistance actualDuration estimatedDistance estimatedDuration fuelCost
|
|
97
|
+
context { ...OperationContextFields }
|
|
98
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
99
|
+
}
|
|
100
|
+
`,A=`
|
|
101
|
+
${i}
|
|
102
|
+
fragment ServiceOfferingScalars on ServiceOffering {
|
|
103
|
+
id name currency price providerId availability category description
|
|
104
|
+
context { ...OperationContextFields }
|
|
105
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
106
|
+
}
|
|
107
|
+
`,$=`
|
|
108
|
+
${i}
|
|
109
|
+
fragment ServiceProviderScalars on ServiceProvider {
|
|
110
|
+
id name type isActive isVerified contactInfo description rating services
|
|
111
|
+
context { ...OperationContextFields }
|
|
112
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
113
|
+
}
|
|
114
|
+
`,u=`
|
|
115
|
+
${i}
|
|
116
|
+
fragment ReportFields on MovethewheelsReport {
|
|
117
|
+
id name type status configuration description schedule lastGenerated
|
|
118
|
+
context { ...OperationContextFields }
|
|
119
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
120
|
+
}
|
|
121
|
+
`,w=`
|
|
122
|
+
${g}
|
|
123
|
+
${v}
|
|
124
|
+
fragment WarehouseFull on Warehouse {
|
|
125
|
+
...WarehouseScalars
|
|
126
|
+
locations { ...WarehouseLocationFields }
|
|
127
|
+
}
|
|
128
|
+
`,d=`
|
|
129
|
+
${i}
|
|
130
|
+
${l}
|
|
131
|
+
${g}
|
|
132
|
+
${v}
|
|
133
|
+
fragment InventoryItemFull on InventoryItem {
|
|
134
|
+
id allocated available damaged onHand productId warehouseId locationId
|
|
135
|
+
reorderPoint safetyStock unitCost
|
|
136
|
+
context { ...OperationContextFields }
|
|
137
|
+
createdAt createdBy updatedAt updatedBy deletedAt onBehalfOf workspaceId
|
|
138
|
+
product { ...ProductFields }
|
|
139
|
+
warehouse { ...WarehouseScalars }
|
|
140
|
+
location { ...WarehouseLocationFields }
|
|
141
|
+
}
|
|
142
|
+
`,s=`
|
|
143
|
+
${y}
|
|
144
|
+
${h}
|
|
145
|
+
${a}
|
|
146
|
+
${n}
|
|
147
|
+
${m}
|
|
148
|
+
${lt}
|
|
149
|
+
fragment OrderFull on MovethewheelsOrder {
|
|
150
|
+
...OrderScalars
|
|
151
|
+
customer { ...CustomerFields }
|
|
152
|
+
driver { ...DriverFields }
|
|
153
|
+
vehicle { ...VehicleFields }
|
|
154
|
+
shipment { ...ShipmentScalars }
|
|
155
|
+
statusHistory { ...OrderStatusHistoryFields }
|
|
156
|
+
}
|
|
157
|
+
`,p=`
|
|
158
|
+
${m}
|
|
159
|
+
${y}
|
|
160
|
+
${I}
|
|
161
|
+
fragment ShipmentFull on Shipment {
|
|
162
|
+
...ShipmentScalars
|
|
163
|
+
order { ...OrderScalars }
|
|
164
|
+
trackingEvents { ...TrackingEventFields }
|
|
165
|
+
}
|
|
166
|
+
`,c=`
|
|
167
|
+
${ut}
|
|
168
|
+
${a}
|
|
169
|
+
${n}
|
|
170
|
+
${m}
|
|
171
|
+
fragment RouteFull on Route {
|
|
172
|
+
...RouteScalars
|
|
173
|
+
driver { ...DriverFields }
|
|
174
|
+
vehicle { ...VehicleFields }
|
|
175
|
+
shipment { ...ShipmentScalars }
|
|
176
|
+
}
|
|
177
|
+
`,M=`
|
|
178
|
+
${$}
|
|
179
|
+
${A}
|
|
180
|
+
fragment ServiceProviderFull on ServiceProvider {
|
|
181
|
+
...ServiceProviderScalars
|
|
182
|
+
offerings { ...ServiceOfferingScalars }
|
|
183
|
+
}
|
|
184
|
+
`,E=`
|
|
185
|
+
${A}
|
|
186
|
+
${$}
|
|
187
|
+
fragment ServiceOfferingFull on ServiceOffering {
|
|
188
|
+
...ServiceOfferingScalars
|
|
189
|
+
provider { ...ServiceProviderScalars }
|
|
190
|
+
}
|
|
191
|
+
`,P=`
|
|
192
|
+
${h}
|
|
193
|
+
query GetCustomer($id: ID!) { customer(id: $id) { ...CustomerFields } }
|
|
194
|
+
`,D=`
|
|
195
|
+
${h}
|
|
196
|
+
query ListCustomers($filter: CustomerFilterInput, $pagination: PaginationInput) {
|
|
197
|
+
customers(filter: $filter, pagination: $pagination) { ...CustomerFields }
|
|
198
|
+
}
|
|
199
|
+
`,f=`
|
|
200
|
+
${h}
|
|
201
|
+
mutation CreateCustomer($input: CreateCustomerInput!) {
|
|
202
|
+
createCustomer(input: $input) { ...CustomerFields }
|
|
203
|
+
}
|
|
204
|
+
`,C=`
|
|
205
|
+
${h}
|
|
206
|
+
mutation UpdateCustomer($id: ID!, $input: UpdateCustomerInput!) {
|
|
207
|
+
updateCustomer(id: $id, input: $input) { ...CustomerFields }
|
|
208
|
+
}
|
|
209
|
+
`,_=`
|
|
210
|
+
mutation DeleteCustomer($id: ID!) { deleteCustomer(id: $id) }
|
|
211
|
+
`,F=`
|
|
212
|
+
${a}
|
|
213
|
+
query GetDriver($id: ID!) { driver(id: $id) { ...DriverFields } }
|
|
214
|
+
`,U=`
|
|
215
|
+
${a}
|
|
216
|
+
query ListDrivers($filter: DriverFilterInput, $pagination: PaginationInput) {
|
|
217
|
+
drivers(filter: $filter, pagination: $pagination) { ...DriverFields }
|
|
218
|
+
}
|
|
219
|
+
`,V=`
|
|
220
|
+
${a}
|
|
221
|
+
mutation CreateDriver($input: CreateDriverInput!) {
|
|
222
|
+
createDriver(input: $input) { ...DriverFields }
|
|
223
|
+
}
|
|
224
|
+
`,L=`
|
|
225
|
+
${a}
|
|
226
|
+
mutation UpdateDriver($id: ID!, $input: UpdateDriverInput!) {
|
|
227
|
+
updateDriver(id: $id, input: $input) { ...DriverFields }
|
|
228
|
+
}
|
|
229
|
+
`,x=`
|
|
230
|
+
mutation DeleteDriver($id: ID!) { deleteDriver(id: $id) }
|
|
231
|
+
`,q=`
|
|
232
|
+
${a}
|
|
233
|
+
mutation UpdateDriverStatus($id: ID!, $status: DriverStatus!) {
|
|
234
|
+
updateDriverStatus(id: $id, status: $status) { ...DriverFields }
|
|
235
|
+
}
|
|
236
|
+
`,N=`
|
|
237
|
+
${a}
|
|
238
|
+
mutation AssignDriverVehicle($id: ID!, $vehicleId: ID) {
|
|
239
|
+
assignDriverVehicle(id: $id, vehicleId: $vehicleId) { ...DriverFields }
|
|
240
|
+
}
|
|
241
|
+
`,k=`
|
|
242
|
+
${n}
|
|
243
|
+
query GetVehicle($id: ID!) { vehicle(id: $id) { ...VehicleFields } }
|
|
244
|
+
`,W=`
|
|
245
|
+
${n}
|
|
246
|
+
query ListVehicles($filter: VehicleFilterInput, $pagination: PaginationInput) {
|
|
247
|
+
vehicles(filter: $filter, pagination: $pagination) { ...VehicleFields }
|
|
248
|
+
}
|
|
249
|
+
`,G=`
|
|
250
|
+
${n}
|
|
251
|
+
mutation CreateVehicle($input: CreateVehicleInput!) {
|
|
252
|
+
createVehicle(input: $input) { ...VehicleFields }
|
|
253
|
+
}
|
|
254
|
+
`,H=`
|
|
255
|
+
${n}
|
|
256
|
+
mutation UpdateVehicle($id: ID!, $input: UpdateVehicleInput!) {
|
|
257
|
+
updateVehicle(id: $id, input: $input) { ...VehicleFields }
|
|
258
|
+
}
|
|
259
|
+
`,b=`
|
|
260
|
+
mutation DeleteVehicle($id: ID!) { deleteVehicle(id: $id) }
|
|
261
|
+
`,B=`
|
|
262
|
+
${n}
|
|
263
|
+
mutation UpdateVehicleStatus($id: ID!, $status: VehicleStatus!) {
|
|
264
|
+
updateVehicleStatus(id: $id, status: $status) { ...VehicleFields }
|
|
265
|
+
}
|
|
266
|
+
`,Y=`
|
|
267
|
+
${n}
|
|
268
|
+
mutation UpdateVehicleLocation($id: ID!, $location: JSON!) {
|
|
269
|
+
updateVehicleLocation(id: $id, location: $location) { ...VehicleFields }
|
|
270
|
+
}
|
|
271
|
+
`,j=`
|
|
272
|
+
${l}
|
|
273
|
+
query GetProduct($id: ID!) { product(id: $id) { ...ProductFields } }
|
|
274
|
+
`,K=`
|
|
275
|
+
${l}
|
|
276
|
+
query ListProducts($filter: ProductFilterInput, $pagination: PaginationInput) {
|
|
277
|
+
products(filter: $filter, pagination: $pagination) { ...ProductFields }
|
|
278
|
+
}
|
|
279
|
+
`,z=`
|
|
280
|
+
${l}
|
|
281
|
+
mutation CreateProduct($input: CreateProductInput!) {
|
|
282
|
+
createProduct(input: $input) { ...ProductFields }
|
|
283
|
+
}
|
|
284
|
+
`,J=`
|
|
285
|
+
${l}
|
|
286
|
+
mutation UpdateProduct($id: ID!, $input: UpdateProductInput!) {
|
|
287
|
+
updateProduct(id: $id, input: $input) { ...ProductFields }
|
|
288
|
+
}
|
|
289
|
+
`,X=`
|
|
290
|
+
mutation DeleteProduct($id: ID!) { deleteProduct(id: $id) }
|
|
291
|
+
`,Z=`
|
|
292
|
+
${w}
|
|
293
|
+
query GetWarehouse($id: ID!) { warehouse(id: $id) { ...WarehouseFull } }
|
|
294
|
+
`,Q=`
|
|
295
|
+
${w}
|
|
296
|
+
query ListWarehouses($filter: WarehouseFilterInput, $pagination: PaginationInput) {
|
|
297
|
+
warehouses(filter: $filter, pagination: $pagination) { ...WarehouseFull }
|
|
298
|
+
}
|
|
299
|
+
`,ee=`
|
|
300
|
+
${w}
|
|
301
|
+
mutation CreateWarehouse($input: CreateWarehouseInput!) {
|
|
302
|
+
createWarehouse(input: $input) { ...WarehouseFull }
|
|
303
|
+
}
|
|
304
|
+
`,te=`
|
|
305
|
+
${w}
|
|
306
|
+
mutation UpdateWarehouse($id: ID!, $input: UpdateWarehouseInput!) {
|
|
307
|
+
updateWarehouse(id: $id, input: $input) { ...WarehouseFull }
|
|
308
|
+
}
|
|
309
|
+
`,re=`
|
|
310
|
+
mutation DeleteWarehouse($id: ID!) { deleteWarehouse(id: $id) }
|
|
311
|
+
`,oe=`
|
|
312
|
+
${v}
|
|
313
|
+
mutation CreateWarehouseLocation($input: CreateWarehouseLocationInput!) {
|
|
314
|
+
createWarehouseLocation(input: $input) { ...WarehouseLocationFields }
|
|
315
|
+
}
|
|
316
|
+
`,ie=`
|
|
317
|
+
${v}
|
|
318
|
+
mutation UpdateWarehouseLocation($id: ID!, $input: UpdateWarehouseLocationInput!) {
|
|
319
|
+
updateWarehouseLocation(id: $id, input: $input) { ...WarehouseLocationFields }
|
|
320
|
+
}
|
|
321
|
+
`,ae=`
|
|
322
|
+
${d}
|
|
323
|
+
query GetInventoryItem($id: ID!) { inventoryItem(id: $id) { ...InventoryItemFull } }
|
|
324
|
+
`,ne=`
|
|
325
|
+
${d}
|
|
326
|
+
query ListInventoryItems($filter: InventoryFilterInput, $pagination: PaginationInput) {
|
|
327
|
+
inventoryItems(filter: $filter, pagination: $pagination) { ...InventoryItemFull }
|
|
328
|
+
}
|
|
329
|
+
`,se=`
|
|
330
|
+
${d}
|
|
331
|
+
mutation CreateInventoryItem($input: CreateInventoryItemInput!) {
|
|
332
|
+
createInventoryItem(input: $input) { ...InventoryItemFull }
|
|
333
|
+
}
|
|
334
|
+
`,he=`
|
|
335
|
+
${d}
|
|
336
|
+
mutation UpdateInventoryItem($id: ID!, $input: UpdateInventoryItemInput!) {
|
|
337
|
+
updateInventoryItem(id: $id, input: $input) { ...InventoryItemFull }
|
|
338
|
+
}
|
|
339
|
+
`,le=`
|
|
340
|
+
mutation DeleteInventoryItem($id: ID!) { deleteInventoryItem(id: $id) }
|
|
341
|
+
`,ue=`
|
|
342
|
+
${d}
|
|
343
|
+
mutation AdjustInventoryStock($input: AdjustInventoryStockInput!) {
|
|
344
|
+
adjustInventoryStock(input: $input) { ...InventoryItemFull }
|
|
345
|
+
}
|
|
346
|
+
`,de=`
|
|
347
|
+
${O}
|
|
348
|
+
query ListInventoryTransactions($filter: InventoryFilterInput, $pagination: PaginationInput) {
|
|
349
|
+
inventoryTransactions(filter: $filter, pagination: $pagination) {
|
|
350
|
+
...InventoryTransactionFields
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
`,pe=`
|
|
354
|
+
${O}
|
|
355
|
+
mutation CreateInventoryTransaction($input: CreateInventoryTransactionInput!) {
|
|
356
|
+
createInventoryTransaction(input: $input) { ...InventoryTransactionFields }
|
|
357
|
+
}
|
|
358
|
+
`,ce=`
|
|
359
|
+
query InventoryStats {
|
|
360
|
+
inventoryStats {
|
|
361
|
+
lowStockCount totalAllocated totalAvailable totalDamaged totalOnHand
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
`,ve=`
|
|
365
|
+
${s}
|
|
366
|
+
query GetMovethewheelsOrder($id: ID!) {
|
|
367
|
+
movethewheelsOrder(id: $id) { ...OrderFull }
|
|
368
|
+
}
|
|
369
|
+
`,Ie=`
|
|
370
|
+
${s}
|
|
371
|
+
query ListMovethewheelsOrders($filter: OrderFilterInput, $pagination: PaginationInput) {
|
|
372
|
+
movethewheelsOrders(filter: $filter, pagination: $pagination) { ...OrderFull }
|
|
373
|
+
}
|
|
374
|
+
`,we=`
|
|
375
|
+
${s}
|
|
376
|
+
mutation CreateMovethewheelsOrder($input: CreateOrderInput!) {
|
|
377
|
+
createMovethewheelsOrder(input: $input) { ...OrderFull }
|
|
378
|
+
}
|
|
379
|
+
`,Me=`
|
|
380
|
+
${s}
|
|
381
|
+
mutation UpdateMovethewheelsOrder($id: ID!, $input: UpdateOrderInput!) {
|
|
382
|
+
updateMovethewheelsOrder(id: $id, input: $input) { ...OrderFull }
|
|
383
|
+
}
|
|
384
|
+
`,Ee=`
|
|
385
|
+
mutation DeleteMovethewheelsOrder($id: ID!) { deleteMovethewheelsOrder(id: $id) }
|
|
386
|
+
`,Se=`
|
|
387
|
+
${s}
|
|
388
|
+
mutation UpdateMovethewheelsOrderStatus($id: ID!, $input: UpdateOrderStatusInput!) {
|
|
389
|
+
updateMovethewheelsOrderStatus(id: $id, input: $input) { ...OrderFull }
|
|
390
|
+
}
|
|
391
|
+
`,me=`
|
|
392
|
+
${p}
|
|
393
|
+
query GetShipment($id: ID!) { shipment(id: $id) { ...ShipmentFull } }
|
|
394
|
+
`,Re=`
|
|
395
|
+
${p}
|
|
396
|
+
query ListShipments($filter: ShipmentFilterInput, $pagination: PaginationInput) {
|
|
397
|
+
shipments(filter: $filter, pagination: $pagination) { ...ShipmentFull }
|
|
398
|
+
}
|
|
399
|
+
`,Te=`
|
|
400
|
+
${p}
|
|
401
|
+
query ActiveDeliveries($pagination: PaginationInput) {
|
|
402
|
+
activeDeliveries(pagination: $pagination) { ...ShipmentFull }
|
|
403
|
+
}
|
|
404
|
+
`,ge=`
|
|
405
|
+
${p}
|
|
406
|
+
mutation CreateShipment($input: CreateShipmentInput!) {
|
|
407
|
+
createShipment(input: $input) { ...ShipmentFull }
|
|
408
|
+
}
|
|
409
|
+
`,Oe=`
|
|
410
|
+
${p}
|
|
411
|
+
mutation UpdateShipment($id: ID!, $input: UpdateShipmentInput!) {
|
|
412
|
+
updateShipment(id: $id, input: $input) { ...ShipmentFull }
|
|
413
|
+
}
|
|
414
|
+
`,ye=`
|
|
415
|
+
mutation DeleteShipment($id: ID!) { deleteShipment(id: $id) }
|
|
416
|
+
`,Ae=`
|
|
417
|
+
${I}
|
|
418
|
+
query OrderTracking($orderId: ID!, $pagination: PaginationInput) {
|
|
419
|
+
orderTracking(orderId: $orderId, pagination: $pagination) { ...TrackingEventFields }
|
|
420
|
+
}
|
|
421
|
+
`,$e=`
|
|
422
|
+
${I}
|
|
423
|
+
query ShipmentTracking($shipmentId: ID!, $pagination: PaginationInput) {
|
|
424
|
+
shipmentTracking(shipmentId: $shipmentId, pagination: $pagination) {
|
|
425
|
+
...TrackingEventFields
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
`,Pe=`
|
|
429
|
+
query TrackingAlerts($pagination: PaginationInput) {
|
|
430
|
+
trackingAlerts(pagination: $pagination) {
|
|
431
|
+
alertType message shipmentId shipmentNumber
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
`,De=`
|
|
435
|
+
${I}
|
|
436
|
+
mutation AddTrackingEvent($input: AddTrackingEventInput!) {
|
|
437
|
+
addTrackingEvent(input: $input) { ...TrackingEventFields }
|
|
438
|
+
}
|
|
439
|
+
`,fe=`
|
|
440
|
+
${c}
|
|
441
|
+
query GetRoute($id: ID!) { route(id: $id) { ...RouteFull } }
|
|
442
|
+
`,Ce=`
|
|
443
|
+
${c}
|
|
444
|
+
query ListRoutes($filter: RouteFilterInput, $pagination: PaginationInput) {
|
|
445
|
+
routes(filter: $filter, pagination: $pagination) { ...RouteFull }
|
|
446
|
+
}
|
|
447
|
+
`,_e=`
|
|
448
|
+
${c}
|
|
449
|
+
mutation CreateRoute($input: CreateRouteInput!) {
|
|
450
|
+
createRoute(input: $input) { ...RouteFull }
|
|
451
|
+
}
|
|
452
|
+
`,Fe=`
|
|
453
|
+
${c}
|
|
454
|
+
mutation UpdateRoute($id: ID!, $input: UpdateRouteInput!) {
|
|
455
|
+
updateRoute(id: $id, input: $input) { ...RouteFull }
|
|
456
|
+
}
|
|
457
|
+
`,Ue=`
|
|
458
|
+
mutation DeleteRoute($id: ID!) { deleteRoute(id: $id) }
|
|
459
|
+
`,Ve=`
|
|
460
|
+
${c}
|
|
461
|
+
mutation OptimizeRoute($id: ID!) { optimizeRoute(id: $id) { ...RouteFull } }
|
|
462
|
+
`,Le=`
|
|
463
|
+
${M}
|
|
464
|
+
query GetServiceProvider($id: ID!) {
|
|
465
|
+
serviceProvider(id: $id) { ...ServiceProviderFull }
|
|
466
|
+
}
|
|
467
|
+
`,xe=`
|
|
468
|
+
${M}
|
|
469
|
+
query ListServiceProviders($filter: ServiceProviderFilterInput, $pagination: PaginationInput) {
|
|
470
|
+
serviceProviders(filter: $filter, pagination: $pagination) { ...ServiceProviderFull }
|
|
471
|
+
}
|
|
472
|
+
`,qe=`
|
|
473
|
+
${M}
|
|
474
|
+
mutation CreateServiceProvider($input: CreateServiceProviderInput!) {
|
|
475
|
+
createServiceProvider(input: $input) { ...ServiceProviderFull }
|
|
476
|
+
}
|
|
477
|
+
`,Ne=`
|
|
478
|
+
${M}
|
|
479
|
+
mutation UpdateServiceProvider($id: ID!, $input: UpdateServiceProviderInput!) {
|
|
480
|
+
updateServiceProvider(id: $id, input: $input) { ...ServiceProviderFull }
|
|
481
|
+
}
|
|
482
|
+
`,ke=`
|
|
483
|
+
mutation DeleteServiceProvider($id: ID!) { deleteServiceProvider(id: $id) }
|
|
484
|
+
`,We=`
|
|
485
|
+
${E}
|
|
486
|
+
query GetServiceOffering($id: ID!) {
|
|
487
|
+
serviceOffering(id: $id) { ...ServiceOfferingFull }
|
|
488
|
+
}
|
|
489
|
+
`,Ge=`
|
|
490
|
+
${E}
|
|
491
|
+
query ListServiceOfferings($filter: ServiceOfferingFilterInput, $pagination: PaginationInput) {
|
|
492
|
+
serviceOfferings(filter: $filter, pagination: $pagination) { ...ServiceOfferingFull }
|
|
493
|
+
}
|
|
494
|
+
`,He=`
|
|
495
|
+
${E}
|
|
496
|
+
mutation CreateServiceOffering($input: CreateServiceOfferingInput!) {
|
|
497
|
+
createServiceOffering(input: $input) { ...ServiceOfferingFull }
|
|
498
|
+
}
|
|
499
|
+
`,be=`
|
|
500
|
+
${E}
|
|
501
|
+
mutation UpdateServiceOffering($id: ID!, $input: UpdateServiceOfferingInput!) {
|
|
502
|
+
updateServiceOffering(id: $id, input: $input) { ...ServiceOfferingFull }
|
|
503
|
+
}
|
|
504
|
+
`,Be=`
|
|
505
|
+
mutation DeleteServiceOffering($id: ID!) { deleteServiceOffering(id: $id) }
|
|
506
|
+
`,Ye=`
|
|
507
|
+
${u}
|
|
508
|
+
query GetMovethewheelsReport($id: ID!) {
|
|
509
|
+
movethewheelsReport(id: $id) { ...ReportFields }
|
|
510
|
+
}
|
|
511
|
+
`,je=`
|
|
512
|
+
${u}
|
|
513
|
+
query ListMovethewheelsReports($filter: MovethewheelsReportFilterInput, $pagination: PaginationInput) {
|
|
514
|
+
movethewheelsReports(filter: $filter, pagination: $pagination) { ...ReportFields }
|
|
515
|
+
}
|
|
516
|
+
`,Ke=`
|
|
517
|
+
${u}
|
|
518
|
+
mutation CreateMovethewheelsReport($input: CreateMovethewheelsReportInput!) {
|
|
519
|
+
createMovethewheelsReport(input: $input) { ...ReportFields }
|
|
520
|
+
}
|
|
521
|
+
`,ze=`
|
|
522
|
+
${u}
|
|
523
|
+
mutation UpdateMovethewheelsReport($id: ID!, $input: UpdateMovethewheelsReportInput!) {
|
|
524
|
+
updateMovethewheelsReport(id: $id, input: $input) { ...ReportFields }
|
|
525
|
+
}
|
|
526
|
+
`,Je=`
|
|
527
|
+
mutation DeleteMovethewheelsReport($id: ID!) { deleteMovethewheelsReport(id: $id) }
|
|
528
|
+
`,Xe=`
|
|
529
|
+
${u}
|
|
530
|
+
mutation GenerateMovethewheelsReport($input: GenerateMovethewheelsReportInput!) {
|
|
531
|
+
generateMovethewheelsReport(input: $input) {
|
|
532
|
+
generatedAt result
|
|
533
|
+
report { ...ReportFields }
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
`,Ze=`
|
|
537
|
+
query MovethewheelsModuleSettings {
|
|
538
|
+
moduleSettings { preferences updatedAt workspaceId }
|
|
539
|
+
}
|
|
540
|
+
`,Qe=`
|
|
541
|
+
mutation UpdateMovethewheelsModuleSettings($input: UpdateMovethewheelsModuleSettingsInput!) {
|
|
542
|
+
updateModuleSettings(input: $input) { preferences updatedAt workspaceId }
|
|
543
|
+
}
|
|
544
|
+
`,et=`
|
|
545
|
+
mutation MovethewheelsExportData($input: MovethewheelsExportDataInput!) {
|
|
546
|
+
exportData(input: $input) { message payload success }
|
|
547
|
+
}
|
|
548
|
+
`,tt=`
|
|
549
|
+
mutation MovethewheelsImportData($input: MovethewheelsImportDataInput!) {
|
|
550
|
+
importData(input: $input) { message payload success }
|
|
551
|
+
}
|
|
552
|
+
`,rt=`
|
|
553
|
+
query MovethewheelsAnalytics {
|
|
554
|
+
analytics {
|
|
555
|
+
deliveryTrend { label value }
|
|
556
|
+
orderTrend { label value }
|
|
557
|
+
revenueTrend { label value }
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
`,ot=`
|
|
561
|
+
${s}
|
|
562
|
+
query MovethewheelsDashboardMetrics {
|
|
563
|
+
dashboardMetrics {
|
|
564
|
+
activeDeliveries activeVehicles availableDrivers lowStockItems
|
|
565
|
+
totalOrders totalRevenue
|
|
566
|
+
recentOrders { ...OrderFull }
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
`,it=`
|
|
570
|
+
query MovethewheelsFinanceMetrics {
|
|
571
|
+
financeMetrics {
|
|
572
|
+
fuelCost openInvoices
|
|
573
|
+
revenue { averageOrderValue deliveredRevenue totalRevenue }
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
`,at=`
|
|
577
|
+
query MovethewheelsFleetStats {
|
|
578
|
+
fleetStats {
|
|
579
|
+
activeVehicles availableDrivers inTransitVehicles maintenanceVehicles
|
|
580
|
+
onDeliveryDrivers totalDrivers totalVehicles
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
`,nt=`
|
|
584
|
+
query MovethewheelsOrderStats {
|
|
585
|
+
orderStats { cancelled delivered failed inTransit pending total }
|
|
586
|
+
}
|
|
587
|
+
`,st=`
|
|
588
|
+
query MovethewheelsAssistantInsights($question: String!) {
|
|
589
|
+
assistantInsights(question: $question) { answer generatedAt question }
|
|
590
|
+
}
|
|
591
|
+
`;function ht(S){let{workspace:r}=S.gql;return {customers:{async get(e){return (await r.request(P,{id:e})).customer},async list(e,t){return (await r.request(D,{filter:e,pagination:t})).customers},async create(e){return (await r.request(f,{input:e})).createCustomer},async update(e,t){return (await r.request(C,{id:e,input:t})).updateCustomer},async delete(e){return (await r.request(_,{id:e})).deleteCustomer}},drivers:{async get(e){return (await r.request(F,{id:e})).driver},async list(e,t){return (await r.request(U,{filter:e,pagination:t})).drivers},async create(e){return (await r.request(V,{input:e})).createDriver},async update(e,t){return (await r.request(L,{id:e,input:t})).updateDriver},async delete(e){return (await r.request(x,{id:e})).deleteDriver},async updateStatus(e,t){return (await r.request(q,{id:e,status:t})).updateDriverStatus},async assignVehicle(e,t){return (await r.request(N,{id:e,vehicleId:t})).assignDriverVehicle}},vehicles:{async get(e){return (await r.request(k,{id:e})).vehicle},async list(e,t){return (await r.request(W,{filter:e,pagination:t})).vehicles},async create(e){return (await r.request(G,{input:e})).createVehicle},async update(e,t){return (await r.request(H,{id:e,input:t})).updateVehicle},async delete(e){return (await r.request(b,{id:e})).deleteVehicle},async updateStatus(e,t){return (await r.request(B,{id:e,status:t})).updateVehicleStatus},async updateLocation(e,t){return (await r.request(Y,{id:e,location:t})).updateVehicleLocation}},products:{async get(e){return (await r.request(j,{id:e})).product},async list(e,t){return (await r.request(K,{filter:e,pagination:t})).products},async create(e){return (await r.request(z,{input:e})).createProduct},async update(e,t){return (await r.request(J,{id:e,input:t})).updateProduct},async delete(e){return (await r.request(X,{id:e})).deleteProduct}},warehouses:{async get(e){return (await r.request(Z,{id:e})).warehouse},async list(e,t){return (await r.request(Q,{filter:e,pagination:t})).warehouses},async create(e){return (await r.request(ee,{input:e})).createWarehouse},async update(e,t){return (await r.request(te,{id:e,input:t})).updateWarehouse},async delete(e){return (await r.request(re,{id:e})).deleteWarehouse},async createLocation(e){return (await r.request(oe,{input:e})).createWarehouseLocation},async updateLocation(e,t){return (await r.request(ie,{id:e,input:t})).updateWarehouseLocation}},inventory:{async getItem(e){return (await r.request(ae,{id:e})).inventoryItem},async listItems(e,t){return (await r.request(ne,{filter:e,pagination:t})).inventoryItems},async createItem(e){return (await r.request(se,{input:e})).createInventoryItem},async updateItem(e,t){return (await r.request(he,{id:e,input:t})).updateInventoryItem},async deleteItem(e){return (await r.request(le,{id:e})).deleteInventoryItem},async adjustStock(e){return (await r.request(ue,{input:e})).adjustInventoryStock},async listTransactions(e,t){return (await r.request(de,{filter:e,pagination:t})).inventoryTransactions},async createTransaction(e){return (await r.request(pe,{input:e})).createInventoryTransaction},async stats(){return (await r.request(ce)).inventoryStats}},orders:{async get(e){return (await r.request(ve,{id:e})).movethewheelsOrder},async list(e,t){return (await r.request(Ie,{filter:e,pagination:t})).movethewheelsOrders},async create(e){return (await r.request(we,{input:e})).createMovethewheelsOrder},async update(e,t){return (await r.request(Me,{id:e,input:t})).updateMovethewheelsOrder},async delete(e){return (await r.request(Ee,{id:e})).deleteMovethewheelsOrder},async updateStatus(e,t){return (await r.request(Se,{id:e,input:t})).updateMovethewheelsOrderStatus}},shipments:{async get(e){return (await r.request(me,{id:e})).shipment},async list(e,t){return (await r.request(Re,{filter:e,pagination:t})).shipments},async create(e){return (await r.request(ge,{input:e})).createShipment},async update(e,t){return (await r.request(Oe,{id:e,input:t})).updateShipment},async delete(e){return (await r.request(ye,{id:e})).deleteShipment},async activeDeliveries(e){return (await r.request(Te,{pagination:e})).activeDeliveries}},tracking:{async orderEvents(e,t){return (await r.request(Ae,{orderId:e,pagination:t})).orderTracking},async shipmentEvents(e,t){return (await r.request($e,{shipmentId:e,pagination:t})).shipmentTracking},async alerts(e){return (await r.request(Pe,{pagination:e})).trackingAlerts},async addEvent(e){return (await r.request(De,{input:e})).addTrackingEvent}},routes:{async get(e){return (await r.request(fe,{id:e})).route},async list(e,t){return (await r.request(Ce,{filter:e,pagination:t})).routes},async create(e){return (await r.request(_e,{input:e})).createRoute},async update(e,t){return (await r.request(Fe,{id:e,input:t})).updateRoute},async delete(e){return (await r.request(Ue,{id:e})).deleteRoute},async optimize(e){return (await r.request(Ve,{id:e})).optimizeRoute}},marketplace:{async getProvider(e){return (await r.request(Le,{id:e})).serviceProvider},async listProviders(e,t){return (await r.request(xe,{filter:e,pagination:t})).serviceProviders},async createProvider(e){return (await r.request(qe,{input:e})).createServiceProvider},async updateProvider(e,t){return (await r.request(Ne,{id:e,input:t})).updateServiceProvider},async deleteProvider(e){return (await r.request(ke,{id:e})).deleteServiceProvider},async getOffering(e){return (await r.request(We,{id:e})).serviceOffering},async listOfferings(e,t){return (await r.request(Ge,{filter:e,pagination:t})).serviceOfferings},async createOffering(e){return (await r.request(He,{input:e})).createServiceOffering},async updateOffering(e,t){return (await r.request(be,{id:e,input:t})).updateServiceOffering},async deleteOffering(e){return (await r.request(Be,{id:e})).deleteServiceOffering}},reports:{async get(e){return (await r.request(Ye,{id:e})).movethewheelsReport},async list(e,t){return (await r.request(je,{filter:e,pagination:t})).movethewheelsReports},async create(e){return (await r.request(Ke,{input:e})).createMovethewheelsReport},async update(e,t){return (await r.request(ze,{id:e,input:t})).updateMovethewheelsReport},async delete(e){return (await r.request(Je,{id:e})).deleteMovethewheelsReport},async generate(e){return (await r.request(Xe,{input:e})).generateMovethewheelsReport}},settings:{async get(){return (await r.request(Ze)).moduleSettings},async update(e){return (await r.request(Qe,{input:e})).updateModuleSettings}},data:{async export(e){return (await r.request(et,{input:e})).exportData},async import(e){return (await r.request(tt,{input:e})).importData}},analytics:{async series(){return (await r.request(rt)).analytics},async dashboard(){return (await r.request(ot)).dashboardMetrics},async finance(){return (await r.request(it)).financeMetrics},async fleet(){return (await r.request(at)).fleetStats},async orderStats(){return (await r.request(nt)).orderStats},async insights(e){return (await r.request(st,{question:e})).assistantInsights}}}}var dt={id:"movethewheels",version:"1.0.0",displayName:"MoveTheWheels",dependsOn:["auth"],attach(S){return ht(S)}},Ft=dt;export{Ft as default};
|