@campxdev/campx-web-utils 2.1.0 → 2.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/campx-web-utils",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "author": "CampX",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -1,4 +1,11 @@
1
- import { Button, Dialog, RadioGroup, SingleSelect, Textarea, Typography } from '@campxdev/react-blueprint';
1
+ import {
2
+ Button,
3
+ Dialog,
4
+ RadioGroup,
5
+ SingleSelect,
6
+ Textarea,
7
+ Typography,
8
+ } from '@campxdev/react-blueprint';
2
9
  import { useState } from 'react';
3
10
  import { useMutation, useQueryClient } from 'react-query';
4
11
 
@@ -29,6 +36,10 @@ const NOT_CONNECTED_DISPOSITIONS = [
29
36
  { label: 'Not Answering', value: 'not_answering' },
30
37
  { label: 'Not Connected', value: 'not_connected' },
31
38
  { label: 'Fail to Call', value: 'fail_to_call' },
39
+ { label: 'Switched Off', value: 'switched_off' },
40
+ { label: 'Out of Service', value: 'out_of_service' },
41
+ { label: 'Invalid Number', value: 'invalid_number' },
42
+ { label: 'Number Busy', value: 'number_busy' },
32
43
  ];
33
44
 
34
45
  export interface DispositionFormData {
@@ -23,7 +23,7 @@ export const workspaceApiMapping: Record<string, string> = {
23
23
  'librarian-workspace': '/librarian-api',
24
24
  'fee-terminal': '/fee-terminal-api',
25
25
  'accounts-officer-workspace': 'accounts-officer-api',
26
- 'finance-officer-workspace': 'finance-officer-api',
26
+ 'finance-officer-workspace': '/finance-officer-api',
27
27
  'outreach-agent-workspace': 'outreach-agent-api',
28
28
  'prospect-workspace': 'prospect-api',
29
29
  'external-expert-workspace': 'external-expert-api',