@activepieces/piece-coupa 0.0.2 → 0.0.4
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 +7 -18
- package/src/i18n/de.json +106 -0
- package/src/i18n/es.json +106 -0
- package/src/i18n/fr.json +106 -0
- package/src/i18n/ja.json +106 -0
- package/src/i18n/nl.json +106 -0
- package/src/i18n/pt.json +106 -0
- package/src/i18n/zh.json +106 -0
- package/src/index.js +13 -74
- package/src/index.d.ts +0 -7
- package/src/index.d.ts.map +0 -1
- package/src/index.js.map +0 -1
- package/src/lib/actions/add-file-attachment.d.ts +0 -23
- package/src/lib/actions/add-file-attachment.d.ts.map +0 -1
- package/src/lib/actions/add-file-attachment.js +0 -127
- package/src/lib/actions/add-file-attachment.js.map +0 -1
- package/src/lib/actions/cancel-purchase-order.d.ts +0 -14
- package/src/lib/actions/cancel-purchase-order.d.ts.map +0 -1
- package/src/lib/actions/cancel-purchase-order.js +0 -35
- package/src/lib/actions/cancel-purchase-order.js.map +0 -1
- package/src/lib/actions/close-purchase-order.d.ts +0 -14
- package/src/lib/actions/close-purchase-order.d.ts.map +0 -1
- package/src/lib/actions/close-purchase-order.js +0 -35
- package/src/lib/actions/close-purchase-order.js.map +0 -1
- package/src/lib/actions/create-object.d.ts +0 -12
- package/src/lib/actions/create-object.d.ts.map +0 -1
- package/src/lib/actions/create-object.js +0 -44
- package/src/lib/actions/create-object.js.map +0 -1
- package/src/lib/actions/get-object-by-id.d.ts +0 -17
- package/src/lib/actions/get-object-by-id.d.ts.map +0 -1
- package/src/lib/actions/get-object-by-id.js +0 -44
- package/src/lib/actions/get-object-by-id.js.map +0 -1
- package/src/lib/actions/get-remit-to-addresses.d.ts +0 -15
- package/src/lib/actions/get-remit-to-addresses.d.ts.map +0 -1
- package/src/lib/actions/get-remit-to-addresses.js +0 -80
- package/src/lib/actions/get-remit-to-addresses.js.map +0 -1
- package/src/lib/actions/get-supplier-sites.d.ts +0 -14
- package/src/lib/actions/get-supplier-sites.d.ts.map +0 -1
- package/src/lib/actions/get-supplier-sites.js +0 -40
- package/src/lib/actions/get-supplier-sites.js.map +0 -1
- package/src/lib/actions/grant-approval.d.ts +0 -14
- package/src/lib/actions/grant-approval.d.ts.map +0 -1
- package/src/lib/actions/grant-approval.js +0 -35
- package/src/lib/actions/grant-approval.js.map +0 -1
- package/src/lib/actions/reject-approval.d.ts +0 -15
- package/src/lib/actions/reject-approval.d.ts.map +0 -1
- package/src/lib/actions/reject-approval.js +0 -48
- package/src/lib/actions/reject-approval.js.map +0 -1
- package/src/lib/actions/search-objects.d.ts +0 -11
- package/src/lib/actions/search-objects.d.ts.map +0 -1
- package/src/lib/actions/search-objects.js +0 -46
- package/src/lib/actions/search-objects.js.map +0 -1
- package/src/lib/actions/set-integration-run-status.d.ts +0 -10
- package/src/lib/actions/set-integration-run-status.d.ts.map +0 -1
- package/src/lib/actions/set-integration-run-status.js +0 -49
- package/src/lib/actions/set-integration-run-status.js.map +0 -1
- package/src/lib/actions/update-object.d.ts +0 -18
- package/src/lib/actions/update-object.d.ts.map +0 -1
- package/src/lib/actions/update-object.js +0 -46
- package/src/lib/actions/update-object.js.map +0 -1
- package/src/lib/auth.d.ts +0 -7
- package/src/lib/auth.d.ts.map +0 -1
- package/src/lib/auth.js +0 -50
- package/src/lib/auth.js.map +0 -1
- package/src/lib/common/client.d.ts +0 -34
- package/src/lib/common/client.d.ts.map +0 -1
- package/src/lib/common/client.js +0 -146
- package/src/lib/common/client.js.map +0 -1
- package/src/lib/common/props.d.ts +0 -47
- package/src/lib/common/props.d.ts.map +0 -1
- package/src/lib/common/props.js +0 -366
- package/src/lib/common/props.js.map +0 -1
- package/src/lib/common/utils.d.ts +0 -22
- package/src/lib/common/utils.d.ts.map +0 -1
- package/src/lib/common/utils.js +0 -182
- package/src/lib/common/utils.js.map +0 -1
- package/src/lib/triggers/new-or-updated-object.d.ts +0 -39
- package/src/lib/triggers/new-or-updated-object.d.ts.map +0 -1
- package/src/lib/triggers/new-or-updated-object.js +0 -101
- package/src/lib/triggers/new-or-updated-object.js.map +0 -1
package/src/i18n/pt.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Business spend management — automate procurement, approvals, purchase orders, and ERP integrations with the Coupa Core API.": "Business spend management — automate procurement, approvals, purchase orders, and ERP integrations with the Coupa Core API.",
|
|
3
|
+
"Coupa Instance URL": "Coupa Instance URL",
|
|
4
|
+
"Client ID": "ID do Cliente",
|
|
5
|
+
"Client Secret": "Chave secreta",
|
|
6
|
+
"OAuth Scopes": "OAuth Scopes",
|
|
7
|
+
"Your Coupa hostname only, e.g. `company.coupahost.com` (without `https://`).": "Your Coupa hostname only, e.g. `company.coupahost.com` (without `https://`).",
|
|
8
|
+
"Space-separated scopes granted to your OIDC client, e.g. `core.purchase_order.read core.purchase_order.write`.": "Space-separated scopes granted to your OIDC client, e.g. `core.purchase_order.read core.purchase_order.write`.",
|
|
9
|
+
"Connect using an OAuth 2.0 OpenID Connect client with the **Client Credentials** grant. In Coupa, go to **Setup → Integrations → OAuth2/OpenID Connect Clients**, create a client, and copy the Client ID and Client Secret. Scopes use the form `core.accounting.read` — list yours at `https://{your-instance}/oauth2/scopes`.": "Connect using an OAuth 2.0 OpenID Connect client with the **Client Credentials** grant. In Coupa, go to **Setup → Integrations → OAuth2/OpenID Connect Clients**, create a client, and copy the Client ID and Client Secret. Scopes use the form `core.accounting.read` — list yours at `https://{your-instance}/oauth2/scopes`.",
|
|
10
|
+
"Create Object": "Create Object",
|
|
11
|
+
"Update Object": "Update Object",
|
|
12
|
+
"Get Object by ID": "Get Object by ID",
|
|
13
|
+
"Search Objects (Batch)": "Search Objects (Batch)",
|
|
14
|
+
"Cancel Purchase Order": "Cancel Purchase Order",
|
|
15
|
+
"Close Purchase Order": "Close Purchase Order",
|
|
16
|
+
"Add File Attachment to Object": "Add File Attachment to Object",
|
|
17
|
+
"Get Remit-To Addresses by Object ID": "Get Remit-To Addresses by Object ID",
|
|
18
|
+
"Get Supplier Sites by Supplier": "Get Supplier Sites by Supplier",
|
|
19
|
+
"Grant Approval": "Grant Approval",
|
|
20
|
+
"Reject Approval": "Reject Approval",
|
|
21
|
+
"Set Integration Run Status": "Set Integration Run Status",
|
|
22
|
+
"Custom Action": "Custom Action",
|
|
23
|
+
"Creates a record in the selected Coupa module (Purchase Orders, Suppliers, or Contracts).": "Creates a record in the selected Coupa module (Purchase Orders, Suppliers, or Contracts).",
|
|
24
|
+
"Updates a record by ID in the selected Coupa module (Purchase Orders, Suppliers, or Contracts).": "Updates a record by ID in the selected Coupa module (Purchase Orders, Suppliers, or Contracts).",
|
|
25
|
+
"Retrieves a single record by ID from Purchase Orders, Suppliers, or Contracts.": "Retrieves a single record by ID from Purchase Orders, Suppliers, or Contracts.",
|
|
26
|
+
"Searches records in a Coupa module with pagination (50 per page) and returns standardized fields.": "Searches records in a Coupa module with pagination (50 per page) and returns standardized fields.",
|
|
27
|
+
"Cancels a purchase order using `PUT /api/purchase_orders/:id/cancel`.": "Cancels a purchase order using `PUT /api/purchase_orders/:id/cancel`.",
|
|
28
|
+
"Closes a purchase order using `PUT /api/purchase_orders/:id/close`.": "Closes a purchase order using `PUT /api/purchase_orders/:id/close`.",
|
|
29
|
+
"Adds an attachment (an uploaded file or a link) to a Purchase Order, Supplier, or Contract in Coupa.": "Adds an attachment (an uploaded file or a link) to a Purchase Order, Supplier, or Contract in Coupa.",
|
|
30
|
+
"Lists remit-to addresses for a Supplier or resolves the supplier from a Purchase Order.": "Lists remit-to addresses for a Supplier or resolves the supplier from a Purchase Order.",
|
|
31
|
+
"Lists supplier sites for a supplier (`GET /api/suppliers/:id/supplier_sites`).": "Lists supplier sites for a supplier (`GET /api/suppliers/:id/supplier_sites`).",
|
|
32
|
+
"Approves a pending approval in Coupa (e.g. a requisition or purchase order awaiting your decision). Pick the approval from the dropdown.": "Approves a pending approval in Coupa (e.g. a requisition or purchase order awaiting your decision). Pick the approval from the dropdown.",
|
|
33
|
+
"Rejects a pending approval in Coupa (e.g. a requisition or purchase order awaiting your decision). Pick the approval from the dropdown.": "Rejects a pending approval in Coupa (e.g. a requisition or purchase order awaiting your decision). Pick the approval from the dropdown.",
|
|
34
|
+
"Updates an integration run status (`run`, `success`, `fail`, `pause`, or `pending`).": "Updates an integration run status (`run`, `success`, `fail`, `pause`, or `pending`).",
|
|
35
|
+
"Make a custom API call to any Coupa endpoint (Purchase Orders, Suppliers, Contracts, or other resources).": "Make a custom API call to any Coupa endpoint (Purchase Orders, Suppliers, Contracts, or other resources).",
|
|
36
|
+
"Module": "Module",
|
|
37
|
+
"Custom Resource Path": "Custom Resource Path",
|
|
38
|
+
"Markdown": "Markdown",
|
|
39
|
+
"Request Body (JSON)": "Request Body (JSON)",
|
|
40
|
+
"Record": "Record",
|
|
41
|
+
"Query Parameters (JSON)": "Query Parameters (JSON)",
|
|
42
|
+
"Purchase Order": "Purchase Order",
|
|
43
|
+
"Attachment Type": "Attachment Type",
|
|
44
|
+
"Attachment": "Anexo",
|
|
45
|
+
"Intent": "Intent",
|
|
46
|
+
"Parent Module": "Parent Module",
|
|
47
|
+
"Supplier": "Supplier",
|
|
48
|
+
"Approval": "Approval",
|
|
49
|
+
"Rejection Reason": "Rejection Reason",
|
|
50
|
+
"Object ID": "Object ID",
|
|
51
|
+
"Status": "Estado",
|
|
52
|
+
"Method": "Método",
|
|
53
|
+
"Headers": "Cabeçalhos",
|
|
54
|
+
"Query Parameters": "Parâmetros da consulta",
|
|
55
|
+
"Body Type": "Tipo de Corpo",
|
|
56
|
+
"Body": "Conteúdo",
|
|
57
|
+
"Response is Binary ?": "Response is Binary ?",
|
|
58
|
+
"No Error on Failure": "Nenhum erro no Failure",
|
|
59
|
+
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
|
60
|
+
"Follow redirects": "Follow redirects",
|
|
61
|
+
"Coupa module to work with: Purchase Orders, Suppliers, or Contracts. Pick \"Custom resource\" to target any other endpoint.": "Coupa module to work with: Purchase Orders, Suppliers, or Contracts. Pick \"Custom resource\" to target any other endpoint.",
|
|
62
|
+
"API resource segment when Module is **Custom resource**, e.g. `invoices` or `approvals`.": "API resource segment when Module is **Custom resource**, e.g. `invoices` or `approvals`.",
|
|
63
|
+
"**How to build the request body** — Coupa uses field names in **kebab-case**. Reference an existing record (like a supplier) by its numeric ID. Examples per module:\n\n**Purchase Orders**\n```json\n{ \"po-number\": \"PO-1001\", \"supplier\": { \"id\": 123 }, \"order-lines\": [{ \"description\": \"Laptop\", \"quantity\": 2, \"price\": 1500 }] }\n```\n\n**Suppliers**\n```json\n{ \"name\": \"Acme Corp\", \"display-name\": \"Acme\", \"status\": \"active\" }\n```\n\n**Contracts**\n```json\n{ \"name\": \"Acme MSA 2025\", \"supplier\": { \"id\": 123 }, \"start-date\"": "**How to build the request body** — Coupa uses field names in **kebab-case**. Reference an existing record (like a supplier) by its numeric ID. Examples per module:\n\n**Purchase Orders**\n```json\n{ \"po-number\": \"PO-1001\", \"supplier\": { \"id\": 123 }, \"order-lines\": [{ \"description\": \"Laptop\", \"quantity\": 2, \"price\": 1500 }] }\n```\n\n**Suppliers**\n```json\n{ \"name\": \"Acme Corp\", \"display-name\": \"Acme\", \"status\": \"active\" }\n```\n\n**Contracts**\n```json\n{ \"name\": \"Acme MSA 2025\", \"supplier\": { \"id\": 123 }, \"start-date\": \"2025-01-01\", \"end-date\": \"2025-12-31\" }\n```",
|
|
64
|
+
"JSON payload sent to Coupa, using Coupa field names in kebab-case (e.g. `po-number`, `supplier-id`). See the examples above for each module.": "JSON payload sent to Coupa, using Coupa field names in kebab-case (e.g. `po-number`, `supplier-id`). See the examples above for each module.",
|
|
65
|
+
"Pick the record by name. For a custom resource, enter its numeric ID.": "Pick the record by name. For a custom resource, enter its numeric ID.",
|
|
66
|
+
"Optional query filters, e.g. `{ \"status[in]\": \"issued,closed\", \"exported\": false }`.": "Optional query filters, e.g. `{ \"status[in]\": \"issued,closed\", \"exported\": false }`.",
|
|
67
|
+
"Select a purchase order from your Coupa instance (most recent 50).": "Select a purchase order from your Coupa instance (most recent 50).",
|
|
68
|
+
"The type of record to attach the file to.": "The type of record to attach the file to.",
|
|
69
|
+
"The record to attach to. Pick it by name after choosing a module.": "The record to attach to. Pick it by name after choosing a module.",
|
|
70
|
+
"Choose whether to upload a file directly or attach a link (URL).": "Choose whether to upload a file directly or attach a link (URL).",
|
|
71
|
+
"The file to upload or the URL to link.": "The file to upload or the URL to link.",
|
|
72
|
+
"Optional Coupa attachment intent that controls who can see the attachment (e.g. `Supplier`). Leave empty to use the Coupa default.": "Optional Coupa attachment intent that controls who can see the attachment (e.g. `Supplier`). Leave empty to use the Coupa default.",
|
|
73
|
+
"Where to look up remit-to addresses from: a Supplier directly, or the supplier linked to a Purchase Order.": "Where to look up remit-to addresses from: a Supplier directly, or the supplier linked to a Purchase Order.",
|
|
74
|
+
"Select a supplier from your Coupa instance (most recent 50).": "Select a supplier from your Coupa instance (most recent 50).",
|
|
75
|
+
"Select a pending approval awaiting a decision. Shows the most recent 50 pending approvals.": "Select a pending approval awaiting a decision. Shows the most recent 50 pending approvals.",
|
|
76
|
+
"Optional note explaining why the approval was rejected.": "Optional note explaining why the approval was rejected.",
|
|
77
|
+
"Numeric Coupa ID of the record.": "Numeric Coupa ID of the record.",
|
|
78
|
+
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
|
79
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
80
|
+
"Purchase Orders": "Purchase Orders",
|
|
81
|
+
"Suppliers": "Suppliers",
|
|
82
|
+
"Contracts": "Contracts",
|
|
83
|
+
"Custom resource (type below)": "Custom resource (type below)",
|
|
84
|
+
"Contract": "Contract",
|
|
85
|
+
"Upload a file": "Enviar um arquivo",
|
|
86
|
+
"Link a URL": "Link a URL",
|
|
87
|
+
"Running": "Executando",
|
|
88
|
+
"Successful": "Successful",
|
|
89
|
+
"Failed": "Falhou",
|
|
90
|
+
"Paused": "Pausado",
|
|
91
|
+
"Pending": "Pendente",
|
|
92
|
+
"GET": "OBTER",
|
|
93
|
+
"POST": "POSTAR",
|
|
94
|
+
"PATCH": "COMPRAR",
|
|
95
|
+
"PUT": "COLOCAR",
|
|
96
|
+
"DELETE": "EXCLUIR",
|
|
97
|
+
"HEAD": "CABEÇA",
|
|
98
|
+
"None": "Nenhuma",
|
|
99
|
+
"JSON": "JSON",
|
|
100
|
+
"Form Data": "Dados de Formulário",
|
|
101
|
+
"Raw": "RAW",
|
|
102
|
+
"New or Updated Object": "New or Updated Object",
|
|
103
|
+
"Triggers when a Purchase Order, Supplier, or Contract is created or updated in Coupa.": "Triggers when a Purchase Order, Supplier, or Contract is created or updated in Coupa.",
|
|
104
|
+
"Additional Filters (JSON)": "Additional Filters (JSON)",
|
|
105
|
+
"Optional Coupa query filters, e.g. `{ \"status[in]\": \"issued,closed\" }`.": "Optional Coupa query filters, e.g. `{ \"status[in]\": \"issued,closed\" }`."
|
|
106
|
+
}
|
package/src/i18n/zh.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Business spend management — automate procurement, approvals, purchase orders, and ERP integrations with the Coupa Core API.": "Business spend management — automate procurement, approvals, purchase orders, and ERP integrations with the Coupa Core API.",
|
|
3
|
+
"Coupa Instance URL": "Coupa Instance URL",
|
|
4
|
+
"Client ID": "客户端ID",
|
|
5
|
+
"Client Secret": "客户端密钥",
|
|
6
|
+
"OAuth Scopes": "OAuth Scopes",
|
|
7
|
+
"Your Coupa hostname only, e.g. `company.coupahost.com` (without `https://`).": "Your Coupa hostname only, e.g. `company.coupahost.com` (without `https://`).",
|
|
8
|
+
"Space-separated scopes granted to your OIDC client, e.g. `core.purchase_order.read core.purchase_order.write`.": "Space-separated scopes granted to your OIDC client, e.g. `core.purchase_order.read core.purchase_order.write`.",
|
|
9
|
+
"Connect using an OAuth 2.0 OpenID Connect client with the **Client Credentials** grant. In Coupa, go to **Setup → Integrations → OAuth2/OpenID Connect Clients**, create a client, and copy the Client ID and Client Secret. Scopes use the form `core.accounting.read` — list yours at `https://{your-instance}/oauth2/scopes`.": "Connect using an OAuth 2.0 OpenID Connect client with the **Client Credentials** grant. In Coupa, go to **Setup → Integrations → OAuth2/OpenID Connect Clients**, create a client, and copy the Client ID and Client Secret. Scopes use the form `core.accounting.read` — list yours at `https://{your-instance}/oauth2/scopes`.",
|
|
10
|
+
"Create Object": "Create Object",
|
|
11
|
+
"Update Object": "Update Object",
|
|
12
|
+
"Get Object by ID": "Get Object by ID",
|
|
13
|
+
"Search Objects (Batch)": "Search Objects (Batch)",
|
|
14
|
+
"Cancel Purchase Order": "Cancel Purchase Order",
|
|
15
|
+
"Close Purchase Order": "Close Purchase Order",
|
|
16
|
+
"Add File Attachment to Object": "Add File Attachment to Object",
|
|
17
|
+
"Get Remit-To Addresses by Object ID": "Get Remit-To Addresses by Object ID",
|
|
18
|
+
"Get Supplier Sites by Supplier": "Get Supplier Sites by Supplier",
|
|
19
|
+
"Grant Approval": "Grant Approval",
|
|
20
|
+
"Reject Approval": "Reject Approval",
|
|
21
|
+
"Set Integration Run Status": "Set Integration Run Status",
|
|
22
|
+
"Custom Action": "Custom Action",
|
|
23
|
+
"Creates a record in the selected Coupa module (Purchase Orders, Suppliers, or Contracts).": "Creates a record in the selected Coupa module (Purchase Orders, Suppliers, or Contracts).",
|
|
24
|
+
"Updates a record by ID in the selected Coupa module (Purchase Orders, Suppliers, or Contracts).": "Updates a record by ID in the selected Coupa module (Purchase Orders, Suppliers, or Contracts).",
|
|
25
|
+
"Retrieves a single record by ID from Purchase Orders, Suppliers, or Contracts.": "Retrieves a single record by ID from Purchase Orders, Suppliers, or Contracts.",
|
|
26
|
+
"Searches records in a Coupa module with pagination (50 per page) and returns standardized fields.": "Searches records in a Coupa module with pagination (50 per page) and returns standardized fields.",
|
|
27
|
+
"Cancels a purchase order using `PUT /api/purchase_orders/:id/cancel`.": "Cancels a purchase order using `PUT /api/purchase_orders/:id/cancel`.",
|
|
28
|
+
"Closes a purchase order using `PUT /api/purchase_orders/:id/close`.": "Closes a purchase order using `PUT /api/purchase_orders/:id/close`.",
|
|
29
|
+
"Adds an attachment (an uploaded file or a link) to a Purchase Order, Supplier, or Contract in Coupa.": "Adds an attachment (an uploaded file or a link) to a Purchase Order, Supplier, or Contract in Coupa.",
|
|
30
|
+
"Lists remit-to addresses for a Supplier or resolves the supplier from a Purchase Order.": "Lists remit-to addresses for a Supplier or resolves the supplier from a Purchase Order.",
|
|
31
|
+
"Lists supplier sites for a supplier (`GET /api/suppliers/:id/supplier_sites`).": "Lists supplier sites for a supplier (`GET /api/suppliers/:id/supplier_sites`).",
|
|
32
|
+
"Approves a pending approval in Coupa (e.g. a requisition or purchase order awaiting your decision). Pick the approval from the dropdown.": "Approves a pending approval in Coupa (e.g. a requisition or purchase order awaiting your decision). Pick the approval from the dropdown.",
|
|
33
|
+
"Rejects a pending approval in Coupa (e.g. a requisition or purchase order awaiting your decision). Pick the approval from the dropdown.": "Rejects a pending approval in Coupa (e.g. a requisition or purchase order awaiting your decision). Pick the approval from the dropdown.",
|
|
34
|
+
"Updates an integration run status (`run`, `success`, `fail`, `pause`, or `pending`).": "Updates an integration run status (`run`, `success`, `fail`, `pause`, or `pending`).",
|
|
35
|
+
"Make a custom API call to any Coupa endpoint (Purchase Orders, Suppliers, Contracts, or other resources).": "Make a custom API call to any Coupa endpoint (Purchase Orders, Suppliers, Contracts, or other resources).",
|
|
36
|
+
"Module": "Module",
|
|
37
|
+
"Custom Resource Path": "Custom Resource Path",
|
|
38
|
+
"Markdown": "Markdown",
|
|
39
|
+
"Request Body (JSON)": "Request Body (JSON)",
|
|
40
|
+
"Record": "Record",
|
|
41
|
+
"Query Parameters (JSON)": "Query Parameters (JSON)",
|
|
42
|
+
"Purchase Order": "Purchase Order",
|
|
43
|
+
"Attachment Type": "Attachment Type",
|
|
44
|
+
"Attachment": "Attachment",
|
|
45
|
+
"Intent": "Intent",
|
|
46
|
+
"Parent Module": "Parent Module",
|
|
47
|
+
"Supplier": "Supplier",
|
|
48
|
+
"Approval": "Approval",
|
|
49
|
+
"Rejection Reason": "Rejection Reason",
|
|
50
|
+
"Object ID": "Object ID",
|
|
51
|
+
"Status": "状态",
|
|
52
|
+
"Method": "方法",
|
|
53
|
+
"Headers": "信头",
|
|
54
|
+
"Query Parameters": "查询参数",
|
|
55
|
+
"Body Type": "Body Type",
|
|
56
|
+
"Body": "正文内容",
|
|
57
|
+
"Response is Binary ?": "Response is Binary ?",
|
|
58
|
+
"No Error on Failure": "失败时没有错误",
|
|
59
|
+
"Timeout (in seconds)": "超时(秒)",
|
|
60
|
+
"Follow redirects": "Follow redirects",
|
|
61
|
+
"Coupa module to work with: Purchase Orders, Suppliers, or Contracts. Pick \"Custom resource\" to target any other endpoint.": "Coupa module to work with: Purchase Orders, Suppliers, or Contracts. Pick \"Custom resource\" to target any other endpoint.",
|
|
62
|
+
"API resource segment when Module is **Custom resource**, e.g. `invoices` or `approvals`.": "API resource segment when Module is **Custom resource**, e.g. `invoices` or `approvals`.",
|
|
63
|
+
"**How to build the request body** — Coupa uses field names in **kebab-case**. Reference an existing record (like a supplier) by its numeric ID. Examples per module:\n\n**Purchase Orders**\n```json\n{ \"po-number\": \"PO-1001\", \"supplier\": { \"id\": 123 }, \"order-lines\": [{ \"description\": \"Laptop\", \"quantity\": 2, \"price\": 1500 }] }\n```\n\n**Suppliers**\n```json\n{ \"name\": \"Acme Corp\", \"display-name\": \"Acme\", \"status\": \"active\" }\n```\n\n**Contracts**\n```json\n{ \"name\": \"Acme MSA 2025\", \"supplier\": { \"id\": 123 }, \"start-date\"": "**How to build the request body** — Coupa uses field names in **kebab-case**. Reference an existing record (like a supplier) by its numeric ID. Examples per module:\n\n**Purchase Orders**\n```json\n{ \"po-number\": \"PO-1001\", \"supplier\": { \"id\": 123 }, \"order-lines\": [{ \"description\": \"Laptop\", \"quantity\": 2, \"price\": 1500 }] }\n```\n\n**Suppliers**\n```json\n{ \"name\": \"Acme Corp\", \"display-name\": \"Acme\", \"status\": \"active\" }\n```\n\n**Contracts**\n```json\n{ \"name\": \"Acme MSA 2025\", \"supplier\": { \"id\": 123 }, \"start-date\": \"2025-01-01\", \"end-date\": \"2025-12-31\" }\n```",
|
|
64
|
+
"JSON payload sent to Coupa, using Coupa field names in kebab-case (e.g. `po-number`, `supplier-id`). See the examples above for each module.": "JSON payload sent to Coupa, using Coupa field names in kebab-case (e.g. `po-number`, `supplier-id`). See the examples above for each module.",
|
|
65
|
+
"Pick the record by name. For a custom resource, enter its numeric ID.": "Pick the record by name. For a custom resource, enter its numeric ID.",
|
|
66
|
+
"Optional query filters, e.g. `{ \"status[in]\": \"issued,closed\", \"exported\": false }`.": "Optional query filters, e.g. `{ \"status[in]\": \"issued,closed\", \"exported\": false }`.",
|
|
67
|
+
"Select a purchase order from your Coupa instance (most recent 50).": "Select a purchase order from your Coupa instance (most recent 50).",
|
|
68
|
+
"The type of record to attach the file to.": "The type of record to attach the file to.",
|
|
69
|
+
"The record to attach to. Pick it by name after choosing a module.": "The record to attach to. Pick it by name after choosing a module.",
|
|
70
|
+
"Choose whether to upload a file directly or attach a link (URL).": "Choose whether to upload a file directly or attach a link (URL).",
|
|
71
|
+
"The file to upload or the URL to link.": "The file to upload or the URL to link.",
|
|
72
|
+
"Optional Coupa attachment intent that controls who can see the attachment (e.g. `Supplier`). Leave empty to use the Coupa default.": "Optional Coupa attachment intent that controls who can see the attachment (e.g. `Supplier`). Leave empty to use the Coupa default.",
|
|
73
|
+
"Where to look up remit-to addresses from: a Supplier directly, or the supplier linked to a Purchase Order.": "Where to look up remit-to addresses from: a Supplier directly, or the supplier linked to a Purchase Order.",
|
|
74
|
+
"Select a supplier from your Coupa instance (most recent 50).": "Select a supplier from your Coupa instance (most recent 50).",
|
|
75
|
+
"Select a pending approval awaiting a decision. Shows the most recent 50 pending approvals.": "Select a pending approval awaiting a decision. Shows the most recent 50 pending approvals.",
|
|
76
|
+
"Optional note explaining why the approval was rejected.": "Optional note explaining why the approval was rejected.",
|
|
77
|
+
"Numeric Coupa ID of the record.": "Numeric Coupa ID of the record.",
|
|
78
|
+
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
|
79
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
80
|
+
"Purchase Orders": "Purchase Orders",
|
|
81
|
+
"Suppliers": "Suppliers",
|
|
82
|
+
"Contracts": "Contracts",
|
|
83
|
+
"Custom resource (type below)": "Custom resource (type below)",
|
|
84
|
+
"Contract": "Contract",
|
|
85
|
+
"Upload a file": "Upload a file",
|
|
86
|
+
"Link a URL": "Link a URL",
|
|
87
|
+
"Running": "正在运行",
|
|
88
|
+
"Successful": "Successful",
|
|
89
|
+
"Failed": "失败",
|
|
90
|
+
"Paused": "已暂停",
|
|
91
|
+
"Pending": "待處理",
|
|
92
|
+
"GET": "获取",
|
|
93
|
+
"POST": "帖子",
|
|
94
|
+
"PATCH": "PATCH",
|
|
95
|
+
"PUT": "弹出",
|
|
96
|
+
"DELETE": "删除",
|
|
97
|
+
"HEAD": "黑色",
|
|
98
|
+
"None": "无",
|
|
99
|
+
"JSON": "JSON",
|
|
100
|
+
"Form Data": "表单数据",
|
|
101
|
+
"Raw": "原始文件",
|
|
102
|
+
"New or Updated Object": "New or Updated Object",
|
|
103
|
+
"Triggers when a Purchase Order, Supplier, or Contract is created or updated in Coupa.": "Triggers when a Purchase Order, Supplier, or Contract is created or updated in Coupa.",
|
|
104
|
+
"Additional Filters (JSON)": "Additional Filters (JSON)",
|
|
105
|
+
"Optional Coupa query filters, e.g. `{ \"status[in]\": \"issued,closed\" }`.": "Optional Coupa query filters, e.g. `{ \"status[in]\": \"issued,closed\" }`."
|
|
106
|
+
}
|