usps-imis-api 0.12.0 → 0.12.1
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.
- checksums.yaml +4 -4
- data/lib/usps/imis/command_line/options.yml.erb +134 -0
- data/lib/usps/imis/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d4935929ad9c147f74130bc48c0980ad3ffa801bb7fb19680f07fca5492d58d
|
|
4
|
+
data.tar.gz: dc9dee4a54c2b39fa7b30ec518fb797855f40022d8990b9d6bb348a22bf23006
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d867fd2358a479359eeb68b00e97c4da63e74909c51ba4eb335af3e4353ec3eb297f79a0d538e565adfc8bf080127d261f8a59f430127266ed9efbb0cebf0039
|
|
7
|
+
data.tar.gz: 8fc15085b191a48c63d7de467e6479846cde28158e4dbd02d847082243450135e68120b6e9f88d6c497d4c841a3aedd763c7f9c182023588fe89f4642b2c9c55
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# IDs
|
|
2
|
+
certificate:
|
|
3
|
+
- Member certificate number
|
|
4
|
+
- type: string
|
|
5
|
+
short: c
|
|
6
|
+
id:
|
|
7
|
+
- Member iMIS ID
|
|
8
|
+
- type: integer
|
|
9
|
+
short: i
|
|
10
|
+
record_id:
|
|
11
|
+
- Specific Record ID
|
|
12
|
+
- type: integer
|
|
13
|
+
short: I
|
|
14
|
+
uuid:
|
|
15
|
+
- Record UUID
|
|
16
|
+
- type: string
|
|
17
|
+
short: u
|
|
18
|
+
|
|
19
|
+
# Primary interactions
|
|
20
|
+
'on':
|
|
21
|
+
- Business Object name
|
|
22
|
+
- type: string
|
|
23
|
+
short: O
|
|
24
|
+
panel:
|
|
25
|
+
- Panel name
|
|
26
|
+
- type: string
|
|
27
|
+
short: P
|
|
28
|
+
query:
|
|
29
|
+
- IQA Query or Business Object name to query
|
|
30
|
+
- type: string
|
|
31
|
+
short: Q
|
|
32
|
+
mapper:
|
|
33
|
+
- Interact with mapped fields
|
|
34
|
+
- short: M
|
|
35
|
+
map:
|
|
36
|
+
- "Shorthand for <%= '-Mf'.green %> to access a single mapped field"
|
|
37
|
+
- type: string
|
|
38
|
+
short: m
|
|
39
|
+
business_objects:
|
|
40
|
+
- List available Business Objects
|
|
41
|
+
- short: B
|
|
42
|
+
|
|
43
|
+
# Alternate verbs
|
|
44
|
+
create:
|
|
45
|
+
- "Send a <%= 'POST'.cyan %> request"
|
|
46
|
+
- short: C
|
|
47
|
+
delete:
|
|
48
|
+
- "Send a <%= 'DELETE'.cyan %> request"
|
|
49
|
+
- short: D
|
|
50
|
+
|
|
51
|
+
# Data
|
|
52
|
+
ordinal:
|
|
53
|
+
- Ordinal ID within a Panel
|
|
54
|
+
- type: integer
|
|
55
|
+
short: r
|
|
56
|
+
field:
|
|
57
|
+
- Specific field to return or update
|
|
58
|
+
- type: string
|
|
59
|
+
short: f
|
|
60
|
+
fields:
|
|
61
|
+
- Specific field(s) to return
|
|
62
|
+
- type: strings
|
|
63
|
+
short: F
|
|
64
|
+
data:
|
|
65
|
+
- "JSON string input -- <%= 'STDIN'.red %> takes priority"
|
|
66
|
+
- type: string
|
|
67
|
+
short: d
|
|
68
|
+
|
|
69
|
+
# Query params
|
|
70
|
+
page:
|
|
71
|
+
- Specific page number from a query to return
|
|
72
|
+
- type: integer
|
|
73
|
+
default: 1
|
|
74
|
+
short: p
|
|
75
|
+
page_size:
|
|
76
|
+
- Maximum number of records to include on a single page (max 500)
|
|
77
|
+
- type: integer
|
|
78
|
+
default: 100
|
|
79
|
+
short: -s
|
|
80
|
+
offset:
|
|
81
|
+
- Number of records to skip from the beginning of a query
|
|
82
|
+
- type: integer
|
|
83
|
+
short: -o
|
|
84
|
+
|
|
85
|
+
# Output formats
|
|
86
|
+
raw:
|
|
87
|
+
- Return raw JSON output, rather than simplified data
|
|
88
|
+
- short: R
|
|
89
|
+
jsonl:
|
|
90
|
+
- Format array output as JSONL
|
|
91
|
+
- short: j
|
|
92
|
+
csv:
|
|
93
|
+
- Format output as CSV (if possible)
|
|
94
|
+
- short: S
|
|
95
|
+
|
|
96
|
+
# General config
|
|
97
|
+
config:
|
|
98
|
+
- "Path to the JSON/YAML config file to use, or one of the following preset options: \
|
|
99
|
+
`<%= 'local'.yellow %>`, \
|
|
100
|
+
`<%= 'local_dot_config'.yellow %>`, \
|
|
101
|
+
`<%= 'local_config'.yellow %>`, \
|
|
102
|
+
`<%= 'user'.yellow %>`, \
|
|
103
|
+
`<%= 'system'.yellow %>`. \
|
|
104
|
+
If no option is provided, the first matching preset option will be automatically used."
|
|
105
|
+
- type: string
|
|
106
|
+
short: Y
|
|
107
|
+
show_config:
|
|
108
|
+
- Return the active config file path
|
|
109
|
+
- short: X
|
|
110
|
+
include_ids:
|
|
111
|
+
- "Include any <%= 'iMIS ID'.yellow %> and <%= 'Ordinal'.yellow %> properties in returned data"
|
|
112
|
+
- short: N
|
|
113
|
+
|
|
114
|
+
# Iteractions for supporting other language wrappers
|
|
115
|
+
auth_token:
|
|
116
|
+
- Return an auth token for other language wrappers
|
|
117
|
+
- short: T
|
|
118
|
+
token:
|
|
119
|
+
- Provide an existing auth token
|
|
120
|
+
- type: string
|
|
121
|
+
short: t
|
|
122
|
+
|
|
123
|
+
# Logging
|
|
124
|
+
quiet:
|
|
125
|
+
- "Suppress logging to <%= 'STDERR'.red %>"
|
|
126
|
+
- short: q
|
|
127
|
+
log:
|
|
128
|
+
- "Redirect logging to <%= 'STDOUT'.red %>"
|
|
129
|
+
- short: l
|
|
130
|
+
log_level:
|
|
131
|
+
- Set the logging level
|
|
132
|
+
- type: string
|
|
133
|
+
default: info
|
|
134
|
+
short: L
|
data/lib/usps/imis/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: usps-imis-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Julian Fiander
|
|
@@ -96,6 +96,7 @@ files:
|
|
|
96
96
|
- lib/usps/imis/command_line.rb
|
|
97
97
|
- lib/usps/imis/command_line/formatters.rb
|
|
98
98
|
- lib/usps/imis/command_line/interface.rb
|
|
99
|
+
- lib/usps/imis/command_line/options.yml.erb
|
|
99
100
|
- lib/usps/imis/command_line/options_parser.rb
|
|
100
101
|
- lib/usps/imis/command_line/performers.rb
|
|
101
102
|
- lib/usps/imis/config.rb
|