Fixes for api documentation

This commit is contained in:
David Bomba 2024-12-17 09:29:38 +11:00
parent 7ca32186c9
commit 2404967eb9
4 changed files with 67 additions and 28 deletions

View File

@ -386,6 +386,7 @@ class Storecove
{ {
$uri = "legal_entities/{$legal_entity_id}/peppol_identifiers"; $uri = "legal_entities/{$legal_entity_id}/peppol_identifiers";
$identifier = str_ireplace('BE', '', $identifier);
$data = [ $data = [
"identifier" => $identifier, "identifier" => $identifier,
"scheme" => $scheme, "scheme" => $scheme,

View File

@ -3148,20 +3148,20 @@ paths:
description: "The template required" description: "The template required"
type: string type: string
enum: enum:
- invoice - email_template_invoice
- quote - email_template_quote
- credit - email_template_credit
- payment - email_template_payment
- payment_partial - email_template_payment_partial
- statement - email_template_statement
- reminder1 - email_template_reminder1
- reminder2 - email_template_reminder2
- reminder3 - email_template_reminder3
- reminder_endless - email_template_reminder_endless
- custom1 - email_template_custom1
- custom2 - email_template_custom2
- custom3 - email_template_custom3
- purchase_order - email_template_purchase_order
- email_quote_template_reminder1 - email_quote_template_reminder1
example: invoice example: invoice
type: object type: object
@ -11086,6 +11086,25 @@ paths:
schema: schema:
type: object type: object
properties: properties:
email_type:
type: enum
description: "The email type to be sent, when bulk emailing invoices"
enum:
- invoice
- quote
- credit
- payment
- payment_partial
- statement
- reminder1
- reminder2
- reminder3
- reminder_endless
- custom1
- custom2
- custom3
- purchase_order
- email_quote_template_reminder1
action: action:
type: string type: string
description: | description: |

View File

@ -3065,20 +3065,20 @@ paths:
description: "The template required" description: "The template required"
type: string type: string
enum: enum:
- invoice - email_template_invoice
- quote - email_template_quote
- credit - email_template_credit
- payment - email_template_payment
- payment_partial - email_template_payment_partial
- statement - email_template_statement
- reminder1 - email_template_reminder1
- reminder2 - email_template_reminder2
- reminder3 - email_template_reminder3
- reminder_endless - email_template_reminder_endless
- custom1 - email_template_custom1
- custom2 - email_template_custom2
- custom3 - email_template_custom3
- purchase_order - email_template_purchase_order
- email_quote_template_reminder1 - email_quote_template_reminder1
example: invoice example: invoice
type: object type: object

View File

@ -436,6 +436,25 @@
schema: schema:
type: object type: object
properties: properties:
email_type:
type: enum
description: "The email type to be sent, when bulk emailing invoices"
enum:
- invoice
- quote
- credit
- payment
- payment_partial
- statement
- reminder1
- reminder2
- reminder3
- reminder_endless
- custom1
- custom2
- custom3
- purchase_order
- email_quote_template_reminder1
action: action:
type: string type: string
description: | description: |