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";
$identifier = str_ireplace('BE', '', $identifier);
$data = [
"identifier" => $identifier,
"scheme" => $scheme,

View File

@ -3148,20 +3148,20 @@ paths:
description: "The template required"
type: string
enum:
- invoice
- quote
- credit
- payment
- payment_partial
- statement
- reminder1
- reminder2
- reminder3
- reminder_endless
- custom1
- custom2
- custom3
- purchase_order
- email_template_invoice
- email_template_quote
- email_template_credit
- email_template_payment
- email_template_payment_partial
- email_template_statement
- email_template_reminder1
- email_template_reminder2
- email_template_reminder3
- email_template_reminder_endless
- email_template_custom1
- email_template_custom2
- email_template_custom3
- email_template_purchase_order
- email_quote_template_reminder1
example: invoice
type: object
@ -11086,6 +11086,25 @@ paths:
schema:
type: object
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:
type: string
description: |

View File

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

View File

@ -436,6 +436,25 @@
schema:
type: object
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:
type: string
description: |