makea-cli 0.2.10__tar.gz → 0.2.11__tar.gz
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.
- {makea_cli-0.2.10 → makea_cli-0.2.11}/CHANGELOG.md +14 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/PKG-INFO +1 -1
- makea_cli-0.2.11/makea_cli/__init__.py +1 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/api_client.py +37 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/factory/cmd.py +104 -3
- {makea_cli-0.2.10 → makea_cli-0.2.11}/pyproject.toml +1 -1
- {makea_cli-0.2.10 → makea_cli-0.2.11}/tests/golden_manifest.json +169 -3
- {makea_cli-0.2.10 → makea_cli-0.2.11}/uv.lock +4 -2
- makea_cli-0.2.10/makea_cli/__init__.py +0 -1
- {makea_cli-0.2.10 → makea_cli-0.2.11}/.claude/skills/create-supplier-profile/SKILL.md +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/.claude/skills/lark-cli-setup/SKILL.md +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/.claude/skills/link-supplier-user/SKILL.md +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/.claude/skills/makea-cli-setup/SKILL.md +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/.claude/skills/payment-revenue-report/SKILL.md +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/.claude/skills/supplier-user-id-migration/SKILL.md +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/.gitignore +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/README.md +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea-collection-upload/SKILL.md +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea-collection-upload/scripts/create_products.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/__main__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/auth_pkce.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/broker.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/_util.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/analytics/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/analytics/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/auth/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/auth/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/brand/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/brand/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/designer/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/designer/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/directory/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/directory/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/document/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/document/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/email/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/email/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/factory/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/library/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/library/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/metrics/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/metrics/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/orders/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/orders/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/product/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/product/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/production/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/production/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/production/pricing_spec.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/supplier/__init__.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/commands/supplier/cmd.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/config.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/errors.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/identity.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/main.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/output.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/posthog_client.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/makea_cli/registry.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/npm/makea-cli/README.md +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/npm/makea-cli/makea-cli.mjs +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/npm/makea-cli/package.json +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/tests/test_broker.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/tests/test_output_contract.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/tests/test_persona_commands.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/tests/test_pm_reads.py +0 -0
- {makea_cli-0.2.10 → makea_cli-0.2.11}/tests/test_registry.py +0 -0
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.11
|
|
4
|
+
|
|
5
|
+
- Order reads for a factory (and its Beeboo):
|
|
6
|
+
- `supplier get order <rfq> [--readable]`: the sample and bulk orders on one
|
|
7
|
+
RFQ; `--readable` gives each order's state, dates, quantity and what has
|
|
8
|
+
been paid, with no ids or product payload.
|
|
9
|
+
- `supplier list milestone --production-order <id>`: the bulk order's
|
|
10
|
+
milestones, which came back and why, and the proof review's view.
|
|
11
|
+
- `supplier get payment-summary <rfq>`: whether the buyer has paid the
|
|
12
|
+
sample, deposit and balance, and the factory's own price on each PO.
|
|
13
|
+
- `supplier list purchase-order`, `supplier list order-note`.
|
|
14
|
+
- `supplier list production-order` now requires `--rfq` (the backend always
|
|
15
|
+
did; without it the command failed).
|
|
16
|
+
|
|
3
17
|
## 0.2.10
|
|
4
18
|
|
|
5
19
|
- PM reads for a brand (and Beeboo working for one):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.11"
|
|
@@ -1062,6 +1062,43 @@ def supplier_list_production_orders(*, quote_request_id: str | None = None) -> A
|
|
|
1062
1062
|
return get_json("/supplier/production_orders", params=params)
|
|
1063
1063
|
|
|
1064
1064
|
|
|
1065
|
+
def supplier_get_orders(quote_request_id: str, *, readable: bool = False) -> Any:
|
|
1066
|
+
"""GET /supplier/quote_requests/{id}/orders_view — the sample and bulk orders
|
|
1067
|
+
on one RFQ. ``readable``: each order's state, dates and what was paid, with
|
|
1068
|
+
no ids or product payload (the full view runs past 100KB)."""
|
|
1069
|
+
params = {"view": "readable"} if readable else None
|
|
1070
|
+
return get_json(f"/supplier/quote_requests/{quote_request_id}/orders_view", params=params)
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
def supplier_list_milestones(production_order_id: str) -> Any:
|
|
1074
|
+
"""GET /supplier/production_orders/{id}/progress?view=readable — each step's
|
|
1075
|
+
milestones, which one came back and why, and the proof review's view."""
|
|
1076
|
+
return get_json(
|
|
1077
|
+
f"/supplier/production_orders/{production_order_id}/progress",
|
|
1078
|
+
params={"view": "readable"},
|
|
1079
|
+
)
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
def supplier_get_payment_summary(quote_request_id: str) -> Any:
|
|
1083
|
+
"""GET /supplier/quote_requests/{id}/payment_summary — whether the buyer has
|
|
1084
|
+
paid each stage, and the factory's own price on its purchase orders."""
|
|
1085
|
+
return get_json(f"/supplier/quote_requests/{quote_request_id}/payment_summary")
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
def supplier_list_purchase_orders() -> Any:
|
|
1089
|
+
"""GET /supplier/purchase-orders — purchase orders raised to this factory."""
|
|
1090
|
+
return get_json("/supplier/purchase-orders")
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
def supplier_list_order_notes(
|
|
1094
|
+
*, production_order_id: str | None = None, sampling_order_id: str | None = None
|
|
1095
|
+
) -> Any:
|
|
1096
|
+
"""GET /supplier/{production|sampling}_orders/{id}/notes — an order's notes."""
|
|
1097
|
+
if production_order_id:
|
|
1098
|
+
return get_json(f"/supplier/production_orders/{production_order_id}/notes")
|
|
1099
|
+
return get_json(f"/supplier/sampling_orders/{sampling_order_id}/notes")
|
|
1100
|
+
|
|
1101
|
+
|
|
1065
1102
|
def supplier_list_actions() -> Any:
|
|
1066
1103
|
"""GET /supplier/actions — what the platform is waiting on this factory for."""
|
|
1067
1104
|
return get_json("/supplier/actions")
|
|
@@ -96,11 +96,11 @@ def register(app: typer.Typer) -> None:
|
|
|
96
96
|
"list",
|
|
97
97
|
"production-order",
|
|
98
98
|
api="GET /supplier/production_orders",
|
|
99
|
-
help="GET /supplier/production_orders —
|
|
99
|
+
help="GET /supplier/production_orders?quote_request_id=… — the bulk orders on one RFQ.",
|
|
100
100
|
)
|
|
101
101
|
def list_production_orders(
|
|
102
|
-
rfq: str
|
|
103
|
-
|
|
102
|
+
rfq: str = typer.Option(
|
|
103
|
+
..., "--rfq", help="The quote request whose orders to list (required)."
|
|
104
104
|
),
|
|
105
105
|
) -> None:
|
|
106
106
|
"""List the factory's production orders."""
|
|
@@ -108,6 +108,107 @@ def register(app: typer.Typer) -> None:
|
|
|
108
108
|
console, lambda: api_client.supplier_list_production_orders(quote_request_id=rfq)
|
|
109
109
|
)
|
|
110
110
|
|
|
111
|
+
@command(
|
|
112
|
+
app,
|
|
113
|
+
"supplier",
|
|
114
|
+
"get",
|
|
115
|
+
"order",
|
|
116
|
+
api="GET /supplier/quote_requests/{id}/orders_view",
|
|
117
|
+
help=(
|
|
118
|
+
"GET /supplier/quote_requests/{id}/orders_view — the sample and bulk orders on one RFQ."
|
|
119
|
+
),
|
|
120
|
+
)
|
|
121
|
+
def get_order(
|
|
122
|
+
quote_request_id: str = typer.Argument(..., help="The quote request."),
|
|
123
|
+
readable: bool = typer.Option(
|
|
124
|
+
False,
|
|
125
|
+
"--readable",
|
|
126
|
+
help=(
|
|
127
|
+
"Each order's state, dates, quantity and what has been paid, with "
|
|
128
|
+
"no ids or product payload. The full view runs past 100KB."
|
|
129
|
+
),
|
|
130
|
+
),
|
|
131
|
+
) -> None:
|
|
132
|
+
"""Read the orders on one RFQ."""
|
|
133
|
+
print_json_or_exit(
|
|
134
|
+
console,
|
|
135
|
+
lambda: api_client.supplier_get_orders(quote_request_id, readable=readable),
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
@command(
|
|
139
|
+
app,
|
|
140
|
+
"supplier",
|
|
141
|
+
"list",
|
|
142
|
+
"milestone",
|
|
143
|
+
api="GET /supplier/production_orders/{id}/progress",
|
|
144
|
+
help=(
|
|
145
|
+
"GET /supplier/production_orders/{id}/progress?view=readable — each "
|
|
146
|
+
"step's milestones, which came back and why, and the proof review."
|
|
147
|
+
),
|
|
148
|
+
)
|
|
149
|
+
def list_milestones(
|
|
150
|
+
production_order: str = typer.Option(
|
|
151
|
+
..., "--production-order", help="The bulk order (from `get order`)."
|
|
152
|
+
),
|
|
153
|
+
) -> None:
|
|
154
|
+
"""List a bulk order's production milestones."""
|
|
155
|
+
print_json_or_exit(console, lambda: api_client.supplier_list_milestones(production_order))
|
|
156
|
+
|
|
157
|
+
@command(
|
|
158
|
+
app,
|
|
159
|
+
"supplier",
|
|
160
|
+
"get",
|
|
161
|
+
"payment-summary",
|
|
162
|
+
api="GET /supplier/quote_requests/{id}/payment_summary",
|
|
163
|
+
help=(
|
|
164
|
+
"GET /supplier/quote_requests/{id}/payment_summary — whether the buyer "
|
|
165
|
+
"has paid the sample, deposit and balance, and your price on each PO."
|
|
166
|
+
),
|
|
167
|
+
)
|
|
168
|
+
def get_payment_summary(
|
|
169
|
+
quote_request_id: str = typer.Argument(..., help="The quote request."),
|
|
170
|
+
) -> None:
|
|
171
|
+
"""Where the money for one RFQ stands, from the factory's side."""
|
|
172
|
+
print_json_or_exit(
|
|
173
|
+
console, lambda: api_client.supplier_get_payment_summary(quote_request_id)
|
|
174
|
+
)
|
|
175
|
+
|
|
176
|
+
@command(
|
|
177
|
+
app,
|
|
178
|
+
"supplier",
|
|
179
|
+
"list",
|
|
180
|
+
"purchase-order",
|
|
181
|
+
api="GET /supplier/purchase-orders",
|
|
182
|
+
help="GET /supplier/purchase-orders — the purchase orders raised to you.",
|
|
183
|
+
)
|
|
184
|
+
def list_purchase_orders() -> None:
|
|
185
|
+
"""List the factory's purchase orders."""
|
|
186
|
+
print_json_or_exit(console, lambda: api_client.supplier_list_purchase_orders())
|
|
187
|
+
|
|
188
|
+
@command(
|
|
189
|
+
app,
|
|
190
|
+
"supplier",
|
|
191
|
+
"list",
|
|
192
|
+
"order-note",
|
|
193
|
+
api="GET /supplier/production_orders/{id}/notes",
|
|
194
|
+
help=("GET /supplier/{production|sampling}_orders/{id}/notes — the notes on one order."),
|
|
195
|
+
)
|
|
196
|
+
def list_order_notes(
|
|
197
|
+
production_order: str | None = typer.Option(
|
|
198
|
+
None, "--production-order", help="A bulk order."
|
|
199
|
+
),
|
|
200
|
+
sampling_order: str | None = typer.Option(None, "--sampling-order", help="A sample order."),
|
|
201
|
+
) -> None:
|
|
202
|
+
"""List the notes on one order."""
|
|
203
|
+
if bool(production_order) == bool(sampling_order):
|
|
204
|
+
raise typer.BadParameter("Give exactly one of --production-order, --sampling-order")
|
|
205
|
+
print_json_or_exit(
|
|
206
|
+
console,
|
|
207
|
+
lambda: api_client.supplier_list_order_notes(
|
|
208
|
+
production_order_id=production_order, sampling_order_id=sampling_order
|
|
209
|
+
),
|
|
210
|
+
)
|
|
211
|
+
|
|
111
212
|
@command(
|
|
112
213
|
app,
|
|
113
214
|
"supplier",
|
|
@@ -6991,6 +6991,49 @@
|
|
|
6991
6991
|
}
|
|
6992
6992
|
]
|
|
6993
6993
|
},
|
|
6994
|
+
{
|
|
6995
|
+
"name": "supplier get order",
|
|
6996
|
+
"persona": "supplier",
|
|
6997
|
+
"verb": "get",
|
|
6998
|
+
"noun": "order",
|
|
6999
|
+
"access": "read",
|
|
7000
|
+
"api": "GET /supplier/quote_requests/{id}/orders_view",
|
|
7001
|
+
"external": null,
|
|
7002
|
+
"side_effects": [],
|
|
7003
|
+
"approval": "auto",
|
|
7004
|
+
"reversible": null,
|
|
7005
|
+
"idempotent": null,
|
|
7006
|
+
"limit": null,
|
|
7007
|
+
"legacy": [],
|
|
7008
|
+
"help": "GET /supplier/quote_requests/{id}/orders_view — the sample and bulk orders on one RFQ.",
|
|
7009
|
+
"function": "makea_cli.commands.factory.cmd.register.<locals>.get_order",
|
|
7010
|
+
"flags": [
|
|
7011
|
+
{
|
|
7012
|
+
"name": "quote_request_id",
|
|
7013
|
+
"kind": "argument",
|
|
7014
|
+
"opts": [
|
|
7015
|
+
"quote_request_id"
|
|
7016
|
+
],
|
|
7017
|
+
"type": "text",
|
|
7018
|
+
"required": true,
|
|
7019
|
+
"multiple": false,
|
|
7020
|
+
"default": null,
|
|
7021
|
+
"help": "The quote request."
|
|
7022
|
+
},
|
|
7023
|
+
{
|
|
7024
|
+
"name": "readable",
|
|
7025
|
+
"kind": "option",
|
|
7026
|
+
"opts": [
|
|
7027
|
+
"--readable"
|
|
7028
|
+
],
|
|
7029
|
+
"type": "flag",
|
|
7030
|
+
"required": false,
|
|
7031
|
+
"multiple": false,
|
|
7032
|
+
"default": false,
|
|
7033
|
+
"help": "Each order's state, dates, quantity and what has been paid, with no ids or product payload. The full view runs past 100KB."
|
|
7034
|
+
}
|
|
7035
|
+
]
|
|
7036
|
+
},
|
|
6994
7037
|
{
|
|
6995
7038
|
"name": "supplier get pack",
|
|
6996
7039
|
"persona": "supplier",
|
|
@@ -7066,6 +7109,37 @@
|
|
|
7066
7109
|
}
|
|
7067
7110
|
]
|
|
7068
7111
|
},
|
|
7112
|
+
{
|
|
7113
|
+
"name": "supplier get payment-summary",
|
|
7114
|
+
"persona": "supplier",
|
|
7115
|
+
"verb": "get",
|
|
7116
|
+
"noun": "payment-summary",
|
|
7117
|
+
"access": "read",
|
|
7118
|
+
"api": "GET /supplier/quote_requests/{id}/payment_summary",
|
|
7119
|
+
"external": null,
|
|
7120
|
+
"side_effects": [],
|
|
7121
|
+
"approval": "auto",
|
|
7122
|
+
"reversible": null,
|
|
7123
|
+
"idempotent": null,
|
|
7124
|
+
"limit": null,
|
|
7125
|
+
"legacy": [],
|
|
7126
|
+
"help": "GET /supplier/quote_requests/{id}/payment_summary — whether the buyer has paid the sample, deposit and balance, and your price on each PO.",
|
|
7127
|
+
"function": "makea_cli.commands.factory.cmd.register.<locals>.get_payment_summary",
|
|
7128
|
+
"flags": [
|
|
7129
|
+
{
|
|
7130
|
+
"name": "quote_request_id",
|
|
7131
|
+
"kind": "argument",
|
|
7132
|
+
"opts": [
|
|
7133
|
+
"quote_request_id"
|
|
7134
|
+
],
|
|
7135
|
+
"type": "text",
|
|
7136
|
+
"required": true,
|
|
7137
|
+
"multiple": false,
|
|
7138
|
+
"default": null,
|
|
7139
|
+
"help": "The quote request."
|
|
7140
|
+
}
|
|
7141
|
+
]
|
|
7142
|
+
},
|
|
7069
7143
|
{
|
|
7070
7144
|
"name": "supplier get profile",
|
|
7071
7145
|
"persona": "supplier",
|
|
@@ -7165,6 +7239,37 @@
|
|
|
7165
7239
|
}
|
|
7166
7240
|
]
|
|
7167
7241
|
},
|
|
7242
|
+
{
|
|
7243
|
+
"name": "supplier list milestone",
|
|
7244
|
+
"persona": "supplier",
|
|
7245
|
+
"verb": "list",
|
|
7246
|
+
"noun": "milestone",
|
|
7247
|
+
"access": "read",
|
|
7248
|
+
"api": "GET /supplier/production_orders/{id}/progress",
|
|
7249
|
+
"external": null,
|
|
7250
|
+
"side_effects": [],
|
|
7251
|
+
"approval": "auto",
|
|
7252
|
+
"reversible": null,
|
|
7253
|
+
"idempotent": null,
|
|
7254
|
+
"limit": "client",
|
|
7255
|
+
"legacy": [],
|
|
7256
|
+
"help": "GET /supplier/production_orders/{id}/progress?view=readable — each step's milestones, which came back and why, and the proof review.",
|
|
7257
|
+
"function": "makea_cli.commands.factory.cmd.register.<locals>.list_milestones",
|
|
7258
|
+
"flags": [
|
|
7259
|
+
{
|
|
7260
|
+
"name": "production_order",
|
|
7261
|
+
"kind": "option",
|
|
7262
|
+
"opts": [
|
|
7263
|
+
"--production-order"
|
|
7264
|
+
],
|
|
7265
|
+
"type": "text",
|
|
7266
|
+
"required": true,
|
|
7267
|
+
"multiple": false,
|
|
7268
|
+
"default": null,
|
|
7269
|
+
"help": "The bulk order (from `get order`)."
|
|
7270
|
+
}
|
|
7271
|
+
]
|
|
7272
|
+
},
|
|
7168
7273
|
{
|
|
7169
7274
|
"name": "supplier list note",
|
|
7170
7275
|
"persona": "supplier",
|
|
@@ -7210,6 +7315,49 @@
|
|
|
7210
7315
|
}
|
|
7211
7316
|
]
|
|
7212
7317
|
},
|
|
7318
|
+
{
|
|
7319
|
+
"name": "supplier list order-note",
|
|
7320
|
+
"persona": "supplier",
|
|
7321
|
+
"verb": "list",
|
|
7322
|
+
"noun": "order-note",
|
|
7323
|
+
"access": "read",
|
|
7324
|
+
"api": "GET /supplier/production_orders/{id}/notes",
|
|
7325
|
+
"external": null,
|
|
7326
|
+
"side_effects": [],
|
|
7327
|
+
"approval": "auto",
|
|
7328
|
+
"reversible": null,
|
|
7329
|
+
"idempotent": null,
|
|
7330
|
+
"limit": "client",
|
|
7331
|
+
"legacy": [],
|
|
7332
|
+
"help": "GET /supplier/{production|sampling}_orders/{id}/notes — the notes on one order.",
|
|
7333
|
+
"function": "makea_cli.commands.factory.cmd.register.<locals>.list_order_notes",
|
|
7334
|
+
"flags": [
|
|
7335
|
+
{
|
|
7336
|
+
"name": "production_order",
|
|
7337
|
+
"kind": "option",
|
|
7338
|
+
"opts": [
|
|
7339
|
+
"--production-order"
|
|
7340
|
+
],
|
|
7341
|
+
"type": "text",
|
|
7342
|
+
"required": false,
|
|
7343
|
+
"multiple": false,
|
|
7344
|
+
"default": null,
|
|
7345
|
+
"help": "A bulk order."
|
|
7346
|
+
},
|
|
7347
|
+
{
|
|
7348
|
+
"name": "sampling_order",
|
|
7349
|
+
"kind": "option",
|
|
7350
|
+
"opts": [
|
|
7351
|
+
"--sampling-order"
|
|
7352
|
+
],
|
|
7353
|
+
"type": "text",
|
|
7354
|
+
"required": false,
|
|
7355
|
+
"multiple": false,
|
|
7356
|
+
"default": null,
|
|
7357
|
+
"help": "A sample order."
|
|
7358
|
+
}
|
|
7359
|
+
]
|
|
7360
|
+
},
|
|
7213
7361
|
{
|
|
7214
7362
|
"name": "supplier list production-order",
|
|
7215
7363
|
"persona": "supplier",
|
|
@@ -7224,7 +7372,7 @@
|
|
|
7224
7372
|
"idempotent": null,
|
|
7225
7373
|
"limit": "client",
|
|
7226
7374
|
"legacy": [],
|
|
7227
|
-
"help": "GET /supplier/production_orders —
|
|
7375
|
+
"help": "GET /supplier/production_orders?quote_request_id=… — the bulk orders on one RFQ.",
|
|
7228
7376
|
"function": "makea_cli.commands.factory.cmd.register.<locals>.list_production_orders",
|
|
7229
7377
|
"flags": [
|
|
7230
7378
|
{
|
|
@@ -7234,13 +7382,31 @@
|
|
|
7234
7382
|
"--rfq"
|
|
7235
7383
|
],
|
|
7236
7384
|
"type": "text",
|
|
7237
|
-
"required":
|
|
7385
|
+
"required": true,
|
|
7238
7386
|
"multiple": false,
|
|
7239
7387
|
"default": null,
|
|
7240
|
-
"help": "
|
|
7388
|
+
"help": "The quote request whose orders to list (required)."
|
|
7241
7389
|
}
|
|
7242
7390
|
]
|
|
7243
7391
|
},
|
|
7392
|
+
{
|
|
7393
|
+
"name": "supplier list purchase-order",
|
|
7394
|
+
"persona": "supplier",
|
|
7395
|
+
"verb": "list",
|
|
7396
|
+
"noun": "purchase-order",
|
|
7397
|
+
"access": "read",
|
|
7398
|
+
"api": "GET /supplier/purchase-orders",
|
|
7399
|
+
"external": null,
|
|
7400
|
+
"side_effects": [],
|
|
7401
|
+
"approval": "auto",
|
|
7402
|
+
"reversible": null,
|
|
7403
|
+
"idempotent": null,
|
|
7404
|
+
"limit": "client",
|
|
7405
|
+
"legacy": [],
|
|
7406
|
+
"help": "GET /supplier/purchase-orders — the purchase orders raised to you.",
|
|
7407
|
+
"function": "makea_cli.commands.factory.cmd.register.<locals>.list_purchase_orders",
|
|
7408
|
+
"flags": []
|
|
7409
|
+
},
|
|
7244
7410
|
{
|
|
7245
7411
|
"name": "supplier list quote-edit-request",
|
|
7246
7412
|
"persona": "supplier",
|
|
@@ -115,9 +115,10 @@ wheels = [
|
|
|
115
115
|
|
|
116
116
|
[[package]]
|
|
117
117
|
name = "makea-cli"
|
|
118
|
-
version = "0.
|
|
118
|
+
version = "0.2.11"
|
|
119
119
|
source = { editable = "." }
|
|
120
120
|
dependencies = [
|
|
121
|
+
{ name = "click" },
|
|
121
122
|
{ name = "httpx" },
|
|
122
123
|
{ name = "platformdirs" },
|
|
123
124
|
{ name = "rich" },
|
|
@@ -126,10 +127,11 @@ dependencies = [
|
|
|
126
127
|
|
|
127
128
|
[package.metadata]
|
|
128
129
|
requires-dist = [
|
|
130
|
+
{ name = "click", specifier = ">=8.1,<9" },
|
|
129
131
|
{ name = "httpx", specifier = ">=0.27" },
|
|
130
132
|
{ name = "platformdirs", specifier = ">=4.2" },
|
|
131
133
|
{ name = "rich", specifier = ">=13.7" },
|
|
132
|
-
{ name = "typer", specifier = ">=0.12" },
|
|
134
|
+
{ name = "typer", specifier = ">=0.12,<0.25" },
|
|
133
135
|
]
|
|
134
136
|
|
|
135
137
|
[[package]]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|