api

package
v0.0.0-...-3209d5e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

Package yokoy provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.16.2 DO NOT EDIT.

Index

Constants

View Source
const (
	OAuth2Scopes = "OAuth2.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func NewDeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest

func NewDeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest(server string, legalEntityId string, costCenterId string, params *DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams) (*http.Request, error)

NewDeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest generates requests for DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterId

func NewDeleteLegalEntitiesLegalEntityIdTagsTagIdRequest

func NewDeleteLegalEntitiesLegalEntityIdTagsTagIdRequest(server string, legalEntityId string, tagId string, params *DeleteLegalEntitiesLegalEntityIdTagsTagIdParams) (*http.Request, error)

NewDeleteLegalEntitiesLegalEntityIdTagsTagIdRequest generates requests for DeleteLegalEntitiesLegalEntityIdTagsTagId

func NewDeleteUsersUserIdRequest

func NewDeleteUsersUserIdRequest(server string, userId string, params *DeleteUsersUserIdParams) (*http.Request, error)

NewDeleteUsersUserIdRequest generates requests for DeleteUsersUserId

func NewGetExpensesExpenseIdRequest

func NewGetExpensesExpenseIdRequest(server string, expenseId string, params *GetExpensesExpenseIdParams) (*http.Request, error)

NewGetExpensesExpenseIdRequest generates requests for GetExpensesExpenseId

func NewGetExpensesRequest

func NewGetExpensesRequest(server string, params *GetExpensesParams) (*http.Request, error)

NewGetExpensesRequest generates requests for GetExpenses

func NewGetLegalEntitiesLegalEntityIdCategoriesCategoryIdRequest

func NewGetLegalEntitiesLegalEntityIdCategoriesCategoryIdRequest(server string, legalEntityId string, categoryId string, params *GetLegalEntitiesLegalEntityIdCategoriesCategoryIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdCategoriesCategoryIdRequest generates requests for GetLegalEntitiesLegalEntityIdCategoriesCategoryId

func NewGetLegalEntitiesLegalEntityIdCategoriesRequest

func NewGetLegalEntitiesLegalEntityIdCategoriesRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCategoriesParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdCategoriesRequest generates requests for GetLegalEntitiesLegalEntityIdCategories

func NewGetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequest

func NewGetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequest(server string, legalEntityId string, companyCardId string, params *GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequest generates requests for GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId

func NewGetLegalEntitiesLegalEntityIdCompanyCardsRequest

func NewGetLegalEntitiesLegalEntityIdCompanyCardsRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCompanyCardsParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdCompanyCardsRequest generates requests for GetLegalEntitiesLegalEntityIdCompanyCards

func NewGetLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest

func NewGetLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest(server string, legalEntityId string, costCenterId string, params *GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest generates requests for GetLegalEntitiesLegalEntityIdCostCentersCostCenterId

func NewGetLegalEntitiesLegalEntityIdCostCentersRequest

func NewGetLegalEntitiesLegalEntityIdCostCentersRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCostCentersParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdCostCentersRequest generates requests for GetLegalEntitiesLegalEntityIdCostCenters

func NewGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsRequest

func NewGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsRequest(server string, legalEntityId string, exportTaskId string, params *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsRequest generates requests for GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefacts

func NewGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdRequest

func NewGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdRequest(server string, legalEntityId string, exportTaskId string, params *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdRequest generates requests for GetLegalEntitiesLegalEntityIdExportTasksExportTaskId

func NewGetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequest

func NewGetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequest(server string, legalEntityId string, categoryId string, params *GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequest generates requests for GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId

func NewGetLegalEntitiesLegalEntityIdInvoiceCategoriesRequest

func NewGetLegalEntitiesLegalEntityIdInvoiceCategoriesRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoiceCategoriesParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoiceCategoriesRequest generates requests for GetLegalEntitiesLegalEntityIdInvoiceCategories

func NewGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequest

func NewGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequest(server string, legalEntityId string, goodsReceiptId string, params *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequest generates requests for GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId

func NewGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsRequest

func NewGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsRequest generates requests for GetLegalEntitiesLegalEntityIdInvoiceGoodsReceipts

func NewGetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequest

func NewGetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequest(server string, legalEntityId string, paymentTermId string, params *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequest generates requests for GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId

func NewGetLegalEntitiesLegalEntityIdInvoicePaymentTermsRequest

func NewGetLegalEntitiesLegalEntityIdInvoicePaymentTermsRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoicePaymentTermsRequest generates requests for GetLegalEntitiesLegalEntityIdInvoicePaymentTerms

func NewGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequest

func NewGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequest(server string, legalEntityId string, purchaseOrderId string, params *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequest generates requests for GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId

func NewGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersRequest

func NewGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersRequest generates requests for GetLegalEntitiesLegalEntityIdInvoicePurchaseOrders

func NewGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationRequest

func NewGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationRequest(server string, legalEntityId string, invoiceId string, params *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationRequest generates requests for GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentation

func NewGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdRequest

func NewGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdRequest(server string, legalEntityId string, invoiceId string, params *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdRequest generates requests for GetLegalEntitiesLegalEntityIdInvoicesInvoiceId

func NewGetLegalEntitiesLegalEntityIdInvoicesRequest

func NewGetLegalEntitiesLegalEntityIdInvoicesRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicesParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdInvoicesRequest generates requests for GetLegalEntitiesLegalEntityIdInvoices

func NewGetLegalEntitiesLegalEntityIdPoliciesPolicyIdRequest

func NewGetLegalEntitiesLegalEntityIdPoliciesPolicyIdRequest(server string, legalEntityId string, policyId string, params *GetLegalEntitiesLegalEntityIdPoliciesPolicyIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdPoliciesPolicyIdRequest generates requests for GetLegalEntitiesLegalEntityIdPoliciesPolicyId

func NewGetLegalEntitiesLegalEntityIdPoliciesRequest

func NewGetLegalEntitiesLegalEntityIdPoliciesRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdPoliciesParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdPoliciesRequest generates requests for GetLegalEntitiesLegalEntityIdPolicies

func NewGetLegalEntitiesLegalEntityIdRequest

func NewGetLegalEntitiesLegalEntityIdRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdRequest generates requests for GetLegalEntitiesLegalEntityId

func NewGetLegalEntitiesLegalEntityIdSuppliersRequest

func NewGetLegalEntitiesLegalEntityIdSuppliersRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdSuppliersParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdSuppliersRequest generates requests for GetLegalEntitiesLegalEntityIdSuppliers

func NewGetLegalEntitiesLegalEntityIdSuppliersSupplierIdRequest

func NewGetLegalEntitiesLegalEntityIdSuppliersSupplierIdRequest(server string, legalEntityId string, supplierId string, params *GetLegalEntitiesLegalEntityIdSuppliersSupplierIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdSuppliersSupplierIdRequest generates requests for GetLegalEntitiesLegalEntityIdSuppliersSupplierId

func NewGetLegalEntitiesLegalEntityIdTagsRequest

func NewGetLegalEntitiesLegalEntityIdTagsRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdTagsParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdTagsRequest generates requests for GetLegalEntitiesLegalEntityIdTags

func NewGetLegalEntitiesLegalEntityIdTagsTagIdRequest

func NewGetLegalEntitiesLegalEntityIdTagsTagIdRequest(server string, legalEntityId string, tagId string, params *GetLegalEntitiesLegalEntityIdTagsTagIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdTagsTagIdRequest generates requests for GetLegalEntitiesLegalEntityIdTagsTagId

func NewGetLegalEntitiesLegalEntityIdTaxRatesRequest

func NewGetLegalEntitiesLegalEntityIdTaxRatesRequest(server string, legalEntityId string, params *GetLegalEntitiesLegalEntityIdTaxRatesParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdTaxRatesRequest generates requests for GetLegalEntitiesLegalEntityIdTaxRates

func NewGetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequest

func NewGetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequest(server string, legalEntityId string, taxRateId string, params *GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams) (*http.Request, error)

NewGetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequest generates requests for GetLegalEntitiesLegalEntityIdTaxRatesTaxRateId

func NewGetLegalEntitiesRequest

func NewGetLegalEntitiesRequest(server string, params *GetLegalEntitiesParams) (*http.Request, error)

NewGetLegalEntitiesRequest generates requests for GetLegalEntities

func NewGetSuppliersRequest

func NewGetSuppliersRequest(server string, params *GetSuppliersParams) (*http.Request, error)

NewGetSuppliersRequest generates requests for GetSuppliers

func NewGetSuppliersSupplierIdRequest

func NewGetSuppliersSupplierIdRequest(server string, supplierId string, params *GetSuppliersSupplierIdParams) (*http.Request, error)

NewGetSuppliersSupplierIdRequest generates requests for GetSuppliersSupplierId

func NewGetTripsRequest

func NewGetTripsRequest(server string, params *GetTripsParams) (*http.Request, error)

NewGetTripsRequest generates requests for GetTrips

func NewGetTripsTripIdRequest

func NewGetTripsTripIdRequest(server string, tripId string, params *GetTripsTripIdParams) (*http.Request, error)

NewGetTripsTripIdRequest generates requests for GetTripsTripId

func NewGetUsersRequest

func NewGetUsersRequest(server string, params *GetUsersParams) (*http.Request, error)

NewGetUsersRequest generates requests for GetUsers

func NewGetUsersUserIdRequest

func NewGetUsersUserIdRequest(server string, userId string, params *GetUsersUserIdParams) (*http.Request, error)

NewGetUsersUserIdRequest generates requests for GetUsersUserId

func NewPatchLegalEntitiesLegalEntityIdCategoriesCategoryIdRequest

func NewPatchLegalEntitiesLegalEntityIdCategoriesCategoryIdRequest(server string, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, body PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdCategoriesCategoryIdRequest calls the generic PatchLegalEntitiesLegalEntityIdCategoriesCategoryId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdCategoriesCategoryIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdCategoriesCategoryIdRequestWithBody(server string, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdCategoriesCategoryIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdCategoriesCategoryId with any type of body

func NewPatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequest

func NewPatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequest(server string, legalEntityId string, companyCardId string, params *PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, body PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequest calls the generic PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequestWithBody(server string, legalEntityId string, companyCardId string, params *PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId with any type of body

func NewPatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest

func NewPatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest(server string, legalEntityId string, costCenterId string, params *PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, body PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest calls the generic PatchLegalEntitiesLegalEntityIdCostCentersCostCenterId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequestWithBody(server string, legalEntityId string, costCenterId string, params *PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdCostCentersCostCenterId with any type of body

func NewPatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequest

func NewPatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequest(server string, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, body PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequest calls the generic PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequestWithBody(server string, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId with any type of body

func NewPatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequest

func NewPatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequest(server string, legalEntityId string, goodsReceiptId string, params *PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, body PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequest calls the generic PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequestWithBody(server string, legalEntityId string, goodsReceiptId string, params *PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId with any type of body

func NewPatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequest

func NewPatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequest(server string, legalEntityId string, paymentTermId string, params *PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, body PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequest calls the generic PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequestWithBody(server string, legalEntityId string, paymentTermId string, params *PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId with any type of body

func NewPatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequest

func NewPatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequest(server string, legalEntityId string, purchaseOrderId string, params *PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, body PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequest calls the generic PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequestWithBody(server string, legalEntityId string, purchaseOrderId string, params *PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId with any type of body

func NewPatchLegalEntitiesLegalEntityIdPoliciesPolicyIdRequest

func NewPatchLegalEntitiesLegalEntityIdPoliciesPolicyIdRequest(server string, legalEntityId string, policyId string, params *PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, body PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdPoliciesPolicyIdRequest calls the generic PatchLegalEntitiesLegalEntityIdPoliciesPolicyId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdPoliciesPolicyIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdPoliciesPolicyIdRequestWithBody(server string, legalEntityId string, policyId string, params *PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdPoliciesPolicyIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdPoliciesPolicyId with any type of body

func NewPatchLegalEntitiesLegalEntityIdSuppliersSupplierIdRequest

func NewPatchLegalEntitiesLegalEntityIdSuppliersSupplierIdRequest(server string, legalEntityId string, supplierId string, params *PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, body PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdSuppliersSupplierIdRequest calls the generic PatchLegalEntitiesLegalEntityIdSuppliersSupplierId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdSuppliersSupplierIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdSuppliersSupplierIdRequestWithBody(server string, legalEntityId string, supplierId string, params *PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdSuppliersSupplierIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdSuppliersSupplierId with any type of body

func NewPatchLegalEntitiesLegalEntityIdTagsTagIdRequest

func NewPatchLegalEntitiesLegalEntityIdTagsTagIdRequest(server string, legalEntityId string, tagId string, params *PatchLegalEntitiesLegalEntityIdTagsTagIdParams, body PatchLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdTagsTagIdRequest calls the generic PatchLegalEntitiesLegalEntityIdTagsTagId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdTagsTagIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdTagsTagIdRequestWithBody(server string, legalEntityId string, tagId string, params *PatchLegalEntitiesLegalEntityIdTagsTagIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdTagsTagIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdTagsTagId with any type of body

func NewPatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequest

func NewPatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequest(server string, legalEntityId string, taxRateId string, params *PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, body PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequest calls the generic PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateId builder with application/json body

func NewPatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequestWithBody

func NewPatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequestWithBody(server string, legalEntityId string, taxRateId string, params *PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequestWithBody generates requests for PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateId with any type of body

func NewPatchSuppliersSupplierIdRequest

func NewPatchSuppliersSupplierIdRequest(server string, supplierId string, params *PatchSuppliersSupplierIdParams, body PatchSuppliersSupplierIdJSONRequestBody) (*http.Request, error)

NewPatchSuppliersSupplierIdRequest calls the generic PatchSuppliersSupplierId builder with application/json body

func NewPatchSuppliersSupplierIdRequestWithBody

func NewPatchSuppliersSupplierIdRequestWithBody(server string, supplierId string, params *PatchSuppliersSupplierIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchSuppliersSupplierIdRequestWithBody generates requests for PatchSuppliersSupplierId with any type of body

func NewPatchUsersUserIdRequest

func NewPatchUsersUserIdRequest(server string, userId string, params *PatchUsersUserIdParams, body PatchUsersUserIdJSONRequestBody) (*http.Request, error)

NewPatchUsersUserIdRequest calls the generic PatchUsersUserId builder with application/json body

func NewPatchUsersUserIdRequestWithBody

func NewPatchUsersUserIdRequestWithBody(server string, userId string, params *PatchUsersUserIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchUsersUserIdRequestWithBody generates requests for PatchUsersUserId with any type of body

func NewPostLegalEntitiesLegalEntityIdCategoriesRequest

func NewPostLegalEntitiesLegalEntityIdCategoriesRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCategoriesParams, body PostLegalEntitiesLegalEntityIdCategoriesJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdCategoriesRequest calls the generic PostLegalEntitiesLegalEntityIdCategories builder with application/json body

func NewPostLegalEntitiesLegalEntityIdCategoriesRequestWithBody

func NewPostLegalEntitiesLegalEntityIdCategoriesRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCategoriesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdCategoriesRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdCategories with any type of body

func NewPostLegalEntitiesLegalEntityIdCompanyCardsRequest

func NewPostLegalEntitiesLegalEntityIdCompanyCardsRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCompanyCardsParams, body PostLegalEntitiesLegalEntityIdCompanyCardsJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdCompanyCardsRequest calls the generic PostLegalEntitiesLegalEntityIdCompanyCards builder with application/json body

func NewPostLegalEntitiesLegalEntityIdCompanyCardsRequestWithBody

func NewPostLegalEntitiesLegalEntityIdCompanyCardsRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCompanyCardsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdCompanyCardsRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdCompanyCards with any type of body

func NewPostLegalEntitiesLegalEntityIdCostCentersRequest

func NewPostLegalEntitiesLegalEntityIdCostCentersRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCostCentersParams, body PostLegalEntitiesLegalEntityIdCostCentersJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdCostCentersRequest calls the generic PostLegalEntitiesLegalEntityIdCostCenters builder with application/json body

func NewPostLegalEntitiesLegalEntityIdCostCentersRequestWithBody

func NewPostLegalEntitiesLegalEntityIdCostCentersRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCostCentersParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdCostCentersRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdCostCenters with any type of body

func NewPostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksRequest

func NewPostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksRequest(server string, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams, body PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksRequest calls the generic PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks builder with application/json body

func NewPostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksRequestWithBody

func NewPostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksRequestWithBody(server string, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks with any type of body

func NewPostLegalEntitiesLegalEntityIdInvoiceCategoriesRequest

func NewPostLegalEntitiesLegalEntityIdInvoiceCategoriesRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams, body PostLegalEntitiesLegalEntityIdInvoiceCategoriesJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoiceCategoriesRequest calls the generic PostLegalEntitiesLegalEntityIdInvoiceCategories builder with application/json body

func NewPostLegalEntitiesLegalEntityIdInvoiceCategoriesRequestWithBody

func NewPostLegalEntitiesLegalEntityIdInvoiceCategoriesRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoiceCategoriesRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdInvoiceCategories with any type of body

func NewPostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksRequest

func NewPostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksRequest(server string, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams, body PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksRequest calls the generic PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks builder with application/json body

func NewPostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksRequestWithBody

func NewPostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksRequestWithBody(server string, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks with any type of body

func NewPostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsRequest

func NewPostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, body PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsRequest calls the generic PostLegalEntitiesLegalEntityIdInvoiceGoodsReceipts builder with application/json body

func NewPostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsRequestWithBody

func NewPostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdInvoiceGoodsReceipts with any type of body

func NewPostLegalEntitiesLegalEntityIdInvoicePaymentTermsRequest

func NewPostLegalEntitiesLegalEntityIdInvoicePaymentTermsRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, body PostLegalEntitiesLegalEntityIdInvoicePaymentTermsJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoicePaymentTermsRequest calls the generic PostLegalEntitiesLegalEntityIdInvoicePaymentTerms builder with application/json body

func NewPostLegalEntitiesLegalEntityIdInvoicePaymentTermsRequestWithBody

func NewPostLegalEntitiesLegalEntityIdInvoicePaymentTermsRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoicePaymentTermsRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdInvoicePaymentTerms with any type of body

func NewPostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersRequest

func NewPostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, body PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersRequest calls the generic PostLegalEntitiesLegalEntityIdInvoicePurchaseOrders builder with application/json body

func NewPostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersRequestWithBody

func NewPostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdInvoicePurchaseOrders with any type of body

func NewPostLegalEntitiesLegalEntityIdInvoicesRequest

func NewPostLegalEntitiesLegalEntityIdInvoicesRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesParams, body PostLegalEntitiesLegalEntityIdInvoicesJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoicesRequest calls the generic PostLegalEntitiesLegalEntityIdInvoices builder with application/json body

func NewPostLegalEntitiesLegalEntityIdInvoicesRequestWithBody

func NewPostLegalEntitiesLegalEntityIdInvoicesRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoicesRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdInvoices with any type of body

func NewPostLegalEntitiesLegalEntityIdInvoicesUploadRequestWithBody

func NewPostLegalEntitiesLegalEntityIdInvoicesUploadRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesUploadParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdInvoicesUploadRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdInvoicesUpload with any type of body

func NewPostLegalEntitiesLegalEntityIdPoliciesRequest

func NewPostLegalEntitiesLegalEntityIdPoliciesRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdPoliciesParams, body PostLegalEntitiesLegalEntityIdPoliciesJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdPoliciesRequest calls the generic PostLegalEntitiesLegalEntityIdPolicies builder with application/json body

func NewPostLegalEntitiesLegalEntityIdPoliciesRequestWithBody

func NewPostLegalEntitiesLegalEntityIdPoliciesRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdPoliciesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdPoliciesRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdPolicies with any type of body

func NewPostLegalEntitiesLegalEntityIdSuppliersRequest

func NewPostLegalEntitiesLegalEntityIdSuppliersRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdSuppliersParams, body PostLegalEntitiesLegalEntityIdSuppliersJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdSuppliersRequest calls the generic PostLegalEntitiesLegalEntityIdSuppliers builder with application/json body

func NewPostLegalEntitiesLegalEntityIdSuppliersRequestWithBody

func NewPostLegalEntitiesLegalEntityIdSuppliersRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdSuppliersParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdSuppliersRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdSuppliers with any type of body

func NewPostLegalEntitiesLegalEntityIdTagsRequest

func NewPostLegalEntitiesLegalEntityIdTagsRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTagsParams, body PostLegalEntitiesLegalEntityIdTagsJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdTagsRequest calls the generic PostLegalEntitiesLegalEntityIdTags builder with application/json body

func NewPostLegalEntitiesLegalEntityIdTagsRequestWithBody

func NewPostLegalEntitiesLegalEntityIdTagsRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTagsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdTagsRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdTags with any type of body

func NewPostLegalEntitiesLegalEntityIdTaxRatesRequest

func NewPostLegalEntitiesLegalEntityIdTaxRatesRequest(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTaxRatesParams, body PostLegalEntitiesLegalEntityIdTaxRatesJSONRequestBody) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdTaxRatesRequest calls the generic PostLegalEntitiesLegalEntityIdTaxRates builder with application/json body

func NewPostLegalEntitiesLegalEntityIdTaxRatesRequestWithBody

func NewPostLegalEntitiesLegalEntityIdTaxRatesRequestWithBody(server string, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTaxRatesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostLegalEntitiesLegalEntityIdTaxRatesRequestWithBody generates requests for PostLegalEntitiesLegalEntityIdTaxRates with any type of body

func NewPostSuppliersRequest

func NewPostSuppliersRequest(server string, params *PostSuppliersParams, body PostSuppliersJSONRequestBody) (*http.Request, error)

NewPostSuppliersRequest calls the generic PostSuppliers builder with application/json body

func NewPostSuppliersRequestWithBody

func NewPostSuppliersRequestWithBody(server string, params *PostSuppliersParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSuppliersRequestWithBody generates requests for PostSuppliers with any type of body

func NewPostUsersRequest

func NewPostUsersRequest(server string, params *PostUsersParams, body PostUsersJSONRequestBody) (*http.Request, error)

NewPostUsersRequest calls the generic PostUsers builder with application/json body

func NewPostUsersRequestWithBody

func NewPostUsersRequestWithBody(server string, params *PostUsersParams, contentType string, body io.Reader) (*http.Request, error)

NewPostUsersRequestWithBody generates requests for PostUsers with any type of body

func NewPutLegalEntitiesLegalEntityIdCategoriesCategoryIdRequest

func NewPutLegalEntitiesLegalEntityIdCategoriesCategoryIdRequest(server string, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, body PutLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdCategoriesCategoryIdRequest calls the generic PutLegalEntitiesLegalEntityIdCategoriesCategoryId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdCategoriesCategoryIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdCategoriesCategoryIdRequestWithBody(server string, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdCategoriesCategoryIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdCategoriesCategoryId with any type of body

func NewPutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequest

func NewPutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequest(server string, legalEntityId string, companyCardId string, params *PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, body PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequest calls the generic PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequestWithBody(server string, legalEntityId string, companyCardId string, params *PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId with any type of body

func NewPutLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest

func NewPutLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest(server string, legalEntityId string, costCenterId string, params *PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, body PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequest calls the generic PutLegalEntitiesLegalEntityIdCostCentersCostCenterId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequestWithBody(server string, legalEntityId string, costCenterId string, params *PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdCostCentersCostCenterIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdCostCentersCostCenterId with any type of body

func NewPutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequest

func NewPutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequest(server string, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, body PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequest calls the generic PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequestWithBody(server string, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId with any type of body

func NewPutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequest

func NewPutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequest(server string, legalEntityId string, goodsReceiptId string, params *PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, body PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequest calls the generic PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequestWithBody(server string, legalEntityId string, goodsReceiptId string, params *PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId with any type of body

func NewPutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequest

func NewPutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequest(server string, legalEntityId string, paymentTermId string, params *PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, body PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequest calls the generic PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequestWithBody(server string, legalEntityId string, paymentTermId string, params *PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId with any type of body

func NewPutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequest

func NewPutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequest(server string, legalEntityId string, purchaseOrderId string, params *PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, body PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequest calls the generic PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequestWithBody(server string, legalEntityId string, purchaseOrderId string, params *PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId with any type of body

func NewPutLegalEntitiesLegalEntityIdPoliciesPolicyIdRequest

func NewPutLegalEntitiesLegalEntityIdPoliciesPolicyIdRequest(server string, legalEntityId string, policyId string, params *PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, body PutLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdPoliciesPolicyIdRequest calls the generic PutLegalEntitiesLegalEntityIdPoliciesPolicyId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdPoliciesPolicyIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdPoliciesPolicyIdRequestWithBody(server string, legalEntityId string, policyId string, params *PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdPoliciesPolicyIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdPoliciesPolicyId with any type of body

func NewPutLegalEntitiesLegalEntityIdSuppliersSupplierIdRequest

func NewPutLegalEntitiesLegalEntityIdSuppliersSupplierIdRequest(server string, legalEntityId string, supplierId string, params *PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, body PutLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdSuppliersSupplierIdRequest calls the generic PutLegalEntitiesLegalEntityIdSuppliersSupplierId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdSuppliersSupplierIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdSuppliersSupplierIdRequestWithBody(server string, legalEntityId string, supplierId string, params *PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdSuppliersSupplierIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdSuppliersSupplierId with any type of body

func NewPutLegalEntitiesLegalEntityIdTagsTagIdRequest

func NewPutLegalEntitiesLegalEntityIdTagsTagIdRequest(server string, legalEntityId string, tagId string, params *PutLegalEntitiesLegalEntityIdTagsTagIdParams, body PutLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdTagsTagIdRequest calls the generic PutLegalEntitiesLegalEntityIdTagsTagId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdTagsTagIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdTagsTagIdRequestWithBody(server string, legalEntityId string, tagId string, params *PutLegalEntitiesLegalEntityIdTagsTagIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdTagsTagIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdTagsTagId with any type of body

func NewPutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequest

func NewPutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequest(server string, legalEntityId string, taxRateId string, params *PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, body PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequest calls the generic PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId builder with application/json body

func NewPutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequestWithBody

func NewPutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequestWithBody(server string, legalEntityId string, taxRateId string, params *PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdRequestWithBody generates requests for PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId with any type of body

func NewPutSuppliersSupplierIdRequest

func NewPutSuppliersSupplierIdRequest(server string, supplierId string, params *PutSuppliersSupplierIdParams, body PutSuppliersSupplierIdJSONRequestBody) (*http.Request, error)

NewPutSuppliersSupplierIdRequest calls the generic PutSuppliersSupplierId builder with application/json body

func NewPutSuppliersSupplierIdRequestWithBody

func NewPutSuppliersSupplierIdRequestWithBody(server string, supplierId string, params *PutSuppliersSupplierIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutSuppliersSupplierIdRequestWithBody generates requests for PutSuppliersSupplierId with any type of body

func NewPutUsersUserIdRequest

func NewPutUsersUserIdRequest(server string, userId string, params *PutUsersUserIdParams, body PutUsersUserIdJSONRequestBody) (*http.Request, error)

NewPutUsersUserIdRequest calls the generic PutUsersUserId builder with application/json body

func NewPutUsersUserIdRequestWithBody

func NewPutUsersUserIdRequestWithBody(server string, userId string, params *PutUsersUserIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutUsersUserIdRequestWithBody generates requests for PutUsersUserId with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

func RegisterHandlers

func RegisterHandlers(router EchoRouter, si ServerInterface)

RegisterHandlers adds each server route to the EchoRouter.

func RegisterHandlersWithBaseURL

func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)

Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.

Types

type Category

type Category struct {
	// AccountReference The category's account reference.
	AccountReference string `json:"accountReference"`

	// ChargeToEmployee Flag for usage in export.
	ChargeToEmployee *bool `json:"chargeToEmployee"`

	// CustomInformation Dictionary of custom information associated to the category.
	CustomInformation *map[string]string `json:"customInformation"`

	// Id The category's internal id.
	Id *string `json:"id,omitempty"`

	// Name The category's name.
	Name string `json:"name"`

	// StatusActive Whether the category is active.
	StatusActive bool `json:"statusActive"`
}

Category defines model for Category.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterId

func (c *Client) DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx context.Context, legalEntityId string, costCenterId string, params *DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteLegalEntitiesLegalEntityIdTagsTagId

func (c *Client) DeleteLegalEntitiesLegalEntityIdTagsTagId(ctx context.Context, legalEntityId string, tagId string, params *DeleteLegalEntitiesLegalEntityIdTagsTagIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteUsersUserId

func (c *Client) DeleteUsersUserId(ctx context.Context, userId string, params *DeleteUsersUserIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetExpenses

func (c *Client) GetExpenses(ctx context.Context, params *GetExpensesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetExpensesExpenseId

func (c *Client) GetExpensesExpenseId(ctx context.Context, expenseId string, params *GetExpensesExpenseIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntities

func (c *Client) GetLegalEntities(ctx context.Context, params *GetLegalEntitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityId

func (c *Client) GetLegalEntitiesLegalEntityId(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdCategories

func (c *Client) GetLegalEntitiesLegalEntityIdCategories(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdCategoriesCategoryId

func (c *Client) GetLegalEntitiesLegalEntityIdCategoriesCategoryId(ctx context.Context, legalEntityId string, categoryId string, params *GetLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdCompanyCards

func (c *Client) GetLegalEntitiesLegalEntityIdCompanyCards(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCompanyCardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId

func (c *Client) GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId(ctx context.Context, legalEntityId string, companyCardId string, params *GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdCostCenters

func (c *Client) GetLegalEntitiesLegalEntityIdCostCenters(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCostCentersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdCostCentersCostCenterId

func (c *Client) GetLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx context.Context, legalEntityId string, costCenterId string, params *GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdExportTasksExportTaskId

func (c *Client) GetLegalEntitiesLegalEntityIdExportTasksExportTaskId(ctx context.Context, legalEntityId string, exportTaskId string, params *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefacts

func (c *Client) GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefacts(ctx context.Context, legalEntityId string, exportTaskId string, params *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoiceCategories

func (c *Client) GetLegalEntitiesLegalEntityIdInvoiceCategories(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoiceCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId

func (c *Client) GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId(ctx context.Context, legalEntityId string, categoryId string, params *GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceipts

func (c *Client) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceipts(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId

func (c *Client) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId(ctx context.Context, legalEntityId string, goodsReceiptId string, params *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoicePaymentTerms

func (c *Client) GetLegalEntitiesLegalEntityIdInvoicePaymentTerms(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId

func (c *Client) GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId(ctx context.Context, legalEntityId string, paymentTermId string, params *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrders

func (c *Client) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrders(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId

func (c *Client) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId(ctx context.Context, legalEntityId string, purchaseOrderId string, params *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoices

func (c *Client) GetLegalEntitiesLegalEntityIdInvoices(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoicesInvoiceId

func (c *Client) GetLegalEntitiesLegalEntityIdInvoicesInvoiceId(ctx context.Context, legalEntityId string, invoiceId string, params *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentation

func (c *Client) GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentation(ctx context.Context, legalEntityId string, invoiceId string, params *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdPolicies

func (c *Client) GetLegalEntitiesLegalEntityIdPolicies(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdPoliciesPolicyId

func (c *Client) GetLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx context.Context, legalEntityId string, policyId string, params *GetLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdSuppliers

func (c *Client) GetLegalEntitiesLegalEntityIdSuppliers(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdSuppliersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdSuppliersSupplierId

func (c *Client) GetLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx context.Context, legalEntityId string, supplierId string, params *GetLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdTags

func (c *Client) GetLegalEntitiesLegalEntityIdTags(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdTagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdTagsTagId

func (c *Client) GetLegalEntitiesLegalEntityIdTagsTagId(ctx context.Context, legalEntityId string, tagId string, params *GetLegalEntitiesLegalEntityIdTagsTagIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdTaxRates

func (c *Client) GetLegalEntitiesLegalEntityIdTaxRates(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdTaxRatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalEntitiesLegalEntityIdTaxRatesTaxRateId

func (c *Client) GetLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx context.Context, legalEntityId string, taxRateId string, params *GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSuppliers

func (c *Client) GetSuppliers(ctx context.Context, params *GetSuppliersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSuppliersSupplierId

func (c *Client) GetSuppliersSupplierId(ctx context.Context, supplierId string, params *GetSuppliersSupplierIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTrips

func (c *Client) GetTrips(ctx context.Context, params *GetTripsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTripsTripId

func (c *Client) GetTripsTripId(ctx context.Context, tripId string, params *GetTripsTripIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUsers

func (c *Client) GetUsers(ctx context.Context, params *GetUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUsersUserId

func (c *Client) GetUsersUserId(ctx context.Context, userId string, params *GetUsersUserIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBody(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBody(ctx context.Context, legalEntityId string, companyCardId string, params *PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBody(ctx context.Context, legalEntityId string, costCenterId string, params *PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBody(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBody(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBody(ctx context.Context, legalEntityId string, paymentTermId string, params *PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBody(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBody(ctx context.Context, legalEntityId string, policyId string, params *PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBody(ctx context.Context, legalEntityId string, supplierId string, params *PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdTagsTagId

func (c *Client) PatchLegalEntitiesLegalEntityIdTagsTagId(ctx context.Context, legalEntityId string, tagId string, params *PatchLegalEntitiesLegalEntityIdTagsTagIdParams, body PatchLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdTagsTagIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdTagsTagIdWithBody(ctx context.Context, legalEntityId string, tagId string, params *PatchLegalEntitiesLegalEntityIdTagsTagIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBody

func (c *Client) PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBody(ctx context.Context, legalEntityId string, taxRateId string, params *PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchSuppliersSupplierId

func (c *Client) PatchSuppliersSupplierId(ctx context.Context, supplierId string, params *PatchSuppliersSupplierIdParams, body PatchSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchSuppliersSupplierIdWithBody

func (c *Client) PatchSuppliersSupplierIdWithBody(ctx context.Context, supplierId string, params *PatchSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchUsersUserId

func (c *Client) PatchUsersUserId(ctx context.Context, userId string, params *PatchUsersUserIdParams, body PatchUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchUsersUserIdWithBody

func (c *Client) PatchUsersUserIdWithBody(ctx context.Context, userId string, params *PatchUsersUserIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdCategoriesWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdCategoriesWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCategoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdCompanyCardsWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdCompanyCardsWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCompanyCardsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdCostCentersWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdCostCentersWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCostCentersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithBody(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithBody(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdInvoices

func (c *Client) PostLegalEntitiesLegalEntityIdInvoices(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesParams, body PostLegalEntitiesLegalEntityIdInvoicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdInvoicesUploadWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdInvoicesUploadWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdInvoicesWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdInvoicesWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdPolicies

func (c *Client) PostLegalEntitiesLegalEntityIdPolicies(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdPoliciesParams, body PostLegalEntitiesLegalEntityIdPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdPoliciesWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdPoliciesWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdSuppliers

func (c *Client) PostLegalEntitiesLegalEntityIdSuppliers(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdSuppliersParams, body PostLegalEntitiesLegalEntityIdSuppliersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdSuppliersWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdSuppliersWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdSuppliersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdTags

func (c *Client) PostLegalEntitiesLegalEntityIdTags(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTagsParams, body PostLegalEntitiesLegalEntityIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdTagsWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdTagsWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdTaxRates

func (c *Client) PostLegalEntitiesLegalEntityIdTaxRates(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTaxRatesParams, body PostLegalEntitiesLegalEntityIdTaxRatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLegalEntitiesLegalEntityIdTaxRatesWithBody

func (c *Client) PostLegalEntitiesLegalEntityIdTaxRatesWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTaxRatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSuppliers

func (c *Client) PostSuppliers(ctx context.Context, params *PostSuppliersParams, body PostSuppliersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSuppliersWithBody

func (c *Client) PostSuppliersWithBody(ctx context.Context, params *PostSuppliersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsers

func (c *Client) PostUsers(ctx context.Context, params *PostUsersParams, body PostUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersWithBody

func (c *Client) PostUsersWithBody(ctx context.Context, params *PostUsersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBody(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBody(ctx context.Context, legalEntityId string, companyCardId string, params *PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBody(ctx context.Context, legalEntityId string, costCenterId string, params *PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBody(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBody(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBody(ctx context.Context, legalEntityId string, paymentTermId string, params *PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBody(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdPoliciesPolicyId

func (c *Client) PutLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx context.Context, legalEntityId string, policyId string, params *PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, body PutLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBody(ctx context.Context, legalEntityId string, policyId string, params *PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdSuppliersSupplierId

func (c *Client) PutLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx context.Context, legalEntityId string, supplierId string, params *PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, body PutLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBody(ctx context.Context, legalEntityId string, supplierId string, params *PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdTagsTagId

func (c *Client) PutLegalEntitiesLegalEntityIdTagsTagId(ctx context.Context, legalEntityId string, tagId string, params *PutLegalEntitiesLegalEntityIdTagsTagIdParams, body PutLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdTagsTagIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdTagsTagIdWithBody(ctx context.Context, legalEntityId string, tagId string, params *PutLegalEntitiesLegalEntityIdTagsTagIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId

func (c *Client) PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx context.Context, legalEntityId string, taxRateId string, params *PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, body PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBody

func (c *Client) PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBody(ctx context.Context, legalEntityId string, taxRateId string, params *PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutSuppliersSupplierId

func (c *Client) PutSuppliersSupplierId(ctx context.Context, supplierId string, params *PutSuppliersSupplierIdParams, body PutSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutSuppliersSupplierIdWithBody

func (c *Client) PutSuppliersSupplierIdWithBody(ctx context.Context, supplierId string, params *PutSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutUsersUserId

func (c *Client) PutUsersUserId(ctx context.Context, userId string, params *PutUsersUserIdParams, body PutUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutUsersUserIdWithBody

func (c *Client) PutUsersUserIdWithBody(ctx context.Context, userId string, params *PutUsersUserIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetExpenses request
	GetExpenses(ctx context.Context, params *GetExpensesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExpensesExpenseId request
	GetExpensesExpenseId(ctx context.Context, expenseId string, params *GetExpensesExpenseIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntities request
	GetLegalEntities(ctx context.Context, params *GetLegalEntitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityId request
	GetLegalEntitiesLegalEntityId(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdCategories request
	GetLegalEntitiesLegalEntityIdCategories(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdCategoriesWithBody request with any body
	PostLegalEntitiesLegalEntityIdCategoriesWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCategoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdCategories(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCategoriesParams, body PostLegalEntitiesLegalEntityIdCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdCategoriesCategoryId request
	GetLegalEntitiesLegalEntityIdCategoriesCategoryId(ctx context.Context, legalEntityId string, categoryId string, params *GetLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBody(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdCategoriesCategoryId(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, body PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBody(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdCategoriesCategoryId(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, body PutLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdCompanyCards request
	GetLegalEntitiesLegalEntityIdCompanyCards(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCompanyCardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdCompanyCardsWithBody request with any body
	PostLegalEntitiesLegalEntityIdCompanyCardsWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCompanyCardsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdCompanyCards(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCompanyCardsParams, body PostLegalEntitiesLegalEntityIdCompanyCardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId request
	GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId(ctx context.Context, legalEntityId string, companyCardId string, params *GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBody(ctx context.Context, legalEntityId string, companyCardId string, params *PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId(ctx context.Context, legalEntityId string, companyCardId string, params *PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, body PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBody(ctx context.Context, legalEntityId string, companyCardId string, params *PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId(ctx context.Context, legalEntityId string, companyCardId string, params *PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, body PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdCostCenters request
	GetLegalEntitiesLegalEntityIdCostCenters(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCostCentersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdCostCentersWithBody request with any body
	PostLegalEntitiesLegalEntityIdCostCentersWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCostCentersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdCostCenters(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCostCentersParams, body PostLegalEntitiesLegalEntityIdCostCentersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterId request
	DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx context.Context, legalEntityId string, costCenterId string, params *DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdCostCentersCostCenterId request
	GetLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx context.Context, legalEntityId string, costCenterId string, params *GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBody(ctx context.Context, legalEntityId string, costCenterId string, params *PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx context.Context, legalEntityId string, costCenterId string, params *PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, body PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBody(ctx context.Context, legalEntityId string, costCenterId string, params *PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx context.Context, legalEntityId string, costCenterId string, params *PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, body PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithBody request with any body
	PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithBody(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams, body PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdExportTasksExportTaskId request
	GetLegalEntitiesLegalEntityIdExportTasksExportTaskId(ctx context.Context, legalEntityId string, exportTaskId string, params *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefacts request
	GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefacts(ctx context.Context, legalEntityId string, exportTaskId string, params *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoiceCategories request
	GetLegalEntitiesLegalEntityIdInvoiceCategories(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoiceCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithBody request with any body
	PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdInvoiceCategories(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams, body PostLegalEntitiesLegalEntityIdInvoiceCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId request
	GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId(ctx context.Context, legalEntityId string, categoryId string, params *GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBody(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, body PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBody(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, body PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithBody request with any body
	PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithBody(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams, body PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoiceGoodsReceipts request
	GetLegalEntitiesLegalEntityIdInvoiceGoodsReceipts(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithBody request with any body
	PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdInvoiceGoodsReceipts(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, body PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId request
	GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId(ctx context.Context, legalEntityId string, goodsReceiptId string, params *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBody(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, body PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBody(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, body PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoicePaymentTerms request
	GetLegalEntitiesLegalEntityIdInvoicePaymentTerms(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithBody request with any body
	PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdInvoicePaymentTerms(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, body PostLegalEntitiesLegalEntityIdInvoicePaymentTermsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId request
	GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId(ctx context.Context, legalEntityId string, paymentTermId string, params *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBody(ctx context.Context, legalEntityId string, paymentTermId string, params *PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId(ctx context.Context, legalEntityId string, paymentTermId string, params *PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, body PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBody(ctx context.Context, legalEntityId string, paymentTermId string, params *PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId(ctx context.Context, legalEntityId string, paymentTermId string, params *PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, body PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoicePurchaseOrders request
	GetLegalEntitiesLegalEntityIdInvoicePurchaseOrders(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithBody request with any body
	PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdInvoicePurchaseOrders(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, body PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId request
	GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId(ctx context.Context, legalEntityId string, purchaseOrderId string, params *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBody(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, body PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBody(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, body PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoices request
	GetLegalEntitiesLegalEntityIdInvoices(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdInvoicesWithBody request with any body
	PostLegalEntitiesLegalEntityIdInvoicesWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdInvoices(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesParams, body PostLegalEntitiesLegalEntityIdInvoicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdInvoicesUploadWithBody request with any body
	PostLegalEntitiesLegalEntityIdInvoicesUploadWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoicesInvoiceId request
	GetLegalEntitiesLegalEntityIdInvoicesInvoiceId(ctx context.Context, legalEntityId string, invoiceId string, params *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentation request
	GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentation(ctx context.Context, legalEntityId string, invoiceId string, params *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdPolicies request
	GetLegalEntitiesLegalEntityIdPolicies(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdPoliciesWithBody request with any body
	PostLegalEntitiesLegalEntityIdPoliciesWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdPolicies(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdPoliciesParams, body PostLegalEntitiesLegalEntityIdPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdPoliciesPolicyId request
	GetLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx context.Context, legalEntityId string, policyId string, params *GetLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBody(ctx context.Context, legalEntityId string, policyId string, params *PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx context.Context, legalEntityId string, policyId string, params *PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, body PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBody(ctx context.Context, legalEntityId string, policyId string, params *PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx context.Context, legalEntityId string, policyId string, params *PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, body PutLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdSuppliers request
	GetLegalEntitiesLegalEntityIdSuppliers(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdSuppliersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdSuppliersWithBody request with any body
	PostLegalEntitiesLegalEntityIdSuppliersWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdSuppliersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdSuppliers(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdSuppliersParams, body PostLegalEntitiesLegalEntityIdSuppliersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdSuppliersSupplierId request
	GetLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx context.Context, legalEntityId string, supplierId string, params *GetLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBody(ctx context.Context, legalEntityId string, supplierId string, params *PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx context.Context, legalEntityId string, supplierId string, params *PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, body PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBody(ctx context.Context, legalEntityId string, supplierId string, params *PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx context.Context, legalEntityId string, supplierId string, params *PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, body PutLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdTags request
	GetLegalEntitiesLegalEntityIdTags(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdTagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdTagsWithBody request with any body
	PostLegalEntitiesLegalEntityIdTagsWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdTags(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTagsParams, body PostLegalEntitiesLegalEntityIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteLegalEntitiesLegalEntityIdTagsTagId request
	DeleteLegalEntitiesLegalEntityIdTagsTagId(ctx context.Context, legalEntityId string, tagId string, params *DeleteLegalEntitiesLegalEntityIdTagsTagIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdTagsTagId request
	GetLegalEntitiesLegalEntityIdTagsTagId(ctx context.Context, legalEntityId string, tagId string, params *GetLegalEntitiesLegalEntityIdTagsTagIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdTagsTagIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdTagsTagIdWithBody(ctx context.Context, legalEntityId string, tagId string, params *PatchLegalEntitiesLegalEntityIdTagsTagIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdTagsTagId(ctx context.Context, legalEntityId string, tagId string, params *PatchLegalEntitiesLegalEntityIdTagsTagIdParams, body PatchLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdTagsTagIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdTagsTagIdWithBody(ctx context.Context, legalEntityId string, tagId string, params *PutLegalEntitiesLegalEntityIdTagsTagIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdTagsTagId(ctx context.Context, legalEntityId string, tagId string, params *PutLegalEntitiesLegalEntityIdTagsTagIdParams, body PutLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdTaxRates request
	GetLegalEntitiesLegalEntityIdTaxRates(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdTaxRatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLegalEntitiesLegalEntityIdTaxRatesWithBody request with any body
	PostLegalEntitiesLegalEntityIdTaxRatesWithBody(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTaxRatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLegalEntitiesLegalEntityIdTaxRates(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTaxRatesParams, body PostLegalEntitiesLegalEntityIdTaxRatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalEntitiesLegalEntityIdTaxRatesTaxRateId request
	GetLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx context.Context, legalEntityId string, taxRateId string, params *GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBody request with any body
	PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBody(ctx context.Context, legalEntityId string, taxRateId string, params *PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx context.Context, legalEntityId string, taxRateId string, params *PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, body PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBody request with any body
	PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBody(ctx context.Context, legalEntityId string, taxRateId string, params *PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx context.Context, legalEntityId string, taxRateId string, params *PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, body PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSuppliers request
	GetSuppliers(ctx context.Context, params *GetSuppliersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSuppliersWithBody request with any body
	PostSuppliersWithBody(ctx context.Context, params *PostSuppliersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostSuppliers(ctx context.Context, params *PostSuppliersParams, body PostSuppliersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSuppliersSupplierId request
	GetSuppliersSupplierId(ctx context.Context, supplierId string, params *GetSuppliersSupplierIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchSuppliersSupplierIdWithBody request with any body
	PatchSuppliersSupplierIdWithBody(ctx context.Context, supplierId string, params *PatchSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchSuppliersSupplierId(ctx context.Context, supplierId string, params *PatchSuppliersSupplierIdParams, body PatchSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSuppliersSupplierIdWithBody request with any body
	PutSuppliersSupplierIdWithBody(ctx context.Context, supplierId string, params *PutSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutSuppliersSupplierId(ctx context.Context, supplierId string, params *PutSuppliersSupplierIdParams, body PutSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTrips request
	GetTrips(ctx context.Context, params *GetTripsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTripsTripId request
	GetTripsTripId(ctx context.Context, tripId string, params *GetTripsTripIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsers request
	GetUsers(ctx context.Context, params *GetUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsersWithBody request with any body
	PostUsersWithBody(ctx context.Context, params *PostUsersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsers(ctx context.Context, params *PostUsersParams, body PostUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUsersUserId request
	DeleteUsersUserId(ctx context.Context, userId string, params *DeleteUsersUserIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsersUserId request
	GetUsersUserId(ctx context.Context, userId string, params *GetUsersUserIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchUsersUserIdWithBody request with any body
	PatchUsersUserIdWithBody(ctx context.Context, userId string, params *PatchUsersUserIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchUsersUserId(ctx context.Context, userId string, params *PatchUsersUserIdParams, body PatchUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUsersUserIdWithBody request with any body
	PutUsersUserIdWithBody(ctx context.Context, userId string, params *PutUsersUserIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutUsersUserId(ctx context.Context, userId string, params *PutUsersUserIdParams, body PutUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse

func (c *ClientWithResponses) DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse(ctx context.Context, legalEntityId string, costCenterId string, params *DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, reqEditors ...RequestEditorFn) (*DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse request returning *DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

func (*ClientWithResponses) DeleteLegalEntitiesLegalEntityIdTagsTagIdWithResponse

func (c *ClientWithResponses) DeleteLegalEntitiesLegalEntityIdTagsTagIdWithResponse(ctx context.Context, legalEntityId string, tagId string, params *DeleteLegalEntitiesLegalEntityIdTagsTagIdParams, reqEditors ...RequestEditorFn) (*DeleteLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

DeleteLegalEntitiesLegalEntityIdTagsTagIdWithResponse request returning *DeleteLegalEntitiesLegalEntityIdTagsTagIdResponse

func (*ClientWithResponses) DeleteUsersUserIdWithResponse

func (c *ClientWithResponses) DeleteUsersUserIdWithResponse(ctx context.Context, userId string, params *DeleteUsersUserIdParams, reqEditors ...RequestEditorFn) (*DeleteUsersUserIdResponse, error)

DeleteUsersUserIdWithResponse request returning *DeleteUsersUserIdResponse

func (*ClientWithResponses) GetExpensesExpenseIdWithResponse

func (c *ClientWithResponses) GetExpensesExpenseIdWithResponse(ctx context.Context, expenseId string, params *GetExpensesExpenseIdParams, reqEditors ...RequestEditorFn) (*GetExpensesExpenseIdResponse, error)

GetExpensesExpenseIdWithResponse request returning *GetExpensesExpenseIdResponse

func (*ClientWithResponses) GetExpensesWithResponse

func (c *ClientWithResponses) GetExpensesWithResponse(ctx context.Context, params *GetExpensesParams, reqEditors ...RequestEditorFn) (*GetExpensesResponse, error)

GetExpensesWithResponse request returning *GetExpensesResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdCategoriesCategoryIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdCategoriesCategoryIdWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *GetLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

GetLegalEntitiesLegalEntityIdCategoriesCategoryIdWithResponse request returning *GetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdCategoriesWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdCategoriesWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCategoriesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCategoriesResponse, error)

GetLegalEntitiesLegalEntityIdCategoriesWithResponse request returning *GetLegalEntitiesLegalEntityIdCategoriesResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithResponse(ctx context.Context, legalEntityId string, companyCardId string, params *GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithResponse request returning *GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdCompanyCardsWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdCompanyCardsWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCompanyCardsParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCompanyCardsResponse, error)

GetLegalEntitiesLegalEntityIdCompanyCardsWithResponse request returning *GetLegalEntitiesLegalEntityIdCompanyCardsResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse(ctx context.Context, legalEntityId string, costCenterId string, params *GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse request returning *GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdCostCentersWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdCostCentersWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCostCentersParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCostCentersResponse, error)

GetLegalEntitiesLegalEntityIdCostCentersWithResponse request returning *GetLegalEntitiesLegalEntityIdCostCentersResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsWithResponse(ctx context.Context, legalEntityId string, exportTaskId string, params *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse, error)

GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsWithResponse request returning *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdWithResponse(ctx context.Context, legalEntityId string, exportTaskId string, params *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse, error)

GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdWithResponse request returning *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoiceCategoriesWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoiceCategoriesWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoiceCategoriesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse, error)

GetLegalEntitiesLegalEntityIdInvoiceCategoriesWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithResponse(ctx context.Context, legalEntityId string, goodsReceiptId string, params *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse, error)

GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithResponse(ctx context.Context, legalEntityId string, paymentTermId string, params *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicePaymentTermsWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicePaymentTermsWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse, error)

GetLegalEntitiesLegalEntityIdInvoicePaymentTermsWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithResponse(ctx context.Context, legalEntityId string, purchaseOrderId string, params *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse, error)

GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationWithResponse(ctx context.Context, legalEntityId string, invoiceId string, params *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse, error)

GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdWithResponse(ctx context.Context, legalEntityId string, invoiceId string, params *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse, error)

GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicesWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdInvoicesWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicesResponse, error)

GetLegalEntitiesLegalEntityIdInvoicesWithResponse request returning *GetLegalEntitiesLegalEntityIdInvoicesResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdPoliciesPolicyIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdPoliciesPolicyIdWithResponse(ctx context.Context, legalEntityId string, policyId string, params *GetLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

GetLegalEntitiesLegalEntityIdPoliciesPolicyIdWithResponse request returning *GetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdPoliciesWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdPoliciesWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdPoliciesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdPoliciesResponse, error)

GetLegalEntitiesLegalEntityIdPoliciesWithResponse request returning *GetLegalEntitiesLegalEntityIdPoliciesResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdSuppliersSupplierIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdSuppliersSupplierIdWithResponse(ctx context.Context, legalEntityId string, supplierId string, params *GetLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

GetLegalEntitiesLegalEntityIdSuppliersSupplierIdWithResponse request returning *GetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdSuppliersWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdSuppliersWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdSuppliersParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdSuppliersResponse, error)

GetLegalEntitiesLegalEntityIdSuppliersWithResponse request returning *GetLegalEntitiesLegalEntityIdSuppliersResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdTagsTagIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdTagsTagIdWithResponse(ctx context.Context, legalEntityId string, tagId string, params *GetLegalEntitiesLegalEntityIdTagsTagIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

GetLegalEntitiesLegalEntityIdTagsTagIdWithResponse request returning *GetLegalEntitiesLegalEntityIdTagsTagIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdTagsWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdTagsWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdTagsParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdTagsResponse, error)

GetLegalEntitiesLegalEntityIdTagsWithResponse request returning *GetLegalEntitiesLegalEntityIdTagsResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithResponse(ctx context.Context, legalEntityId string, taxRateId string, params *GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithResponse request returning *GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdTaxRatesWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdTaxRatesWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdTaxRatesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdTaxRatesResponse, error)

GetLegalEntitiesLegalEntityIdTaxRatesWithResponse request returning *GetLegalEntitiesLegalEntityIdTaxRatesResponse

func (*ClientWithResponses) GetLegalEntitiesLegalEntityIdWithResponse

func (c *ClientWithResponses) GetLegalEntitiesLegalEntityIdWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdResponse, error)

GetLegalEntitiesLegalEntityIdWithResponse request returning *GetLegalEntitiesLegalEntityIdResponse

func (*ClientWithResponses) GetLegalEntitiesWithResponse

func (c *ClientWithResponses) GetLegalEntitiesWithResponse(ctx context.Context, params *GetLegalEntitiesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesResponse, error)

GetLegalEntitiesWithResponse request returning *GetLegalEntitiesResponse

func (*ClientWithResponses) GetSuppliersSupplierIdWithResponse

func (c *ClientWithResponses) GetSuppliersSupplierIdWithResponse(ctx context.Context, supplierId string, params *GetSuppliersSupplierIdParams, reqEditors ...RequestEditorFn) (*GetSuppliersSupplierIdResponse, error)

GetSuppliersSupplierIdWithResponse request returning *GetSuppliersSupplierIdResponse

func (*ClientWithResponses) GetSuppliersWithResponse

func (c *ClientWithResponses) GetSuppliersWithResponse(ctx context.Context, params *GetSuppliersParams, reqEditors ...RequestEditorFn) (*GetSuppliersResponse, error)

GetSuppliersWithResponse request returning *GetSuppliersResponse

func (*ClientWithResponses) GetTripsTripIdWithResponse

func (c *ClientWithResponses) GetTripsTripIdWithResponse(ctx context.Context, tripId string, params *GetTripsTripIdParams, reqEditors ...RequestEditorFn) (*GetTripsTripIdResponse, error)

GetTripsTripIdWithResponse request returning *GetTripsTripIdResponse

func (*ClientWithResponses) GetTripsWithResponse

func (c *ClientWithResponses) GetTripsWithResponse(ctx context.Context, params *GetTripsParams, reqEditors ...RequestEditorFn) (*GetTripsResponse, error)

GetTripsWithResponse request returning *GetTripsResponse

func (*ClientWithResponses) GetUsersUserIdWithResponse

func (c *ClientWithResponses) GetUsersUserIdWithResponse(ctx context.Context, userId string, params *GetUsersUserIdParams, reqEditors ...RequestEditorFn) (*GetUsersUserIdResponse, error)

GetUsersUserIdWithResponse request returning *GetUsersUserIdResponse

func (*ClientWithResponses) GetUsersWithResponse

func (c *ClientWithResponses) GetUsersWithResponse(ctx context.Context, params *GetUsersParams, reqEditors ...RequestEditorFn) (*GetUsersResponse, error)

GetUsersWithResponse request returning *GetUsersResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBodyWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBodyWithResponse(ctx context.Context, legalEntityId string, companyCardId string, params *PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBodyWithResponse(ctx context.Context, legalEntityId string, costCenterId string, params *PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBodyWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBodyWithResponse(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBodyWithResponse(ctx context.Context, legalEntityId string, paymentTermId string, params *PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBodyWithResponse(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBodyWithResponse(ctx context.Context, legalEntityId string, policyId string, params *PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBodyWithResponse(ctx context.Context, legalEntityId string, supplierId string, params *PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdTagsTagIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdTagsTagIdWithBodyWithResponse(ctx context.Context, legalEntityId string, tagId string, params *PatchLegalEntitiesLegalEntityIdTagsTagIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

PatchLegalEntitiesLegalEntityIdTagsTagIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdTagsTagIdResponse

func (*ClientWithResponses) PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBodyWithResponse(ctx context.Context, legalEntityId string, taxRateId string, params *PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBodyWithResponse request with arbitrary body returning *PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse

func (*ClientWithResponses) PatchSuppliersSupplierIdWithBodyWithResponse

func (c *ClientWithResponses) PatchSuppliersSupplierIdWithBodyWithResponse(ctx context.Context, supplierId string, params *PatchSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSuppliersSupplierIdResponse, error)

PatchSuppliersSupplierIdWithBodyWithResponse request with arbitrary body returning *PatchSuppliersSupplierIdResponse

func (*ClientWithResponses) PatchSuppliersSupplierIdWithResponse

func (c *ClientWithResponses) PatchSuppliersSupplierIdWithResponse(ctx context.Context, supplierId string, params *PatchSuppliersSupplierIdParams, body PatchSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSuppliersSupplierIdResponse, error)

func (*ClientWithResponses) PatchUsersUserIdWithBodyWithResponse

func (c *ClientWithResponses) PatchUsersUserIdWithBodyWithResponse(ctx context.Context, userId string, params *PatchUsersUserIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUsersUserIdResponse, error)

PatchUsersUserIdWithBodyWithResponse request with arbitrary body returning *PatchUsersUserIdResponse

func (*ClientWithResponses) PatchUsersUserIdWithResponse

func (c *ClientWithResponses) PatchUsersUserIdWithResponse(ctx context.Context, userId string, params *PatchUsersUserIdParams, body PatchUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUsersUserIdResponse, error)

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdCategoriesWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdCategoriesWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCategoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdCategoriesResponse, error)

PostLegalEntitiesLegalEntityIdCategoriesWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdCategoriesResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdCompanyCardsWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdCompanyCardsWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCompanyCardsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdCompanyCardsResponse, error)

PostLegalEntitiesLegalEntityIdCompanyCardsWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdCompanyCardsResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdCostCentersWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdCostCentersWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCostCentersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdCostCentersResponse, error)

PostLegalEntitiesLegalEntityIdCostCentersWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdCostCentersResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithBodyWithResponse(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse, error)

PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse, error)

PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithBodyWithResponse(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse, error)

PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse, error)

PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse, error)

PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse, error)

PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoicesUploadWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoicesUploadWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicesUploadResponse, error)

PostLegalEntitiesLegalEntityIdInvoicesUploadWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdInvoicesUploadResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoicesWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdInvoicesWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicesResponse, error)

PostLegalEntitiesLegalEntityIdInvoicesWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdInvoicesResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdPoliciesWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdPoliciesWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdPoliciesResponse, error)

PostLegalEntitiesLegalEntityIdPoliciesWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdPoliciesResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdSuppliersWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdSuppliersWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdSuppliersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdSuppliersResponse, error)

PostLegalEntitiesLegalEntityIdSuppliersWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdSuppliersResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdTagsWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdTagsWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdTagsResponse, error)

PostLegalEntitiesLegalEntityIdTagsWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdTagsResponse

func (*ClientWithResponses) PostLegalEntitiesLegalEntityIdTaxRatesWithBodyWithResponse

func (c *ClientWithResponses) PostLegalEntitiesLegalEntityIdTaxRatesWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTaxRatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdTaxRatesResponse, error)

PostLegalEntitiesLegalEntityIdTaxRatesWithBodyWithResponse request with arbitrary body returning *PostLegalEntitiesLegalEntityIdTaxRatesResponse

func (*ClientWithResponses) PostSuppliersWithBodyWithResponse

func (c *ClientWithResponses) PostSuppliersWithBodyWithResponse(ctx context.Context, params *PostSuppliersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSuppliersResponse, error)

PostSuppliersWithBodyWithResponse request with arbitrary body returning *PostSuppliersResponse

func (*ClientWithResponses) PostSuppliersWithResponse

func (c *ClientWithResponses) PostSuppliersWithResponse(ctx context.Context, params *PostSuppliersParams, body PostSuppliersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSuppliersResponse, error)

func (*ClientWithResponses) PostUsersWithBodyWithResponse

func (c *ClientWithResponses) PostUsersWithBodyWithResponse(ctx context.Context, params *PostUsersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersResponse, error)

PostUsersWithBodyWithResponse request with arbitrary body returning *PostUsersResponse

func (*ClientWithResponses) PostUsersWithResponse

func (c *ClientWithResponses) PostUsersWithResponse(ctx context.Context, params *PostUsersParams, body PostUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersResponse, error)

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBodyWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBodyWithResponse(ctx context.Context, legalEntityId string, companyCardId string, params *PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBodyWithResponse(ctx context.Context, legalEntityId string, costCenterId string, params *PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBodyWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBodyWithResponse(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBodyWithResponse(ctx context.Context, legalEntityId string, paymentTermId string, params *PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBodyWithResponse(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBodyWithResponse(ctx context.Context, legalEntityId string, policyId string, params *PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBodyWithResponse(ctx context.Context, legalEntityId string, supplierId string, params *PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdTagsTagIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdTagsTagIdWithBodyWithResponse(ctx context.Context, legalEntityId string, tagId string, params *PutLegalEntitiesLegalEntityIdTagsTagIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

PutLegalEntitiesLegalEntityIdTagsTagIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdTagsTagIdResponse

func (*ClientWithResponses) PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBodyWithResponse

func (c *ClientWithResponses) PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBodyWithResponse(ctx context.Context, legalEntityId string, taxRateId string, params *PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBodyWithResponse request with arbitrary body returning *PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse

func (*ClientWithResponses) PutSuppliersSupplierIdWithBodyWithResponse

func (c *ClientWithResponses) PutSuppliersSupplierIdWithBodyWithResponse(ctx context.Context, supplierId string, params *PutSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSuppliersSupplierIdResponse, error)

PutSuppliersSupplierIdWithBodyWithResponse request with arbitrary body returning *PutSuppliersSupplierIdResponse

func (*ClientWithResponses) PutSuppliersSupplierIdWithResponse

func (c *ClientWithResponses) PutSuppliersSupplierIdWithResponse(ctx context.Context, supplierId string, params *PutSuppliersSupplierIdParams, body PutSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSuppliersSupplierIdResponse, error)

func (*ClientWithResponses) PutUsersUserIdWithBodyWithResponse

func (c *ClientWithResponses) PutUsersUserIdWithBodyWithResponse(ctx context.Context, userId string, params *PutUsersUserIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUsersUserIdResponse, error)

PutUsersUserIdWithBodyWithResponse request with arbitrary body returning *PutUsersUserIdResponse

func (*ClientWithResponses) PutUsersUserIdWithResponse

func (c *ClientWithResponses) PutUsersUserIdWithResponse(ctx context.Context, userId string, params *PutUsersUserIdParams, body PutUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUsersUserIdResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetExpensesWithResponse request
	GetExpensesWithResponse(ctx context.Context, params *GetExpensesParams, reqEditors ...RequestEditorFn) (*GetExpensesResponse, error)

	// GetExpensesExpenseIdWithResponse request
	GetExpensesExpenseIdWithResponse(ctx context.Context, expenseId string, params *GetExpensesExpenseIdParams, reqEditors ...RequestEditorFn) (*GetExpensesExpenseIdResponse, error)

	// GetLegalEntitiesWithResponse request
	GetLegalEntitiesWithResponse(ctx context.Context, params *GetLegalEntitiesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesResponse, error)

	// GetLegalEntitiesLegalEntityIdWithResponse request
	GetLegalEntitiesLegalEntityIdWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdResponse, error)

	// GetLegalEntitiesLegalEntityIdCategoriesWithResponse request
	GetLegalEntitiesLegalEntityIdCategoriesWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCategoriesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCategoriesResponse, error)

	// PostLegalEntitiesLegalEntityIdCategoriesWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdCategoriesWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCategoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdCategoriesResponse, error)

	PostLegalEntitiesLegalEntityIdCategoriesWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCategoriesParams, body PostLegalEntitiesLegalEntityIdCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdCategoriesResponse, error)

	// GetLegalEntitiesLegalEntityIdCategoriesCategoryIdWithResponse request
	GetLegalEntitiesLegalEntityIdCategoriesCategoryIdWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *GetLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBodyWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

	PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, body PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

	// PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithBodyWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

	PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams, body PutLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

	// GetLegalEntitiesLegalEntityIdCompanyCardsWithResponse request
	GetLegalEntitiesLegalEntityIdCompanyCardsWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCompanyCardsParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCompanyCardsResponse, error)

	// PostLegalEntitiesLegalEntityIdCompanyCardsWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdCompanyCardsWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCompanyCardsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdCompanyCardsResponse, error)

	PostLegalEntitiesLegalEntityIdCompanyCardsWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCompanyCardsParams, body PostLegalEntitiesLegalEntityIdCompanyCardsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdCompanyCardsResponse, error)

	// GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithResponse request
	GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithResponse(ctx context.Context, legalEntityId string, companyCardId string, params *GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBodyWithResponse(ctx context.Context, legalEntityId string, companyCardId string, params *PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

	PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithResponse(ctx context.Context, legalEntityId string, companyCardId string, params *PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, body PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

	// PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithBodyWithResponse(ctx context.Context, legalEntityId string, companyCardId string, params *PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

	PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithResponse(ctx context.Context, legalEntityId string, companyCardId string, params *PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams, body PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

	// GetLegalEntitiesLegalEntityIdCostCentersWithResponse request
	GetLegalEntitiesLegalEntityIdCostCentersWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdCostCentersParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCostCentersResponse, error)

	// PostLegalEntitiesLegalEntityIdCostCentersWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdCostCentersWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCostCentersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdCostCentersResponse, error)

	PostLegalEntitiesLegalEntityIdCostCentersWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdCostCentersParams, body PostLegalEntitiesLegalEntityIdCostCentersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdCostCentersResponse, error)

	// DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse request
	DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse(ctx context.Context, legalEntityId string, costCenterId string, params *DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, reqEditors ...RequestEditorFn) (*DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

	// GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse request
	GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse(ctx context.Context, legalEntityId string, costCenterId string, params *GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBodyWithResponse(ctx context.Context, legalEntityId string, costCenterId string, params *PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

	PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse(ctx context.Context, legalEntityId string, costCenterId string, params *PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, body PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

	// PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithBodyWithResponse(ctx context.Context, legalEntityId string, costCenterId string, params *PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

	PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse(ctx context.Context, legalEntityId string, costCenterId string, params *PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams, body PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

	// PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithBodyWithResponse(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse, error)

	PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithResponse(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams, body PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse, error)

	// GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdWithResponse request
	GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdWithResponse(ctx context.Context, legalEntityId string, exportTaskId string, params *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse, error)

	// GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsWithResponse request
	GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsWithResponse(ctx context.Context, legalEntityId string, exportTaskId string, params *GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoiceCategoriesWithResponse request
	GetLegalEntitiesLegalEntityIdInvoiceCategoriesWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoiceCategoriesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse, error)

	// PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse, error)

	PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams, body PostLegalEntitiesLegalEntityIdInvoiceCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithResponse request
	GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBodyWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

	PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, body PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

	// PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithBodyWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

	PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithResponse(ctx context.Context, legalEntityId string, categoryId string, params *PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams, body PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

	// PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithBodyWithResponse(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse, error)

	PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithResponse(ctx context.Context, legalEntityId string, exportFacility string, params *PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams, body PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithResponse request
	GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse, error)

	// PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse, error)

	PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams, body PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithResponse request
	GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithResponse(ctx context.Context, legalEntityId string, goodsReceiptId string, params *GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBodyWithResponse(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

	PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithResponse(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, body PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

	// PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithBodyWithResponse(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

	PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithResponse(ctx context.Context, legalEntityId string, goodsReceiptId string, params *PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams, body PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoicePaymentTermsWithResponse request
	GetLegalEntitiesLegalEntityIdInvoicePaymentTermsWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse, error)

	// PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse, error)

	PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams, body PostLegalEntitiesLegalEntityIdInvoicePaymentTermsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithResponse request
	GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithResponse(ctx context.Context, legalEntityId string, paymentTermId string, params *GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBodyWithResponse(ctx context.Context, legalEntityId string, paymentTermId string, params *PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

	PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithResponse(ctx context.Context, legalEntityId string, paymentTermId string, params *PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, body PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

	// PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithBodyWithResponse(ctx context.Context, legalEntityId string, paymentTermId string, params *PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

	PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithResponse(ctx context.Context, legalEntityId string, paymentTermId string, params *PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams, body PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithResponse request
	GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse, error)

	// PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse, error)

	PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams, body PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithResponse request
	GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithResponse(ctx context.Context, legalEntityId string, purchaseOrderId string, params *GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBodyWithResponse(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

	PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithResponse(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, body PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

	// PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithBodyWithResponse(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

	PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithResponse(ctx context.Context, legalEntityId string, purchaseOrderId string, params *PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams, body PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoicesWithResponse request
	GetLegalEntitiesLegalEntityIdInvoicesWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdInvoicesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicesResponse, error)

	// PostLegalEntitiesLegalEntityIdInvoicesWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdInvoicesWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicesResponse, error)

	PostLegalEntitiesLegalEntityIdInvoicesWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesParams, body PostLegalEntitiesLegalEntityIdInvoicesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicesResponse, error)

	// PostLegalEntitiesLegalEntityIdInvoicesUploadWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdInvoicesUploadWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdInvoicesUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdInvoicesUploadResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdWithResponse request
	GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdWithResponse(ctx context.Context, legalEntityId string, invoiceId string, params *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse, error)

	// GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationWithResponse request
	GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationWithResponse(ctx context.Context, legalEntityId string, invoiceId string, params *GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse, error)

	// GetLegalEntitiesLegalEntityIdPoliciesWithResponse request
	GetLegalEntitiesLegalEntityIdPoliciesWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdPoliciesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdPoliciesResponse, error)

	// PostLegalEntitiesLegalEntityIdPoliciesWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdPoliciesWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdPoliciesResponse, error)

	PostLegalEntitiesLegalEntityIdPoliciesWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdPoliciesParams, body PostLegalEntitiesLegalEntityIdPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdPoliciesResponse, error)

	// GetLegalEntitiesLegalEntityIdPoliciesPolicyIdWithResponse request
	GetLegalEntitiesLegalEntityIdPoliciesPolicyIdWithResponse(ctx context.Context, legalEntityId string, policyId string, params *GetLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBodyWithResponse(ctx context.Context, legalEntityId string, policyId string, params *PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

	PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithResponse(ctx context.Context, legalEntityId string, policyId string, params *PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, body PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

	// PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithBodyWithResponse(ctx context.Context, legalEntityId string, policyId string, params *PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

	PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithResponse(ctx context.Context, legalEntityId string, policyId string, params *PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams, body PutLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

	// GetLegalEntitiesLegalEntityIdSuppliersWithResponse request
	GetLegalEntitiesLegalEntityIdSuppliersWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdSuppliersParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdSuppliersResponse, error)

	// PostLegalEntitiesLegalEntityIdSuppliersWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdSuppliersWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdSuppliersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdSuppliersResponse, error)

	PostLegalEntitiesLegalEntityIdSuppliersWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdSuppliersParams, body PostLegalEntitiesLegalEntityIdSuppliersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdSuppliersResponse, error)

	// GetLegalEntitiesLegalEntityIdSuppliersSupplierIdWithResponse request
	GetLegalEntitiesLegalEntityIdSuppliersSupplierIdWithResponse(ctx context.Context, legalEntityId string, supplierId string, params *GetLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBodyWithResponse(ctx context.Context, legalEntityId string, supplierId string, params *PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

	PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithResponse(ctx context.Context, legalEntityId string, supplierId string, params *PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, body PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

	// PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithBodyWithResponse(ctx context.Context, legalEntityId string, supplierId string, params *PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

	PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithResponse(ctx context.Context, legalEntityId string, supplierId string, params *PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams, body PutLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

	// GetLegalEntitiesLegalEntityIdTagsWithResponse request
	GetLegalEntitiesLegalEntityIdTagsWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdTagsParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdTagsResponse, error)

	// PostLegalEntitiesLegalEntityIdTagsWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdTagsWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdTagsResponse, error)

	PostLegalEntitiesLegalEntityIdTagsWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTagsParams, body PostLegalEntitiesLegalEntityIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdTagsResponse, error)

	// DeleteLegalEntitiesLegalEntityIdTagsTagIdWithResponse request
	DeleteLegalEntitiesLegalEntityIdTagsTagIdWithResponse(ctx context.Context, legalEntityId string, tagId string, params *DeleteLegalEntitiesLegalEntityIdTagsTagIdParams, reqEditors ...RequestEditorFn) (*DeleteLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

	// GetLegalEntitiesLegalEntityIdTagsTagIdWithResponse request
	GetLegalEntitiesLegalEntityIdTagsTagIdWithResponse(ctx context.Context, legalEntityId string, tagId string, params *GetLegalEntitiesLegalEntityIdTagsTagIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdTagsTagIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdTagsTagIdWithBodyWithResponse(ctx context.Context, legalEntityId string, tagId string, params *PatchLegalEntitiesLegalEntityIdTagsTagIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

	PatchLegalEntitiesLegalEntityIdTagsTagIdWithResponse(ctx context.Context, legalEntityId string, tagId string, params *PatchLegalEntitiesLegalEntityIdTagsTagIdParams, body PatchLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

	// PutLegalEntitiesLegalEntityIdTagsTagIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdTagsTagIdWithBodyWithResponse(ctx context.Context, legalEntityId string, tagId string, params *PutLegalEntitiesLegalEntityIdTagsTagIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

	PutLegalEntitiesLegalEntityIdTagsTagIdWithResponse(ctx context.Context, legalEntityId string, tagId string, params *PutLegalEntitiesLegalEntityIdTagsTagIdParams, body PutLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

	// GetLegalEntitiesLegalEntityIdTaxRatesWithResponse request
	GetLegalEntitiesLegalEntityIdTaxRatesWithResponse(ctx context.Context, legalEntityId string, params *GetLegalEntitiesLegalEntityIdTaxRatesParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdTaxRatesResponse, error)

	// PostLegalEntitiesLegalEntityIdTaxRatesWithBodyWithResponse request with any body
	PostLegalEntitiesLegalEntityIdTaxRatesWithBodyWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTaxRatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdTaxRatesResponse, error)

	PostLegalEntitiesLegalEntityIdTaxRatesWithResponse(ctx context.Context, legalEntityId string, params *PostLegalEntitiesLegalEntityIdTaxRatesParams, body PostLegalEntitiesLegalEntityIdTaxRatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLegalEntitiesLegalEntityIdTaxRatesResponse, error)

	// GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithResponse request
	GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithResponse(ctx context.Context, legalEntityId string, taxRateId string, params *GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, reqEditors ...RequestEditorFn) (*GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

	// PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBodyWithResponse request with any body
	PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBodyWithResponse(ctx context.Context, legalEntityId string, taxRateId string, params *PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

	PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithResponse(ctx context.Context, legalEntityId string, taxRateId string, params *PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, body PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

	// PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBodyWithResponse request with any body
	PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithBodyWithResponse(ctx context.Context, legalEntityId string, taxRateId string, params *PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

	PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithResponse(ctx context.Context, legalEntityId string, taxRateId string, params *PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams, body PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

	// GetSuppliersWithResponse request
	GetSuppliersWithResponse(ctx context.Context, params *GetSuppliersParams, reqEditors ...RequestEditorFn) (*GetSuppliersResponse, error)

	// PostSuppliersWithBodyWithResponse request with any body
	PostSuppliersWithBodyWithResponse(ctx context.Context, params *PostSuppliersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSuppliersResponse, error)

	PostSuppliersWithResponse(ctx context.Context, params *PostSuppliersParams, body PostSuppliersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSuppliersResponse, error)

	// GetSuppliersSupplierIdWithResponse request
	GetSuppliersSupplierIdWithResponse(ctx context.Context, supplierId string, params *GetSuppliersSupplierIdParams, reqEditors ...RequestEditorFn) (*GetSuppliersSupplierIdResponse, error)

	// PatchSuppliersSupplierIdWithBodyWithResponse request with any body
	PatchSuppliersSupplierIdWithBodyWithResponse(ctx context.Context, supplierId string, params *PatchSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSuppliersSupplierIdResponse, error)

	PatchSuppliersSupplierIdWithResponse(ctx context.Context, supplierId string, params *PatchSuppliersSupplierIdParams, body PatchSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSuppliersSupplierIdResponse, error)

	// PutSuppliersSupplierIdWithBodyWithResponse request with any body
	PutSuppliersSupplierIdWithBodyWithResponse(ctx context.Context, supplierId string, params *PutSuppliersSupplierIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSuppliersSupplierIdResponse, error)

	PutSuppliersSupplierIdWithResponse(ctx context.Context, supplierId string, params *PutSuppliersSupplierIdParams, body PutSuppliersSupplierIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSuppliersSupplierIdResponse, error)

	// GetTripsWithResponse request
	GetTripsWithResponse(ctx context.Context, params *GetTripsParams, reqEditors ...RequestEditorFn) (*GetTripsResponse, error)

	// GetTripsTripIdWithResponse request
	GetTripsTripIdWithResponse(ctx context.Context, tripId string, params *GetTripsTripIdParams, reqEditors ...RequestEditorFn) (*GetTripsTripIdResponse, error)

	// GetUsersWithResponse request
	GetUsersWithResponse(ctx context.Context, params *GetUsersParams, reqEditors ...RequestEditorFn) (*GetUsersResponse, error)

	// PostUsersWithBodyWithResponse request with any body
	PostUsersWithBodyWithResponse(ctx context.Context, params *PostUsersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersResponse, error)

	PostUsersWithResponse(ctx context.Context, params *PostUsersParams, body PostUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersResponse, error)

	// DeleteUsersUserIdWithResponse request
	DeleteUsersUserIdWithResponse(ctx context.Context, userId string, params *DeleteUsersUserIdParams, reqEditors ...RequestEditorFn) (*DeleteUsersUserIdResponse, error)

	// GetUsersUserIdWithResponse request
	GetUsersUserIdWithResponse(ctx context.Context, userId string, params *GetUsersUserIdParams, reqEditors ...RequestEditorFn) (*GetUsersUserIdResponse, error)

	// PatchUsersUserIdWithBodyWithResponse request with any body
	PatchUsersUserIdWithBodyWithResponse(ctx context.Context, userId string, params *PatchUsersUserIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUsersUserIdResponse, error)

	PatchUsersUserIdWithResponse(ctx context.Context, userId string, params *PatchUsersUserIdParams, body PatchUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUsersUserIdResponse, error)

	// PutUsersUserIdWithBodyWithResponse request with any body
	PutUsersUserIdWithBodyWithResponse(ctx context.Context, userId string, params *PutUsersUserIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUsersUserIdResponse, error)

	PutUsersUserIdWithResponse(ctx context.Context, userId string, params *PutUsersUserIdParams, body PutUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUsersUserIdResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CompanyCard

type CompanyCard struct {
	// AccountReference The card's account reference.
	AccountReference string `json:"accountReference"`

	// CardReference The external reference to the company card.
	CardReference *string `json:"cardReference"`

	// Currency The card's currency, ISO code.
	Currency string `json:"currency"`

	// Description The card's description.
	Description *string `json:"description"`

	// Id The company card's internal id.
	Id *string `json:"id,omitempty"`

	// Name The card's name.
	Name string `json:"name"`

	// Number The card number. Any string can be supplied, only the last four characters, padded with stars, will be returned. Queries can only be made using the 'endswith' operator on four or less characters, e.g. 'number ew "1234"'.
	Number string `json:"number"`

	// OwnerId The internal user id identifying the card's owner.
	OwnerId string `json:"ownerId"`

	// StatusActive Whether the card is active.
	StatusActive bool `json:"statusActive"`
}

CompanyCard defines model for CompanyCard.

type CostCenter

type CostCenter struct {
	// ApprovalLimit Approval limit in legal entity currency.
	ApprovalLimit interface{} `json:"approvalLimit,string"`

	// ApproverId The internal user id identifying the cost center's approver.
	ApproverId *string `json:"approverId"`

	// AutoApprovalLimit Auto approval limit in legal entity currency.
	AutoApprovalLimit *float32 `json:"autoApprovalLimit"`

	// Code The account number associated to the cost center.
	Code string `json:"code"`

	// CustomInformation Dictionary of custom information associated to the cost center.
	CustomInformation *map[string]string `json:"customInformation"`

	// DelegateExpiry The expiry date and time of the cost center's delegate.
	DelegateExpiry *string `json:"delegateExpiry"`

	// DelegateId The internal user id identifying the cost center's delegate.
	DelegateId *string `json:"delegateId"`

	// Description The cost center's description.
	Description string `json:"description"`

	// Id The cost center's internal id.
	Id *string `json:"id,omitempty"`

	// Name The cost center's clear name.
	Name string `json:"name"`

	// ParentId The internal cost center id identifying the cost center's parent.
	ParentId *string `json:"parentId"`

	// StatusActive Whether the cost center is active.
	StatusActive bool `json:"statusActive"`
}

CostCenter defines model for CostCenter.

type CostCenterItem

type CostCenterItem struct {
	// Id Yokoy's internal reference of the cost center/cost object.
	Id *string `json:"id,omitempty"`

	// PctWeight Cost percentage assigned to the dedicated cost center/cost object.
	PctWeight *float32 `json:"pctWeight,omitempty"`
}

CostCenterItem defines model for CostCenterItem.

type DateRange

type DateRange = []openapi_types.Date

DateRange defines model for DateRange.

type DateString

type DateString = openapi_types.Date

DateString defines model for DateString.

type DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams

type DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams defines parameters for DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterId.

type DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

type DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

func ParseDeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse(rsp *http.Response) (*DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

ParseDeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse parses an HTTP response from a DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse call

func (DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteLegalEntitiesLegalEntityIdTagsTagIdParams

type DeleteLegalEntitiesLegalEntityIdTagsTagIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

DeleteLegalEntitiesLegalEntityIdTagsTagIdParams defines parameters for DeleteLegalEntitiesLegalEntityIdTagsTagId.

type DeleteLegalEntitiesLegalEntityIdTagsTagIdResponse

type DeleteLegalEntitiesLegalEntityIdTagsTagIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteLegalEntitiesLegalEntityIdTagsTagIdResponse

func ParseDeleteLegalEntitiesLegalEntityIdTagsTagIdResponse(rsp *http.Response) (*DeleteLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

ParseDeleteLegalEntitiesLegalEntityIdTagsTagIdResponse parses an HTTP response from a DeleteLegalEntitiesLegalEntityIdTagsTagIdWithResponse call

func (DeleteLegalEntitiesLegalEntityIdTagsTagIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteLegalEntitiesLegalEntityIdTagsTagIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteUsersUserIdParams

type DeleteUsersUserIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

DeleteUsersUserIdParams defines parameters for DeleteUsersUserId.

type DeleteUsersUserIdResponse

type DeleteUsersUserIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteUsersUserIdResponse

func ParseDeleteUsersUserIdResponse(rsp *http.Response) (*DeleteUsersUserIdResponse, error)

ParseDeleteUsersUserIdResponse parses an HTTP response from a DeleteUsersUserIdWithResponse call

func (DeleteUsersUserIdResponse) Status

func (r DeleteUsersUserIdResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteUsersUserIdResponse) StatusCode

func (r DeleteUsersUserIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EchoRouter

type EchoRouter interface {
	CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
}

This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration

type Error

type Error struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

Error defines model for Error.

type EventLogEntry

type EventLogEntry struct {
	// ActionType Event type.
	ActionType *EventLogEntryActionType `json:"actionType,omitempty"`

	// Comment comment provided by the user conducting the event.
	Comment *string `json:"comment,omitempty"`

	// Name Name of the user that conducted the event
	Name *string `json:"name"`

	// Timestamp Datetime of the event
	Timestamp *string `json:"timestamp,omitempty"`

	// UserId The internal user id
	UserId *string `json:"userId"`
}

EventLogEntry defines model for EventLogEntry.

type EventLogEntryActionType

type EventLogEntryActionType string

EventLogEntryActionType Event type.

const (
	EventLogEntryActionTypeApprove         EventLogEntryActionType = "approve"
	EventLogEntryActionTypeArchive         EventLogEntryActionType = "archive"
	EventLogEntryActionTypeBackToReview    EventLogEntryActionType = "backToReview"
	EventLogEntryActionTypeExport          EventLogEntryActionType = "export"
	EventLogEntryActionTypeExportReverted  EventLogEntryActionType = "exportReverted"
	EventLogEntryActionTypeForwardApproval EventLogEntryActionType = "forwardApproval"
	EventLogEntryActionTypeImported        EventLogEntryActionType = "imported"
	EventLogEntryActionTypeNeedsRevision   EventLogEntryActionType = "needsRevision"
	EventLogEntryActionTypeRecall          EventLogEntryActionType = "recall"
	EventLogEntryActionTypeReject          EventLogEntryActionType = "reject"
	EventLogEntryActionTypeRevertExport    EventLogEntryActionType = "revertExport"
	EventLogEntryActionTypeReview          EventLogEntryActionType = "review"
	EventLogEntryActionTypeSubmit          EventLogEntryActionType = "submit"
)

Defines values for EventLogEntryActionType.

type Expense

type Expense struct {
	// AdditionalCharges Additional charges to be added to the total amount (example - tip, personal card fees, foreign exchange conversion fees).
	AdditionalCharges *float32 `json:"additionalCharges"`

	// ApproverIds List of users that have approved the expense
	ApproverIds *[]string `json:"approverIds,omitempty"`

	// CategoryId The internal category id (primary/first category tagged in the expense)
	CategoryId      *string           `json:"categoryId"`
	CostCenterItems *[]CostCenterItem `json:"costCenterItems"`

	// Country Country where expense occurred as ISO3166 Alpha-2 code
	Country *string `json:"country,omitempty"`

	// Created Datetime when the expense was created
	Created *string `json:"created,omitempty"`

	// Currency Original expense currency as ISO4217 country currency code
	Currency *string `json:"currency,omitempty"`

	// CurrentAproverIds List of users that currently need to approve the expense
	CurrentAproverIds *[]string `json:"currentAproverIds,omitempty"`

	// CustomInformation Dictionary of custom information associated to the expense.
	CustomInformation *map[string]string `json:"customInformation"`

	// Description Description including business purpose (free text descriptions added by users).
	Description *string          `json:"description,omitempty"`
	EventLog    *[]EventLogEntry `json:"eventLog"`

	// ExpenseDate Date when the expense occurred (date on receipt or invoice).
	ExpenseDate *string `json:"expenseDate,omitempty"`

	// ExpenseEndDate End date of an expense related to an extended stay (e.g. hotel stay, flight).
	ExpenseEndDate *string `json:"expenseEndDate,omitempty"`

	// ExpenseStartDate Start date of an expense related to an extended stay (e.g. hotel stay, flight).
	ExpenseStartDate *string `json:"expenseStartDate,omitempty"`

	// ExpenseType Expense type.
	ExpenseType *ExpenseExpenseType `json:"expenseType,omitempty"`

	// Id The expense's internal id.
	Id *string `json:"id,omitempty"`

	// IsCreditNote Returns true if the expense is a credit note (equivalent to negative expense amount)
	IsCreditNote *bool `json:"isCreditNote"`

	// LastModified Datetime when the expense was last modified
	LastModified *string `json:"lastModified,omitempty"`

	// LegalEntityId The internal legal entity id identifying the legal entity to which the expense is assigned
	LegalEntityId *string `json:"legalEntityId,omitempty"`

	// PaymentMethod Expense payment method.
	PaymentMethod *ExpensePaymentMethod `json:"paymentMethod,omitempty"`

	// PostingDate Date when expense is or shall be posted to the general ledger.
	PostingDate *string `json:"postingDate,omitempty"`

	// Status Expense status.
	Status ExpenseStatus `json:"status"`

	// Tags The tags associated with the expense
	Tags     *map[string]string `json:"tags"`
	TaxItems *[]TaxItem         `json:"taxItems"`

	// TaxNumber Merchant tax number extracted from the expense/invoice.
	TaxNumber *string `json:"taxNumber,omitempty"`

	// TotalAmount Expense amount in original expense currency (excluding additional charges)
	TotalAmount *float32 `json:"totalAmount"`

	// TotalClaim Total claim in original expense currency (including additional charges)
	TotalClaim *float32 `json:"totalClaim"`

	// TripId The internal trip id (primary/first category tagged in the expense)
	TripId *string `json:"tripId"`

	// UserId The internal user id
	UserId *string `json:"userId"`
}

Expense defines model for Expense.

type ExpenseExpenseType

type ExpenseExpenseType string

ExpenseExpenseType Expense type.

const (
	Mileage     ExpenseExpenseType = "mileage"
	PerDiem     ExpenseExpenseType = "perDiem"
	Receipt     ExpenseExpenseType = "receipt"
	Receiptless ExpenseExpenseType = "receiptless"
)

Defines values for ExpenseExpenseType.

type ExpenseExportTaskInformation

type ExpenseExportTaskInformation struct {
	Resource *struct {
		// Created Datetime when the export was triggered.
		Created *string `json:"created,omitempty"`

		// EarliestPostingDate Earliest allowed posting date specified for the export.
		EarliestPostingDate *string `json:"earliestPostingDate,omitempty"`

		// ExporterId The user's internal id on behalf of which the export was executed.
		ExporterId *string `json:"exporterId,omitempty"`

		// ExporterName The user's name last name on behalf of which the export was executed.
		ExporterName *string `json:"exporterName,omitempty"`

		// FacilityId Internal id of the export facility (corresponding to the expense type).
		FacilityId *ExpenseExportTaskInformationResourceFacilityId `json:"facilityId,omitempty"`

		// GeneratedFiles List of file names of additional files generated in the context of the export.
		GeneratedFiles *[]string `json:"generatedFiles,omitempty"`

		// Id Export task id.
		Id *string `json:"id,omitempty"`

		// IsPending Whether the export job is still pending
		IsPending *bool `json:"isPending,omitempty"`

		// Method Triggering method for the export.
		Method *ExpenseExportTaskInformationResourceMethod `json:"method,omitempty"`
	} `json:"resource,omitempty"`
}

ExpenseExportTaskInformation defines model for ExpenseExportTaskInformation.

type ExpenseExportTaskInformationResourceFacilityId

type ExpenseExportTaskInformationResourceFacilityId string

ExpenseExportTaskInformationResourceFacilityId Internal id of the export facility (corresponding to the expense type).

const (
	ExpenseExportTaskInformationResourceFacilityIdCard    ExpenseExportTaskInformationResourceFacilityId = "card"
	ExpenseExportTaskInformationResourceFacilityIdExpense ExpenseExportTaskInformationResourceFacilityId = "expense"
	ExpenseExportTaskInformationResourceFacilityIdTravel  ExpenseExportTaskInformationResourceFacilityId = "travel"
)

Defines values for ExpenseExportTaskInformationResourceFacilityId.

type ExpenseExportTaskInformationResourceMethod

type ExpenseExportTaskInformationResourceMethod string

ExpenseExportTaskInformationResourceMethod Triggering method for the export.

const (
	ExpenseExportTaskInformationResourceMethodApi       ExpenseExportTaskInformationResourceMethod = "api"
	ExpenseExportTaskInformationResourceMethodAutomatic ExpenseExportTaskInformationResourceMethod = "automatic"
	ExpenseExportTaskInformationResourceMethodManual    ExpenseExportTaskInformationResourceMethod = "manual"
)

Defines values for ExpenseExportTaskInformationResourceMethod.

type ExpensePaymentMethod

type ExpensePaymentMethod string

ExpensePaymentMethod Expense payment method.

const (
	CompanyCreditCard ExpensePaymentMethod = "companyCreditCard"
	PaidPrivately     ExpensePaymentMethod = "paidPrivately"
	TravelProvider    ExpensePaymentMethod = "travelProvider"
)

Defines values for ExpensePaymentMethod.

type ExpenseStatus

type ExpenseStatus string

ExpenseStatus Expense status.

const (
	ExpenseStatusDraft                  ExpenseStatus = "draft"
	ExpenseStatusExpenseExported        ExpenseStatus = "expenseExported"
	ExpenseStatusForApproval            ExpenseStatus = "forApproval"
	ExpenseStatusForExpenseExport       ExpenseStatus = "forExpenseExport"
	ExpenseStatusForReview              ExpenseStatus = "forReview"
	ExpenseStatusForTransactionExport   ExpenseStatus = "forTransactionExport"
	ExpenseStatusNeedsRevision          ExpenseStatus = "needsRevision"
	ExpenseStatusReadyForTripSubmission ExpenseStatus = "readyForTripSubmission"
	ExpenseStatusRejected               ExpenseStatus = "rejected"
	ExpenseStatusTransactionExported    ExpenseStatus = "transactionExported"
	ExpenseStatusTravelDraft            ExpenseStatus = "travelDraft"
)

Defines values for ExpenseStatus.

type Forbidden

type Forbidden = Error

Forbidden defines model for Forbidden.

type GetExpensesExpenseIdParams

type GetExpensesExpenseIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetExpensesExpenseIdParams defines parameters for GetExpensesExpenseId.

type GetExpensesExpenseIdResponse

type GetExpensesExpenseIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Expense
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetExpensesExpenseIdResponse

func ParseGetExpensesExpenseIdResponse(rsp *http.Response) (*GetExpensesExpenseIdResponse, error)

ParseGetExpensesExpenseIdResponse parses an HTTP response from a GetExpensesExpenseIdWithResponse call

func (GetExpensesExpenseIdResponse) Status

Status returns HTTPResponse.Status

func (GetExpensesExpenseIdResponse) StatusCode

func (r GetExpensesExpenseIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetExpensesParams

type GetExpensesParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetExpensesParams defines parameters for GetExpenses.

type GetExpensesResponse

type GetExpensesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Expenses *[]Expense `json:"expenses,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetExpensesResponse

func ParseGetExpensesResponse(rsp *http.Response) (*GetExpensesResponse, error)

ParseGetExpensesResponse parses an HTTP response from a GetExpensesWithResponse call

func (GetExpensesResponse) Status

func (r GetExpensesResponse) Status() string

Status returns HTTPResponse.Status

func (GetExpensesResponse) StatusCode

func (r GetExpensesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdCategoriesCategoryIdParams

type GetLegalEntitiesLegalEntityIdCategoriesCategoryIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdCategoriesCategoryIdParams defines parameters for GetLegalEntitiesLegalEntityIdCategoriesCategoryId.

type GetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse

type GetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Category
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse

func ParseGetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdCategoriesCategoryIdWithResponse call

func (GetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdCategoriesParams

type GetLegalEntitiesLegalEntityIdCategoriesParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdCategoriesParams defines parameters for GetLegalEntitiesLegalEntityIdCategories.

type GetLegalEntitiesLegalEntityIdCategoriesResponse

type GetLegalEntitiesLegalEntityIdCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Categories *[]Category `json:"categories,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdCategoriesResponse

func ParseGetLegalEntitiesLegalEntityIdCategoriesResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdCategoriesResponse, error)

ParseGetLegalEntitiesLegalEntityIdCategoriesResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdCategoriesWithResponse call

func (GetLegalEntitiesLegalEntityIdCategoriesResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdCategoriesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams

type GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams defines parameters for GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId.

type GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse

type GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CompanyCard
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse

func ParseGetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithResponse call

func (GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdCompanyCardsParams

type GetLegalEntitiesLegalEntityIdCompanyCardsParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdCompanyCardsParams defines parameters for GetLegalEntitiesLegalEntityIdCompanyCards.

type GetLegalEntitiesLegalEntityIdCompanyCardsResponse

type GetLegalEntitiesLegalEntityIdCompanyCardsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CompanyCards *[]CompanyCard `json:"companyCards,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdCompanyCardsResponse

func ParseGetLegalEntitiesLegalEntityIdCompanyCardsResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdCompanyCardsResponse, error)

ParseGetLegalEntitiesLegalEntityIdCompanyCardsResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdCompanyCardsWithResponse call

func (GetLegalEntitiesLegalEntityIdCompanyCardsResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdCompanyCardsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams

type GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams defines parameters for GetLegalEntitiesLegalEntityIdCostCentersCostCenterId.

type GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

type GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CostCenter
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

func ParseGetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse call

func (GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdCostCentersParams

type GetLegalEntitiesLegalEntityIdCostCentersParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdCostCentersParams defines parameters for GetLegalEntitiesLegalEntityIdCostCenters.

type GetLegalEntitiesLegalEntityIdCostCentersResponse

type GetLegalEntitiesLegalEntityIdCostCentersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CostCenters *[]CostCenter `json:"costCenters,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdCostCentersResponse

func ParseGetLegalEntitiesLegalEntityIdCostCentersResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdCostCentersResponse, error)

ParseGetLegalEntitiesLegalEntityIdCostCentersResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdCostCentersWithResponse call

func (GetLegalEntitiesLegalEntityIdCostCentersResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdCostCentersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsParams

type GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsParams struct {
	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsParams defines parameters for GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefacts.

type GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse

type GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse

func ParseGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse, error)

ParseGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsWithResponse call

func (GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdParams

type GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdParams struct {
	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdParams defines parameters for GetLegalEntitiesLegalEntityIdExportTasksExportTaskId.

type GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse

type GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse

func ParseGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdWithResponse call

func (GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams

type GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams defines parameters for GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId.

type GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse

type GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InvoiceCategory
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse

func ParseGetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoiceCategoriesParams

type GetLegalEntitiesLegalEntityIdInvoiceCategoriesParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoiceCategoriesParams defines parameters for GetLegalEntitiesLegalEntityIdInvoiceCategories.

type GetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse

type GetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		InvoiceCategories *[]InvoiceCategory `json:"invoice-categories,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse

func ParseGetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoiceCategoriesWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoiceCategoriesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams

type GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams defines parameters for GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId.

type GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse

type GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GoodsReceipt
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse

func ParseGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams

type GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams defines parameters for GetLegalEntitiesLegalEntityIdInvoiceGoodsReceipts.

type GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse

type GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		InvoiceGoodsReceipts *[]GoodsReceipt `json:"invoice-goods-receipts,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse

func ParseGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoicePaymentTermsParams

type GetLegalEntitiesLegalEntityIdInvoicePaymentTermsParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoicePaymentTermsParams defines parameters for GetLegalEntitiesLegalEntityIdInvoicePaymentTerms.

type GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams

type GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams defines parameters for GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId.

type GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse

type GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InvoicePaymentTerms
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse

func ParseGetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse

type GetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		InvoicePaymentTerms *[]InvoicePaymentTerms `json:"invoice-payment-terms,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse

func ParseGetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoicePaymentTermsWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams

type GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams defines parameters for GetLegalEntitiesLegalEntityIdInvoicePurchaseOrders.

type GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams

type GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams defines parameters for GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId.

type GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse

type GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PurchaseOrder
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse

func ParseGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse

type GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		InvoicePurchaseOrders *[]PurchaseOrder `json:"invoice-purchase-orders,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse

func ParseGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdParams

type GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdParams defines parameters for GetLegalEntitiesLegalEntityIdInvoicesInvoiceId.

type GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationParams

type GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationParams defines parameters for GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentation.

type GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse

type GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse

func ParseGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse

type GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invoice
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse

func ParseGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdInvoicesParams

type GetLegalEntitiesLegalEntityIdInvoicesParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdInvoicesParams defines parameters for GetLegalEntitiesLegalEntityIdInvoices.

type GetLegalEntitiesLegalEntityIdInvoicesResponse

type GetLegalEntitiesLegalEntityIdInvoicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Invoices *[]Invoice `json:"invoices,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdInvoicesResponse

func ParseGetLegalEntitiesLegalEntityIdInvoicesResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdInvoicesResponse, error)

ParseGetLegalEntitiesLegalEntityIdInvoicesResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdInvoicesWithResponse call

func (GetLegalEntitiesLegalEntityIdInvoicesResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdInvoicesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdParams

type GetLegalEntitiesLegalEntityIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdParams defines parameters for GetLegalEntitiesLegalEntityId.

type GetLegalEntitiesLegalEntityIdPoliciesParams

type GetLegalEntitiesLegalEntityIdPoliciesParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdPoliciesParams defines parameters for GetLegalEntitiesLegalEntityIdPolicies.

type GetLegalEntitiesLegalEntityIdPoliciesPolicyIdParams

type GetLegalEntitiesLegalEntityIdPoliciesPolicyIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdPoliciesPolicyIdParams defines parameters for GetLegalEntitiesLegalEntityIdPoliciesPolicyId.

type GetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse

type GetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Policy
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse

func ParseGetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdPoliciesPolicyIdWithResponse call

func (GetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdPoliciesResponse

type GetLegalEntitiesLegalEntityIdPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Policies *[]Policy `json:"policies,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdPoliciesResponse

func ParseGetLegalEntitiesLegalEntityIdPoliciesResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdPoliciesResponse, error)

ParseGetLegalEntitiesLegalEntityIdPoliciesResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdPoliciesWithResponse call

func (GetLegalEntitiesLegalEntityIdPoliciesResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdPoliciesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdResponse

type GetLegalEntitiesLegalEntityIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LegalEntity
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdResponse

func ParseGetLegalEntitiesLegalEntityIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdWithResponse call

func (GetLegalEntitiesLegalEntityIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdSuppliersParams

type GetLegalEntitiesLegalEntityIdSuppliersParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdSuppliersParams defines parameters for GetLegalEntitiesLegalEntityIdSuppliers.

type GetLegalEntitiesLegalEntityIdSuppliersResponse

type GetLegalEntitiesLegalEntityIdSuppliersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Suppliers *[]Supplier `json:"suppliers,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdSuppliersResponse

func ParseGetLegalEntitiesLegalEntityIdSuppliersResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdSuppliersResponse, error)

ParseGetLegalEntitiesLegalEntityIdSuppliersResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdSuppliersWithResponse call

func (GetLegalEntitiesLegalEntityIdSuppliersResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdSuppliersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdSuppliersSupplierIdParams

type GetLegalEntitiesLegalEntityIdSuppliersSupplierIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdSuppliersSupplierIdParams defines parameters for GetLegalEntitiesLegalEntityIdSuppliersSupplierId.

type GetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse

type GetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Supplier
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse

func ParseGetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdSuppliersSupplierIdWithResponse call

func (GetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdTagsParams

type GetLegalEntitiesLegalEntityIdTagsParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdTagsParams defines parameters for GetLegalEntitiesLegalEntityIdTags.

type GetLegalEntitiesLegalEntityIdTagsResponse

type GetLegalEntitiesLegalEntityIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Tags *[]Tag `json:"tags,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdTagsResponse

func ParseGetLegalEntitiesLegalEntityIdTagsResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdTagsResponse, error)

ParseGetLegalEntitiesLegalEntityIdTagsResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdTagsWithResponse call

func (GetLegalEntitiesLegalEntityIdTagsResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdTagsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdTagsTagIdParams

type GetLegalEntitiesLegalEntityIdTagsTagIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdTagsTagIdParams defines parameters for GetLegalEntitiesLegalEntityIdTagsTagId.

type GetLegalEntitiesLegalEntityIdTagsTagIdResponse

type GetLegalEntitiesLegalEntityIdTagsTagIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Tag
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdTagsTagIdResponse

func ParseGetLegalEntitiesLegalEntityIdTagsTagIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdTagsTagIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdTagsTagIdWithResponse call

func (GetLegalEntitiesLegalEntityIdTagsTagIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdTagsTagIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdTaxRatesParams

type GetLegalEntitiesLegalEntityIdTaxRatesParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdTaxRatesParams defines parameters for GetLegalEntitiesLegalEntityIdTaxRates.

type GetLegalEntitiesLegalEntityIdTaxRatesResponse

type GetLegalEntitiesLegalEntityIdTaxRatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		TaxRates *[]TaxRate `json:"taxRates,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdTaxRatesResponse

func ParseGetLegalEntitiesLegalEntityIdTaxRatesResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdTaxRatesResponse, error)

ParseGetLegalEntitiesLegalEntityIdTaxRatesResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdTaxRatesWithResponse call

func (GetLegalEntitiesLegalEntityIdTaxRatesResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdTaxRatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams

type GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams defines parameters for GetLegalEntitiesLegalEntityIdTaxRatesTaxRateId.

type GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse

type GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaxRate
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse

func ParseGetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse(rsp *http.Response) (*GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

ParseGetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse parses an HTTP response from a GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithResponse call

func (GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse) Status

Status returns HTTPResponse.Status

func (GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLegalEntitiesParams

type GetLegalEntitiesParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetLegalEntitiesParams defines parameters for GetLegalEntitiesa

type GetLegalEntitiesResponse

type GetLegalEntitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		LegalEntities *[]LegalEntity `json:"legalEntities,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetLegalEntitiesResponse

func ParseGetLegalEntitiesResponse(rsp *http.Response) (*GetLegalEntitiesResponse, error)

ParseGetLegalEntitiesResponse parses an HTTP response from a GetLegalEntitiesWithResponse call

func (GetLegalEntitiesResponse) Status

func (r GetLegalEntitiesResponse) Status() string

Status returns HTTPResponse.Status

func (GetLegalEntitiesResponse) StatusCode

func (r GetLegalEntitiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSuppliersParams

type GetSuppliersParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetSuppliersParams defines parameters for GetSuppliers.

type GetSuppliersResponse

type GetSuppliersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		OrganizationSuppliers *[]OrganizationSupplier `json:"organization-suppliers,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetSuppliersResponse

func ParseGetSuppliersResponse(rsp *http.Response) (*GetSuppliersResponse, error)

ParseGetSuppliersResponse parses an HTTP response from a GetSuppliersWithResponse call

func (GetSuppliersResponse) Status

func (r GetSuppliersResponse) Status() string

Status returns HTTPResponse.Status

func (GetSuppliersResponse) StatusCode

func (r GetSuppliersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSuppliersSupplierIdParams

type GetSuppliersSupplierIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetSuppliersSupplierIdParams defines parameters for GetSuppliersSupplierId.

type GetSuppliersSupplierIdResponse

type GetSuppliersSupplierIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationSupplier
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetSuppliersSupplierIdResponse

func ParseGetSuppliersSupplierIdResponse(rsp *http.Response) (*GetSuppliersSupplierIdResponse, error)

ParseGetSuppliersSupplierIdResponse parses an HTTP response from a GetSuppliersSupplierIdWithResponse call

func (GetSuppliersSupplierIdResponse) Status

Status returns HTTPResponse.Status

func (GetSuppliersSupplierIdResponse) StatusCode

func (r GetSuppliersSupplierIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTripsParams

type GetTripsParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetTripsParams defines parameters for GetTrips.

type GetTripsResponse

type GetTripsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Trips *[]Trip `json:"trips,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetTripsResponse

func ParseGetTripsResponse(rsp *http.Response) (*GetTripsResponse, error)

ParseGetTripsResponse parses an HTTP response from a GetTripsWithResponse call

func (GetTripsResponse) Status

func (r GetTripsResponse) Status() string

Status returns HTTPResponse.Status

func (GetTripsResponse) StatusCode

func (r GetTripsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTripsTripIdParams

type GetTripsTripIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetTripsTripIdParams defines parameters for GetTripsTripId.

type GetTripsTripIdResponse

type GetTripsTripIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Trip
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetTripsTripIdResponse

func ParseGetTripsTripIdResponse(rsp *http.Response) (*GetTripsTripIdResponse, error)

ParseGetTripsTripIdResponse parses an HTTP response from a GetTripsTripIdWithResponse call

func (GetTripsTripIdResponse) Status

func (r GetTripsTripIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetTripsTripIdResponse) StatusCode

func (r GetTripsTripIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsersParams

type GetUsersParams struct {
	// Filter A filter string in the form defined in the [scim specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2).
	Filter        *string `form:"filter,omitempty" json:"filter,omitempty"`
	XYkAuthMethod string  `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetUsersParams defines parameters for GetUsers.

type GetUsersResponse

type GetUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Users *[]User `json:"users,omitempty"`
	}
	JSON400 *Error
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON429 *TooManyRequests
}

func ParseGetUsersResponse

func ParseGetUsersResponse(rsp *http.Response) (*GetUsersResponse, error)

ParseGetUsersResponse parses an HTTP response from a GetUsersWithResponse call

func (GetUsersResponse) Status

func (r GetUsersResponse) Status() string

Status returns HTTPResponse.Status

func (GetUsersResponse) StatusCode

func (r GetUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsersUserIdParams

type GetUsersUserIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

GetUsersUserIdParams defines parameters for GetUsersUserId.

type GetUsersUserIdResponse

type GetUsersUserIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseGetUsersUserIdResponse

func ParseGetUsersUserIdResponse(rsp *http.Response) (*GetUsersUserIdResponse, error)

ParseGetUsersUserIdResponse parses an HTTP response from a GetUsersUserIdWithResponse call

func (GetUsersUserIdResponse) Status

func (r GetUsersUserIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetUsersUserIdResponse) StatusCode

func (r GetUsersUserIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GoodsReceipt

type GoodsReceipt struct {
	// Amount The goods receipt's amount. Calculated from the inner items.
	Amount *float32 `json:"amount,omitempty"`

	// Currency The goods receipt's currency
	Currency string `json:"currency"`

	// ExternalId The goods receipt's external id.
	ExternalId *string `json:"externalId"`

	// GoodsReceiptNumber The goods receipt number.
	GoodsReceiptNumber string `json:"goodsReceiptNumber"`

	// Id The goods receipt's internal id.
	Id          *string            `json:"id,omitempty"`
	Items       []GoodsReceiptItem `json:"items"`
	PostingDate *DateString        `json:"postingDate,omitempty"`
}

GoodsReceipt defines model for GoodsReceipt.

type GoodsReceiptItem

type GoodsReceiptItem struct {
	// Amount The goods receipt items's amount.
	Amount float32 `json:"amount"`

	// ExternalId The goods receipt item's externalId.
	ExternalId *string `json:"externalId"`

	// Id The goods receipt item's internal id.
	// For new items, the system will generate the ID. For existing items, you can reference that id.
	Id *string `json:"id,omitempty"`

	// ItemNumber The goods receipt item's number.
	ItemNumber *string `json:"itemNumber"`

	// ItemPrice The item's per item price.
	ItemPrice *float32 `json:"itemPrice"`

	// PurchaseOrderId The yokoy purchaseOrder identifier associated with the line item
	PurchaseOrderId string `json:"purchaseOrderId"`

	// PurchaseOrderItemId The yokoy purchaseOrderItem identifier associated with the line item
	PurchaseOrderItemId string `json:"purchaseOrderItemId"`

	// Quantity The goods receipt item's quantity.
	Quantity *float32 `json:"quantity,omitempty"`

	// StatusActive Whether the goods receipt is active.
	StatusActive bool `json:"statusActive"`

	// Unit The unit of the line item
	Unit *string `json:"unit"`
}

GoodsReceiptItem defines model for GoodsReceiptItem.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Invoice

type Invoice struct {
	BankAccount *InvoiceBankAccount `json:"paymentInformation,omitempty"`

	// Country The invoice's country alpha 2 code as defined in in the ISO3166-1 standard
	Country *string `json:"country,omitempty"`

	// Currency The invoice's currency
	Currency *string `json:"currency,omitempty"`

	// CustomInformation Dictionary of custom information associated with the invoice.
	CustomInformation *map[string]string `json:"customInformation"`
	Date              *DateString        `json:"date,omitempty"`

	// DocumentData A base64 encoded string of the document related to the invoice.
	// This document will be uploaded and linked to the invoice.
	// However, the document will not be analyzed by the AI.
	// The document must be a PDF.
	DocumentData *string `json:"documentData,omitempty"`

	// GrossAmount The invoice's gross amount, aggregated from the invoice's line items
	GrossAmount *float32 `json:"grossAmount,omitempty"`

	// Id The invoice's internal id.
	Id *string `json:"id,omitempty"`

	// InvoiceNumber The invoice's number
	InvoiceNumber string `json:"invoiceNumber"`

	// IsCreditNote Whether or not the invoice is a credit note
	IsCreditNote *bool             `json:"isCreditNote"`
	LineItems    []InvoiceLineItem `json:"lineItems"`

	// NetAmount The invoices net amount, aggregated from the invoice's line items
	NetAmount *float32 `json:"netAmount,omitempty"`

	// PaymentTermId The yokoy identifier of the payment terms associated with the invoice
	PaymentTermId *string     `json:"paymentTermId"`
	PostingDate   *DateString `json:"postingDate,omitempty"`

	// PurchaseOrderIds Array of yokoy purchase order identifiers associated with the invoice
	PurchaseOrderIds *[]string `json:"purchaseOrderIds"`

	// ServiceDate The invoice's service date(s). If a single date is passed as a string then it describes that date.
	// Else if two dates are passed then it is considered a range of dates.
	ServiceDate *Invoice_ServiceDate `json:"serviceDate"`

	// Status The invoice's status id. The system manages this and cannot be changed directly.
	Status *InvoiceStatus `json:"status,omitempty"`

	// Submitters List of the user IDs who submitted the invoice or who will be responsible to code the invoice
	Submitters *[]string `json:"submitters"`

	// SupplierId Yokoy - identifier of the entity supplier associated with the invoice
	SupplierId *string `json:"supplierId"`

	// TaxableAmount The invoice's tayable amount, aggregated from the invoice's line items
	TaxableAmount *float32 `json:"taxableAmount"`
}

Invoice defines model for Invoice.

type InvoiceBankAccount

type InvoiceBankAccount struct {
	// BankAccount The bank account number, often used if no IBAN exists
	BankAccount *string `json:"bankAccount"`

	// BankCountry The country of the bank
	BankCountry *string `json:"bankCountry"`

	// BankKey The Bank Key, also called branch code
	BankKey *string `json:"bankKey"`

	// BankNumber The Bank Number, also called bank code
	BankNumber *string `json:"bankNumber"`

	// ExternalId The bank connection's external id in ERP systems
	ExternalId *string `json:"externalId"`

	// Iban The Internal Bank Account Number
	Iban *string `json:"iban"`

	// SwiftCode The Swift code, also called the BIC
	SwiftCode *string `json:"swiftCode"`
}

InvoiceBankAccount defines model for InvoiceBankAccount.

type InvoiceCategory

type InvoiceCategory struct {
	// AccountReference The invoice category's account reference.
	AccountReference string `json:"accountReference"`

	// CustomInformation Dictionary of custom information associated to the category.
	CustomInformation *map[string]string `json:"customInformation"`

	// Description The invoice category's description.
	Description *string `json:"description"`

	// Id The invoice category's internal id.
	Id *string `json:"id,omitempty"`

	// Name The invoice category's name.
	Name string `json:"name"`

	// StatusActive Whether the invoice category is active.
	StatusActive bool `json:"statusActive"`
}

InvoiceCategory defines model for InvoiceCategory.

type InvoiceExportTaskInformation

type InvoiceExportTaskInformation struct {
	Resource *struct {
		// Created Datetime when the export was triggered.
		Created *string `json:"created,omitempty"`

		// EarliestPostingDate Earliest allowed posting date specified for the export.
		EarliestPostingDate *string `json:"earliestPostingDate,omitempty"`

		// ExporterId The user's internal id on behalf of which the export was executed.
		ExporterId *string `json:"exporterId,omitempty"`

		// ExporterName The user's name last name on behalf of which the export was executed.
		ExporterName *string `json:"exporterName,omitempty"`

		// FacilityId Internal id of the export facility.
		FacilityId *string `json:"facilityId,omitempty"`

		// GeneratedFiles List of file names of additional files generated in the context of the export.
		GeneratedFiles *[]string `json:"generatedFiles,omitempty"`

		// Id Export task id.
		Id *string `json:"id,omitempty"`

		// IsPending Whether the export job is still pending
		IsPending *bool `json:"isPending,omitempty"`

		// Method Triggering method for the export.
		Method *InvoiceExportTaskInformationResourceMethod `json:"method,omitempty"`
	} `json:"resource,omitempty"`
}

InvoiceExportTaskInformation defines model for InvoiceExportTaskInformation.

type InvoiceExportTaskInformationResourceMethod

type InvoiceExportTaskInformationResourceMethod string

InvoiceExportTaskInformationResourceMethod Triggering method for the export.

const (
	InvoiceExportTaskInformationResourceMethodApi       InvoiceExportTaskInformationResourceMethod = "api"
	InvoiceExportTaskInformationResourceMethodAutomatic InvoiceExportTaskInformationResourceMethod = "automatic"
	InvoiceExportTaskInformationResourceMethodManual    InvoiceExportTaskInformationResourceMethod = "manual"
)

Defines values for InvoiceExportTaskInformationResourceMethod.

type InvoiceLineItem

type InvoiceLineItem struct {
	// CategoryId Unique yokoy identifier of the invoice category associated with the line item
	CategoryId *string `json:"categoryId"`

	// CostObjectId Unique yokoy identifier of the cost object associated with the line item
	CostObjectId *string `json:"costObjectId"`

	// Description The description amount of the line item
	Description *string `json:"description"`

	// Gross The gross amount of the line item
	Gross float32 `json:"gross"`

	// ItemPrice The item price of the line item
	ItemPrice *float32 `json:"itemPrice"`

	// Net The net amount of the line item
	Net float32 `json:"net"`

	// PurchaseOrderId The yokoy purchaseOrder identifier associated with the line item
	PurchaseOrderId *string `json:"purchaseOrderId"`

	// PurchaseOrderItemId The yokoy purchaseOrderItem identifier associated with the line item
	PurchaseOrderItemId *string `json:"purchaseOrderItemId"`

	// Quantity The quantity of the line item
	Quantity *float32 `json:"quantity"`

	// Tags The tags associated with the line item
	Tags *map[string]string `json:"tags,omitempty"`

	// TaxRateId Unique yokoy identifier of the tax rate associated with the line item
	TaxRateId *string `json:"taxRateId"`

	// Unit The unit of the line item
	Unit *string `json:"unit"`
}

InvoiceLineItem defines model for InvoiceLineItem.

type InvoicePaymentTerms

type InvoicePaymentTerms struct {
	// Discounts List of a discounts if an invoice is payed within a given timeframe
	Discounts *[]struct {
		// Days Days within which the discount will be applicable
		Days *float32 `json:"days,omitempty"`

		// Discount Discount in percent of the invoice (5% == 5)
		Discount *float32 `json:"discount,omitempty"`
	} `json:"discounts"`

	// ExternalId The external reference to the payment term.
	ExternalId *string `json:"externalId"`

	// Id The invoice payment term's internal id.
	Id *string `json:"id,omitempty"`

	// Name The payment term's name.
	Name string `json:"name"`

	// NetPaymentPeriod Describes the duration within which a payment is required in days.
	NetPaymentPeriod float32 `json:"netPaymentPeriod"`
}

InvoicePaymentTerms defines model for InvoicePaymentTerms.

type InvoiceStatus

type InvoiceStatus int

InvoiceStatus The invoice's status id. The system manages this and cannot be changed directly.

type Invoice_ServiceDate

type Invoice_ServiceDate struct {
	// contains filtered or unexported fields
}

Invoice_ServiceDate The invoice's service date(s). If a single date is passed as a string then it describes that date. Else if two dates are passed then it is considered a range of dates.

func (Invoice_ServiceDate) AsDateRange

func (t Invoice_ServiceDate) AsDateRange() (DateRange, error)

AsDateRange returns the union data inside the Invoice_ServiceDate as a DateRange

func (Invoice_ServiceDate) AsDateString

func (t Invoice_ServiceDate) AsDateString() (DateString, error)

AsDateString returns the union data inside the Invoice_ServiceDate as a DateString

func (*Invoice_ServiceDate) FromDateRange

func (t *Invoice_ServiceDate) FromDateRange(v DateRange) error

FromDateRange overwrites any union data inside the Invoice_ServiceDate as the provided DateRange

func (*Invoice_ServiceDate) FromDateString

func (t *Invoice_ServiceDate) FromDateString(v DateString) error

FromDateString overwrites any union data inside the Invoice_ServiceDate as the provided DateString

func (Invoice_ServiceDate) MarshalJSON

func (t Invoice_ServiceDate) MarshalJSON() ([]byte, error)

func (*Invoice_ServiceDate) MergeDateRange

func (t *Invoice_ServiceDate) MergeDateRange(v DateRange) error

MergeDateRange performs a merge with any union data inside the Invoice_ServiceDate, using the provided DateRange

func (*Invoice_ServiceDate) MergeDateString

func (t *Invoice_ServiceDate) MergeDateString(v DateString) error

MergeDateString performs a merge with any union data inside the Invoice_ServiceDate, using the provided DateString

func (*Invoice_ServiceDate) UnmarshalJSON

func (t *Invoice_ServiceDate) UnmarshalJSON(b []byte) error

type LegalEntity

type LegalEntity struct {
	Categories []struct {
		// AccountReference The category's account reference.
		AccountReference string `json:"accountReference"`

		// CustomInformation Dictionary of custom information associated to the category.
		CustomInformation *map[string]string `json:"customInformation"`

		// Id The category's internal id.
		Id *string `json:"id,omitempty"`

		// Name The category's name.
		Name string `json:"name"`

		// StatusActive Whether the category is active.
		StatusActive bool `json:"statusActive"`
	} `json:"categories"`

	// Code The legal entity's account in the ERP system.
	Code string `json:"code"`

	// Id The legal entity's internal id.
	Id *string `json:"id,omitempty"`

	// Language The legal entity's main language.
	Language LegalEntityLanguage `json:"language"`

	// Name The legal entity's name.
	Name     *string `json:"name,omitempty"`
	Policies []struct {
		// Code The policy's code.
		Code string `json:"code"`

		// Id The policy's internal id.
		Id *string `json:"id,omitempty"`

		// Name The policy's name.
		Name string `json:"name"`

		// StatusActive Whether the policy is active.
		StatusActive bool `json:"statusActive"`
	} `json:"policies"`
	TaxRates *[]struct {
		// Code The tax rates's code.
		Code string `json:"code"`

		// CustomInformation Dictionary of custom information associated to the tax rate.
		CustomInformation *map[string]string `json:"customInformation"`

		// Id The tax rate's internal id.
		Id *string `json:"id,omitempty"`

		// Name The tax rates's name.
		Name string `json:"name"`

		// StatusActive Whether the tax rate is active.
		StatusActive bool `json:"statusActive"`
	} `json:"taxRates"`
}

LegalEntity defines model for LegalEntity.

type LegalEntityLanguage

type LegalEntityLanguage string

LegalEntityLanguage The legal entity's main language.

const (
	LegalEntityLanguageDe   LegalEntityLanguage = "de"
	LegalEntityLanguageDeCh LegalEntityLanguage = "de-ch"
	LegalEntityLanguageEn   LegalEntityLanguage = "en"
	LegalEntityLanguageEnGb LegalEntityLanguage = "en-gb"
	LegalEntityLanguageEs   LegalEntityLanguage = "es"
	LegalEntityLanguageFr   LegalEntityLanguage = "fr"
)

Defines values for LegalEntityLanguage.

type LegalEntitySupplier

type LegalEntitySupplier struct {
	CustomInformation *map[string]interface{} `json:"customInformation"`

	// DefaultApproverId The internal Yokoy id of the default approver.
	DefaultApproverId *string `json:"defaultApproverId"`

	// DefaultCategoryId The internal Yokoy id of the default invoice category.
	DefaultCategoryId *string `json:"defaultCategoryId"`

	// DefaultCostCenterId The internal Yokoy id of the default cost center.
	DefaultCostCenterId *string `json:"defaultCostCenterId"`

	// DefaultPaymentTermId The internal Yokoy id of the default payment term.
	DefaultPaymentTermId *string `json:"defaultPaymentTermId"`
	StatusActive         bool    `json:"statusActive"`

	// SupplierId The ID of the organization supplier to extend. Must reference an existing Organization level supplier
	SupplierId string `json:"supplierId"`
}

LegalEntitySupplier defines model for LegalEntitySupplier.

type NotFound

type NotFound = Error

NotFound defines model for NotFound.

type OrganizationSupplier

type OrganizationSupplier struct {
	BankAccounts *[]InvoiceBankAccount `json:"bankAccounts"`

	// City The supplier's city.
	City     *string            `json:"city"`
	Contacts *[]SupplierContact `json:"contacts"`

	// CountryCode The supplier's country (ISO code).
	CountryCode       *string                 `json:"countryCode"`
	CustomInformation *map[string]interface{} `json:"customInformation"`

	// ExternalId The supplier's external identifier. This must be unique within an organization and cannot be changed after creation
	ExternalId string `json:"externalId"`

	// Id The supplier's internal id.
	Id *string `json:"id,omitempty"`

	// Name The supplier's clear name.
	Name string `json:"name"`

	// SecondaryName The supplier's name addition.
	SecondaryName *string `json:"secondaryName"`

	// ShortName The supplier's short name for display.
	ShortName    *string `json:"shortName"`
	StatusActive bool    `json:"statusActive"`

	// Street The supplier's street.
	Street *string `json:"street"`

	// TaxNumber The supplier's official tax number.
	TaxNumber *string `json:"taxNumber"`

	// Url The supplier's web site.
	Url *string `json:"url"`

	// ZipCode The supplier's zip code.
	ZipCode *string `json:"zipCode"`
}

OrganizationSupplier defines model for OrganizationSupplier.

type PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONBody

type PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONBody map[string]interface{}

PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONBody defines parameters for PatchLegalEntitiesLegalEntityIdCategoriesCategoryId.

type PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONBody

PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdCategoriesCategoryId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams

type PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams defines parameters for PatchLegalEntitiesLegalEntityIdCategoriesCategoryId.

type PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse

type PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Category
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse

func ParsePatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONBody

type PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONBody map[string]interface{}

PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONBody defines parameters for PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId.

type PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONBody

PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams

type PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams defines parameters for PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId.

type PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse

type PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CompanyCard
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse

func ParsePatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONBody

type PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONBody map[string]interface{}

PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONBody defines parameters for PatchLegalEntitiesLegalEntityIdCostCentersCostCenterId.

type PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONBody

PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdCostCentersCostCenterId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams

type PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams defines parameters for PatchLegalEntitiesLegalEntityIdCostCentersCostCenterId.

type PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

type PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CostCenter
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

func ParsePatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONBody

type PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONBody map[string]interface{}

PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONBody defines parameters for PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId.

type PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONBody

PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams

type PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams defines parameters for PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId.

type PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse

type PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InvoiceCategory
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse

func ParsePatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONBody

type PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONBody map[string]interface{}

PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONBody defines parameters for PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId.

type PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONBody

PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams

type PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams defines parameters for PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId.

type PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse

type PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GoodsReceipt
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse

func ParsePatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONBody

type PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONBody map[string]interface{}

PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONBody defines parameters for PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId.

type PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONBody

PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams

type PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams defines parameters for PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId.

type PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse

type PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InvoicePaymentTerms
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse

func ParsePatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONBody

type PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONBody map[string]interface{}

PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONBody defines parameters for PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId.

type PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONBody

PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams

type PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams defines parameters for PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId.

type PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse

type PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PurchaseOrder
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse

func ParsePatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONBody

type PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONBody map[string]interface{}

PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONBody defines parameters for PatchLegalEntitiesLegalEntityIdPoliciesPolicyId.

type PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONBody

PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdPoliciesPolicyId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams

type PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams defines parameters for PatchLegalEntitiesLegalEntityIdPoliciesPolicyId.

type PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse

type PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Policy
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse

func ParsePatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody = LegalEntitySupplier

PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdSuppliersSupplierId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams

type PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams defines parameters for PatchLegalEntitiesLegalEntityIdSuppliersSupplierId.

type PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse

type PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Supplier
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse

func ParsePatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchLegalEntitiesLegalEntityIdTagsTagIdJSONBody

type PatchLegalEntitiesLegalEntityIdTagsTagIdJSONBody map[string]interface{}

PatchLegalEntitiesLegalEntityIdTagsTagIdJSONBody defines parameters for PatchLegalEntitiesLegalEntityIdTagsTagId.

type PatchLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody PatchLegalEntitiesLegalEntityIdTagsTagIdJSONBody

PatchLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdTagsTagId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdTagsTagIdParams

type PatchLegalEntitiesLegalEntityIdTagsTagIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdTagsTagIdParams defines parameters for PatchLegalEntitiesLegalEntityIdTagsTagId.

type PatchLegalEntitiesLegalEntityIdTagsTagIdResponse

type PatchLegalEntitiesLegalEntityIdTagsTagIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Tag
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdTagsTagIdResponse

func ParsePatchLegalEntitiesLegalEntityIdTagsTagIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdTagsTagIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdTagsTagIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdTagsTagIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdTagsTagIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONBody

type PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONBody map[string]interface{}

PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONBody defines parameters for PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateId.

type PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody

type PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONBody

PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody defines body for PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateId for application/json ContentType.

type PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams

type PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams defines parameters for PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateId.

type PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse

type PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaxRate
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse

func ParsePatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse(rsp *http.Response) (*PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

ParsePatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse parses an HTTP response from a PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithResponse call

func (PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse) Status

Status returns HTTPResponse.Status

func (PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchSuppliersSupplierIdJSONBody

type PatchSuppliersSupplierIdJSONBody map[string]interface{}

PatchSuppliersSupplierIdJSONBody defines parameters for PatchSuppliersSupplierId.

type PatchSuppliersSupplierIdJSONRequestBody

type PatchSuppliersSupplierIdJSONRequestBody PatchSuppliersSupplierIdJSONBody

PatchSuppliersSupplierIdJSONRequestBody defines body for PatchSuppliersSupplierId for application/json ContentType.

type PatchSuppliersSupplierIdParams

type PatchSuppliersSupplierIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchSuppliersSupplierIdParams defines parameters for PatchSuppliersSupplierId.

type PatchSuppliersSupplierIdResponse

type PatchSuppliersSupplierIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationSupplier
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchSuppliersSupplierIdResponse

func ParsePatchSuppliersSupplierIdResponse(rsp *http.Response) (*PatchSuppliersSupplierIdResponse, error)

ParsePatchSuppliersSupplierIdResponse parses an HTTP response from a PatchSuppliersSupplierIdWithResponse call

func (PatchSuppliersSupplierIdResponse) Status

Status returns HTTPResponse.Status

func (PatchSuppliersSupplierIdResponse) StatusCode

func (r PatchSuppliersSupplierIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchUsersUserIdJSONBody

type PatchUsersUserIdJSONBody map[string]interface{}

PatchUsersUserIdJSONBody defines parameters for PatchUsersUserId.

type PatchUsersUserIdJSONRequestBody

type PatchUsersUserIdJSONRequestBody PatchUsersUserIdJSONBody

PatchUsersUserIdJSONRequestBody defines body for PatchUsersUserId for application/json ContentType.

type PatchUsersUserIdParams

type PatchUsersUserIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PatchUsersUserIdParams defines parameters for PatchUsersUserId.

type PatchUsersUserIdResponse

type PatchUsersUserIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePatchUsersUserIdResponse

func ParsePatchUsersUserIdResponse(rsp *http.Response) (*PatchUsersUserIdResponse, error)

ParsePatchUsersUserIdResponse parses an HTTP response from a PatchUsersUserIdWithResponse call

func (PatchUsersUserIdResponse) Status

func (r PatchUsersUserIdResponse) Status() string

Status returns HTTPResponse.Status

func (PatchUsersUserIdResponse) StatusCode

func (r PatchUsersUserIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Policy

type Policy struct {
	// CategoryIds The category ids associated to the policy.
	CategoryIds []string `json:"categoryIds"`

	// Code The policy's code.
	Code string `json:"code"`

	// Id The policy's internal id.
	Id *string `json:"id,omitempty"`

	// Name The policy's name.
	Name string `json:"name"`

	// StatusActive Whether the policy is active.
	StatusActive bool `json:"statusActive"`
}

Policy defines model for Policy.

type PostLegalEntitiesLegalEntityIdCategoriesJSONRequestBody

type PostLegalEntitiesLegalEntityIdCategoriesJSONRequestBody = Category

PostLegalEntitiesLegalEntityIdCategoriesJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdCategories for application/json ContentType.

type PostLegalEntitiesLegalEntityIdCategoriesParams

type PostLegalEntitiesLegalEntityIdCategoriesParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdCategoriesParams defines parameters for PostLegalEntitiesLegalEntityIdCategories.

type PostLegalEntitiesLegalEntityIdCategoriesResponse

type PostLegalEntitiesLegalEntityIdCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Category
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdCategoriesResponse

func ParsePostLegalEntitiesLegalEntityIdCategoriesResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdCategoriesResponse, error)

ParsePostLegalEntitiesLegalEntityIdCategoriesResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdCategoriesWithResponse call

func (PostLegalEntitiesLegalEntityIdCategoriesResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdCategoriesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdCompanyCardsJSONRequestBody

type PostLegalEntitiesLegalEntityIdCompanyCardsJSONRequestBody = CompanyCard

PostLegalEntitiesLegalEntityIdCompanyCardsJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdCompanyCards for application/json ContentType.

type PostLegalEntitiesLegalEntityIdCompanyCardsParams

type PostLegalEntitiesLegalEntityIdCompanyCardsParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdCompanyCardsParams defines parameters for PostLegalEntitiesLegalEntityIdCompanyCards.

type PostLegalEntitiesLegalEntityIdCompanyCardsResponse

type PostLegalEntitiesLegalEntityIdCompanyCardsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CompanyCard
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdCompanyCardsResponse

func ParsePostLegalEntitiesLegalEntityIdCompanyCardsResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdCompanyCardsResponse, error)

ParsePostLegalEntitiesLegalEntityIdCompanyCardsResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdCompanyCardsWithResponse call

func (PostLegalEntitiesLegalEntityIdCompanyCardsResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdCompanyCardsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdCostCentersJSONRequestBody

type PostLegalEntitiesLegalEntityIdCostCentersJSONRequestBody = CostCenter

PostLegalEntitiesLegalEntityIdCostCentersJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdCostCenters for application/json ContentType.

type PostLegalEntitiesLegalEntityIdCostCentersParams

type PostLegalEntitiesLegalEntityIdCostCentersParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdCostCentersParams defines parameters for PostLegalEntitiesLegalEntityIdCostCenters.

type PostLegalEntitiesLegalEntityIdCostCentersResponse

type PostLegalEntitiesLegalEntityIdCostCentersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CostCenter
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdCostCentersResponse

func ParsePostLegalEntitiesLegalEntityIdCostCentersResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdCostCentersResponse, error)

ParsePostLegalEntitiesLegalEntityIdCostCentersResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdCostCentersWithResponse call

func (PostLegalEntitiesLegalEntityIdCostCentersResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdCostCentersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBody

type PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBody struct {
	// DocumentIds List of internal expense document ids to be exported (only considered if exportScope "documentIds" is selected).
	DocumentIds *[]string `json:"documentIds,omitempty"`

	// EarliestPostingDate Earliest allowed posting date. For expenses with an earlier posting date, the posting date is replaced with the earliest allowed posting date (to avoid posting to already closed books).
	EarliestPostingDate string `json:"earliestPostingDate"`

	// ExportScope Selection approach for the expenses to be exported. Either all expenses in scope of the export facility that are ready for export are exported ("all") or a determined set of expenses specified by their internal document id ("documentIds") is exported.
	ExportScope PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBodyExportScope `json:"exportScope"`

	// ExporterId The user's internal id on behalf of which the export is executed. The user needs to have the finance role for the legal entity to trigger an export.
	ExporterId string `json:"exporterId"`
}

PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBody defines parameters for PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks.

type PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBodyExportScope

type PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBodyExportScope string

PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBodyExportScope defines parameters for PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks.

const (
	PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBodyExportScopeAll         PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBodyExportScope = "all"
	PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBodyExportScopeDocumentIds PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBodyExportScope = "documentIds"
)

Defines values for PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBodyExportScope.

type PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONRequestBody

type PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONRequestBody PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONBody

PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks for application/json ContentType.

type PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams

type PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams struct {
	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams defines parameters for PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks.

type PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse

type PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Resource task id of the export
		Resource *string `json:"resource,omitempty"`
	}
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON429 *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse

func ParsePostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse, error)

ParsePostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksWithResponse call

func (PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdInvoiceCategoriesJSONRequestBody

type PostLegalEntitiesLegalEntityIdInvoiceCategoriesJSONRequestBody = InvoiceCategory

PostLegalEntitiesLegalEntityIdInvoiceCategoriesJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdInvoiceCategories for application/json ContentType.

type PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams

type PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams defines parameters for PostLegalEntitiesLegalEntityIdInvoiceCategories.

type PostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse

type PostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *InvoiceCategory
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse

func ParsePostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse, error)

ParsePostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdInvoiceCategoriesWithResponse call

func (PostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdInvoiceCategoriesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBody

type PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBody struct {
	// DocumentIds List of internal invoice document ids to be exported (only considered if exportScope "documentIds" is selected)
	DocumentIds *[]string `json:"documentIds,omitempty"`

	// EarliestPostingDate Earliest allowed posting date. For invoices with an earlier posting date, the posting date is replaced with the earliest allowed posting date (to avoid posting to already closed books).
	EarliestPostingDate string `json:"earliestPostingDate"`

	// ExportScope Selection approach for the invoices to be exported. Either all invoices in scope of the export facility that are ready for export are exported ("all") or a determined set of invoices specified by their internal document id ("documentIds") is exported.
	ExportScope PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBodyExportScope `json:"exportScope"`

	// ExporterId The user's internal id on behalf of which the export is executed. The user needs to have the finance role for the legal entity to trigger an export.
	ExporterId string `json:"exporterId"`
}

PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBody defines parameters for PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks.

type PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBodyExportScope

type PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBodyExportScope string

PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBodyExportScope defines parameters for PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks.

const (
	PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBodyExportScopeAll         PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBodyExportScope = "all"
	PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBodyExportScopeDocumentIds PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBodyExportScope = "documentIds"
)

Defines values for PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBodyExportScope.

type PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONRequestBody

type PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONRequestBody PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONBody

PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks for application/json ContentType.

type PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams

type PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams struct {
	// XYkCorrelationId Correlation id to use throughout the handling of the request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams defines parameters for PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks.

type PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse

type PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Resource task id of the export
		Resource *string `json:"resource,omitempty"`
	}
	JSON401 *Unauthorized
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON429 *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse

func ParsePostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse, error)

ParsePostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksWithResponse call

func (PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsJSONRequestBody

type PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsJSONRequestBody = GoodsReceipt

PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdInvoiceGoodsReceipts for application/json ContentType.

type PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams

type PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams defines parameters for PostLegalEntitiesLegalEntityIdInvoiceGoodsReceipts.

type PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse

type PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *GoodsReceipt
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse

func ParsePostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse, error)

ParsePostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsWithResponse call

func (PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdInvoicePaymentTermsJSONRequestBody

type PostLegalEntitiesLegalEntityIdInvoicePaymentTermsJSONRequestBody = InvoicePaymentTerms

PostLegalEntitiesLegalEntityIdInvoicePaymentTermsJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdInvoicePaymentTerms for application/json ContentType.

type PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams

type PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams defines parameters for PostLegalEntitiesLegalEntityIdInvoicePaymentTerms.

type PostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse

type PostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *InvoicePaymentTerms
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse

func ParsePostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse, error)

ParsePostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdInvoicePaymentTermsWithResponse call

func (PostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdInvoicePaymentTermsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersJSONRequestBody

type PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersJSONRequestBody = PurchaseOrder

PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdInvoicePurchaseOrders for application/json ContentType.

type PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams

type PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams defines parameters for PostLegalEntitiesLegalEntityIdInvoicePurchaseOrders.

type PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse

type PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *PurchaseOrder
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse

func ParsePostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse, error)

ParsePostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersWithResponse call

func (PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdInvoicesJSONRequestBody

type PostLegalEntitiesLegalEntityIdInvoicesJSONRequestBody = Invoice

PostLegalEntitiesLegalEntityIdInvoicesJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdInvoices for application/json ContentType.

type PostLegalEntitiesLegalEntityIdInvoicesParams

type PostLegalEntitiesLegalEntityIdInvoicesParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdInvoicesParams defines parameters for PostLegalEntitiesLegalEntityIdInvoices.

type PostLegalEntitiesLegalEntityIdInvoicesResponse

type PostLegalEntitiesLegalEntityIdInvoicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Invoice
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdInvoicesResponse

func ParsePostLegalEntitiesLegalEntityIdInvoicesResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdInvoicesResponse, error)

ParsePostLegalEntitiesLegalEntityIdInvoicesResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdInvoicesWithResponse call

func (PostLegalEntitiesLegalEntityIdInvoicesResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdInvoicesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdInvoicesUploadMultipartBody

type PostLegalEntitiesLegalEntityIdInvoicesUploadMultipartBody struct {
	File openapi_types.File `json:"file"`
}

PostLegalEntitiesLegalEntityIdInvoicesUploadMultipartBody defines parameters for PostLegalEntitiesLegalEntityIdInvoicesUpload.

type PostLegalEntitiesLegalEntityIdInvoicesUploadMultipartRequestBody

type PostLegalEntitiesLegalEntityIdInvoicesUploadMultipartRequestBody PostLegalEntitiesLegalEntityIdInvoicesUploadMultipartBody

PostLegalEntitiesLegalEntityIdInvoicesUploadMultipartRequestBody defines body for PostLegalEntitiesLegalEntityIdInvoicesUpload for multipart/form-data ContentType.

type PostLegalEntitiesLegalEntityIdInvoicesUploadParams

type PostLegalEntitiesLegalEntityIdInvoicesUploadParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdInvoicesUploadParams defines parameters for PostLegalEntitiesLegalEntityIdInvoicesUpload.

type PostLegalEntitiesLegalEntityIdInvoicesUploadResponse

type PostLegalEntitiesLegalEntityIdInvoicesUploadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Invoice
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdInvoicesUploadResponse

func ParsePostLegalEntitiesLegalEntityIdInvoicesUploadResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdInvoicesUploadResponse, error)

ParsePostLegalEntitiesLegalEntityIdInvoicesUploadResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdInvoicesUploadWithResponse call

func (PostLegalEntitiesLegalEntityIdInvoicesUploadResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdInvoicesUploadResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdPoliciesJSONRequestBody

type PostLegalEntitiesLegalEntityIdPoliciesJSONRequestBody = Policy

PostLegalEntitiesLegalEntityIdPoliciesJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdPolicies for application/json ContentType.

type PostLegalEntitiesLegalEntityIdPoliciesParams

type PostLegalEntitiesLegalEntityIdPoliciesParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdPoliciesParams defines parameters for PostLegalEntitiesLegalEntityIdPolicies.

type PostLegalEntitiesLegalEntityIdPoliciesResponse

type PostLegalEntitiesLegalEntityIdPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Policy
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdPoliciesResponse

func ParsePostLegalEntitiesLegalEntityIdPoliciesResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdPoliciesResponse, error)

ParsePostLegalEntitiesLegalEntityIdPoliciesResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdPoliciesWithResponse call

func (PostLegalEntitiesLegalEntityIdPoliciesResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdPoliciesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdSuppliersJSONRequestBody

type PostLegalEntitiesLegalEntityIdSuppliersJSONRequestBody = LegalEntitySupplier

PostLegalEntitiesLegalEntityIdSuppliersJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdSuppliers for application/json ContentType.

type PostLegalEntitiesLegalEntityIdSuppliersParams

type PostLegalEntitiesLegalEntityIdSuppliersParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdSuppliersParams defines parameters for PostLegalEntitiesLegalEntityIdSuppliers.

type PostLegalEntitiesLegalEntityIdSuppliersResponse

type PostLegalEntitiesLegalEntityIdSuppliersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Supplier
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdSuppliersResponse

func ParsePostLegalEntitiesLegalEntityIdSuppliersResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdSuppliersResponse, error)

ParsePostLegalEntitiesLegalEntityIdSuppliersResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdSuppliersWithResponse call

func (PostLegalEntitiesLegalEntityIdSuppliersResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdSuppliersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdTagsJSONRequestBody

type PostLegalEntitiesLegalEntityIdTagsJSONRequestBody = Tag

PostLegalEntitiesLegalEntityIdTagsJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdTags for application/json ContentType.

type PostLegalEntitiesLegalEntityIdTagsParams

type PostLegalEntitiesLegalEntityIdTagsParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdTagsParams defines parameters for PostLegalEntitiesLegalEntityIdTags.

type PostLegalEntitiesLegalEntityIdTagsResponse

type PostLegalEntitiesLegalEntityIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Tag
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdTagsResponse

func ParsePostLegalEntitiesLegalEntityIdTagsResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdTagsResponse, error)

ParsePostLegalEntitiesLegalEntityIdTagsResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdTagsWithResponse call

func (PostLegalEntitiesLegalEntityIdTagsResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdTagsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostLegalEntitiesLegalEntityIdTaxRatesJSONRequestBody

type PostLegalEntitiesLegalEntityIdTaxRatesJSONRequestBody = TaxRate

PostLegalEntitiesLegalEntityIdTaxRatesJSONRequestBody defines body for PostLegalEntitiesLegalEntityIdTaxRates for application/json ContentType.

type PostLegalEntitiesLegalEntityIdTaxRatesParams

type PostLegalEntitiesLegalEntityIdTaxRatesParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostLegalEntitiesLegalEntityIdTaxRatesParams defines parameters for PostLegalEntitiesLegalEntityIdTaxRates.

type PostLegalEntitiesLegalEntityIdTaxRatesResponse

type PostLegalEntitiesLegalEntityIdTaxRatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TaxRate
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostLegalEntitiesLegalEntityIdTaxRatesResponse

func ParsePostLegalEntitiesLegalEntityIdTaxRatesResponse(rsp *http.Response) (*PostLegalEntitiesLegalEntityIdTaxRatesResponse, error)

ParsePostLegalEntitiesLegalEntityIdTaxRatesResponse parses an HTTP response from a PostLegalEntitiesLegalEntityIdTaxRatesWithResponse call

func (PostLegalEntitiesLegalEntityIdTaxRatesResponse) Status

Status returns HTTPResponse.Status

func (PostLegalEntitiesLegalEntityIdTaxRatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSuppliersJSONRequestBody

type PostSuppliersJSONRequestBody = OrganizationSupplier

PostSuppliersJSONRequestBody defines body for PostSuppliers for application/json ContentType.

type PostSuppliersParams

type PostSuppliersParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostSuppliersParams defines parameters for PostSuppliers.

type PostSuppliersResponse

type PostSuppliersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *OrganizationSupplier
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostSuppliersResponse

func ParsePostSuppliersResponse(rsp *http.Response) (*PostSuppliersResponse, error)

ParsePostSuppliersResponse parses an HTTP response from a PostSuppliersWithResponse call

func (PostSuppliersResponse) Status

func (r PostSuppliersResponse) Status() string

Status returns HTTPResponse.Status

func (PostSuppliersResponse) StatusCode

func (r PostSuppliersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsersJSONRequestBody

type PostUsersJSONRequestBody = User

PostUsersJSONRequestBody defines body for PostUsers for application/json ContentType.

type PostUsersParams

type PostUsersParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PostUsersParams defines parameters for PostUsers.

type PostUsersResponse

type PostUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *User
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON429      *TooManyRequests
}

func ParsePostUsersResponse

func ParsePostUsersResponse(rsp *http.Response) (*PostUsersResponse, error)

ParsePostUsersResponse parses an HTTP response from a PostUsersWithResponse call

func (PostUsersResponse) Status

func (r PostUsersResponse) Status() string

Status returns HTTPResponse.Status

func (PostUsersResponse) StatusCode

func (r PostUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PurchaseOrder

type PurchaseOrder struct {
	// Currency The purchase order's currency
	Currency string `json:"currency"`

	// Description A description of the purchase order.
	Description *string `json:"description"`

	// ExternalId The purchase order's external id.
	ExternalId *string `json:"externalId"`

	// GrossAmount The purchase order's gross amount. Calculated from the purchase order's line items.
	GrossAmount *float32 `json:"grossAmount,omitempty"`

	// Id The purchase order's internal id.
	Id *string `json:"id,omitempty"`

	// Items The purchase order's line items
	Items []PurchaseOrderItem `json:"items"`

	// NetAmount The purchase order's net amount. Calculated from the purchase order's line items.
	NetAmount *float32 `json:"netAmount,omitempty"`

	// PaymentTermsId The payment terms associated with the purchase order. Must link to an existing Invoice Payment Terms' id
	PaymentTermsId *string `json:"paymentTermsId"`

	// PurchaseOrderNumber The purchase order number.
	PurchaseOrderNumber string `json:"purchaseOrderNumber"`

	// Quantity Sum of quantites of the purchase order's line items.
	Quantity *float32 `json:"quantity,omitempty"`

	// StatusActive Whether the purchase order is active.
	StatusActive bool `json:"statusActive"`

	// SupplierId The internal id of the supplier associated with the purchase order. Must link to an existing entity supplier's ID
	SupplierId        string      `json:"supplierId"`
	ValidityEndDate   *DateString `json:"validityEndDate,omitempty"`
	ValidityStartDate *DateString `json:"validityStartDate,omitempty"`
}

PurchaseOrder defines model for PurchaseOrder.

type PurchaseOrderItem

type PurchaseOrderItem struct {
	// CategoryId Unique yokoy identifier of the invoice category associated with the line item. Must link to an existing invoice category ID
	CategoryId *string `json:"categoryId"`

	// CostObjectId Unique yokoy identifier of the cost object associated with the line item. Must link to an existing cost object's ID
	CostObjectId *string `json:"costObjectId,omitempty"`

	// Description A description of the purchase order line item.
	Description *string `json:"description"`

	// Eanupc EAN or UPC or barcode of the item.
	Eanupc *string `json:"eanupc"`

	// ExternalId The purchase order item's externalId.
	ExternalId *string `json:"externalId"`

	// GrossAmount The purchase order items's gross amount.
	GrossAmount *float32 `json:"grossAmount,omitempty"`

	// Id The purchase order items's internal id.
	// For new items, the system will generate the ID. For existing items, you can reference that id.
	Id *string `json:"id,omitempty"`

	// ItemNumber The purchase order item's number.
	ItemNumber *string `json:"itemNumber"`

	// ItemPrice The line item's per item price.
	ItemPrice *float32 `json:"itemPrice"`

	// MaterialId The ERP's identifier of the material associated with line item.
	MaterialId *string `json:"materialId"`

	// NetAmount The purchase order item's net amount.
	NetAmount *float32 `json:"netAmount,omitempty"`

	// Quantity The purchase order item's quantity.
	Quantity *float32 `json:"quantity,omitempty"`

	// RequireGoodsReceipt Whether or not the Purchase order item expects the Goods receipt
	RequireGoodsReceipt *bool `json:"requireGoodsReceipt,omitempty"`

	// StatusActive Whether the purchase order is active.
	StatusActive *bool `json:"statusActive,omitempty"`

	// SupplierMaterialId The Supplier's identifier of the material associated with line item.
	SupplierMaterialId *string `json:"supplierMaterialId"`

	// TaxRateId Unique yokoy identifier of the tax rate associated with the line item. Must link to an existing tax rate ID
	TaxRateId *string `json:"taxRateId"`

	// Unit The unit of the line item
	Unit *string `json:"unit"`
}

PurchaseOrderItem defines model for PurchaseOrderItem.

type PutLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody = Category

PutLegalEntitiesLegalEntityIdCategoriesCategoryIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdCategoriesCategoryId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams

type PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams defines parameters for PutLegalEntitiesLegalEntityIdCategoriesCategoryId.

type PutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse

type PutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Category
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse

func ParsePutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdCategoriesCategoryIdWithResponse call

func (PutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdCategoriesCategoryIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody = CompanyCard

PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams

type PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams defines parameters for PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId.

type PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse

type PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CompanyCard
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse

func ParsePutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdWithResponse call

func (PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody = CostCenter

PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdCostCentersCostCenterId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams

type PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams defines parameters for PutLegalEntitiesLegalEntityIdCostCentersCostCenterId.

type PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

type PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CostCenter
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse

func ParsePutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdWithResponse call

func (PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody = InvoiceCategory

PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams

type PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams defines parameters for PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId.

type PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse

type PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InvoiceCategory
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse

func ParsePutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdWithResponse call

func (PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody = GoodsReceipt

PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams

type PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams defines parameters for PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId.

type PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse

type PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GoodsReceipt
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse

func ParsePutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdWithResponse call

func (PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody = InvoicePaymentTerms

PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams

type PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams defines parameters for PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId.

type PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse

type PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InvoicePaymentTerms
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse

func ParsePutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdWithResponse call

func (PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody = PurchaseOrder

PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams

type PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams defines parameters for PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId.

type PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse

type PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PurchaseOrder
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse

func ParsePutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdWithResponse call

func (PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody = Policy

PutLegalEntitiesLegalEntityIdPoliciesPolicyIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdPoliciesPolicyId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams

type PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams defines parameters for PutLegalEntitiesLegalEntityIdPoliciesPolicyId.

type PutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse

type PutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Policy
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse

func ParsePutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdPoliciesPolicyIdWithResponse call

func (PutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdPoliciesPolicyIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody = LegalEntitySupplier

PutLegalEntitiesLegalEntityIdSuppliersSupplierIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdSuppliersSupplierId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams

type PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams defines parameters for PutLegalEntitiesLegalEntityIdSuppliersSupplierId.

type PutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse

type PutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Supplier
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse

func ParsePutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdSuppliersSupplierIdWithResponse call

func (PutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdSuppliersSupplierIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody = Tag

PutLegalEntitiesLegalEntityIdTagsTagIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdTagsTagId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdTagsTagIdParams

type PutLegalEntitiesLegalEntityIdTagsTagIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdTagsTagIdParams defines parameters for PutLegalEntitiesLegalEntityIdTagsTagId.

type PutLegalEntitiesLegalEntityIdTagsTagIdResponse

type PutLegalEntitiesLegalEntityIdTagsTagIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Tag
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdTagsTagIdResponse

func ParsePutLegalEntitiesLegalEntityIdTagsTagIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdTagsTagIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdTagsTagIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdTagsTagIdWithResponse call

func (PutLegalEntitiesLegalEntityIdTagsTagIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdTagsTagIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody

type PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody = TaxRate

PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdJSONRequestBody defines body for PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId for application/json ContentType.

type PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams

type PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams defines parameters for PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId.

type PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse

type PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaxRate
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse

func ParsePutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse(rsp *http.Response) (*PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse, error)

ParsePutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse parses an HTTP response from a PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdWithResponse call

func (PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse) Status

Status returns HTTPResponse.Status

func (PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutSuppliersSupplierIdJSONRequestBody

type PutSuppliersSupplierIdJSONRequestBody = OrganizationSupplier

PutSuppliersSupplierIdJSONRequestBody defines body for PutSuppliersSupplierId for application/json ContentType.

type PutSuppliersSupplierIdParams

type PutSuppliersSupplierIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutSuppliersSupplierIdParams defines parameters for PutSuppliersSupplierId.

type PutSuppliersSupplierIdResponse

type PutSuppliersSupplierIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationSupplier
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutSuppliersSupplierIdResponse

func ParsePutSuppliersSupplierIdResponse(rsp *http.Response) (*PutSuppliersSupplierIdResponse, error)

ParsePutSuppliersSupplierIdResponse parses an HTTP response from a PutSuppliersSupplierIdWithResponse call

func (PutSuppliersSupplierIdResponse) Status

Status returns HTTPResponse.Status

func (PutSuppliersSupplierIdResponse) StatusCode

func (r PutSuppliersSupplierIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutUsersUserIdJSONRequestBody

type PutUsersUserIdJSONRequestBody = User

PutUsersUserIdJSONRequestBody defines body for PutUsersUserId for application/json ContentType.

type PutUsersUserIdParams

type PutUsersUserIdParams struct {
	XYkAuthMethod string `json:"X-Yk-Auth-Method"`

	// XYkCorrelationId Correlation id to use throughout handling of request
	XYkCorrelationId *string `json:"X-Yk-Correlation-Id,omitempty"`
}

PutUsersUserIdParams defines parameters for PutUsersUserId.

type PutUsersUserIdResponse

type PutUsersUserIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON400      *Error
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePutUsersUserIdResponse

func ParsePutUsersUserIdResponse(rsp *http.Response) (*PutUsersUserIdResponse, error)

ParsePutUsersUserIdResponse parses an HTTP response from a PutUsersUserIdWithResponse call

func (PutUsersUserIdResponse) Status

func (r PutUsersUserIdResponse) Status() string

Status returns HTTPResponse.Status

func (PutUsersUserIdResponse) StatusCode

func (r PutUsersUserIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ServerInterface

type ServerInterface interface {
	// Returns all expenses.
	// (GET /expenses)
	GetExpenses(ctx echo.Context, params GetExpensesParams) error
	// Returns an expense by internal ID.
	// (GET /expenses/{expenseId})
	GetExpensesExpenseId(ctx echo.Context, expenseId string, params GetExpensesExpenseIdParams) error
	// Returns all legal entities.
	// (GET /legal-entities)
	GetLegalEntities(ctx echo.Context, params GetLegalEntitiesParams) error
	// Returns a legal entity by internal ID.
	// (GET /legal-entities/{legalEntityId})
	GetLegalEntitiesLegalEntityId(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdParams) error
	// Returns all categories belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/categories)
	GetLegalEntitiesLegalEntityIdCategories(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdCategoriesParams) error
	// Creates a new category and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/categories)
	PostLegalEntitiesLegalEntityIdCategories(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdCategoriesParams) error
	// Returns a category by internal ID.
	// (GET /legal-entities/{legalEntityId}/categories/{categoryId})
	GetLegalEntitiesLegalEntityIdCategoriesCategoryId(ctx echo.Context, legalEntityId string, categoryId string, params GetLegalEntitiesLegalEntityIdCategoriesCategoryIdParams) error
	// Updates a category, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/categories/{categoryId})
	PatchLegalEntitiesLegalEntityIdCategoriesCategoryId(ctx echo.Context, legalEntityId string, categoryId string, params PatchLegalEntitiesLegalEntityIdCategoriesCategoryIdParams) error
	// Updates a category, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/categories/{categoryId})
	PutLegalEntitiesLegalEntityIdCategoriesCategoryId(ctx echo.Context, legalEntityId string, categoryId string, params PutLegalEntitiesLegalEntityIdCategoriesCategoryIdParams) error
	// Returns all company cards belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/company-cards)
	GetLegalEntitiesLegalEntityIdCompanyCards(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdCompanyCardsParams) error
	// Creates a new company card and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/company-cards)
	PostLegalEntitiesLegalEntityIdCompanyCards(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdCompanyCardsParams) error
	// Returns a company card by internal ID.
	// (GET /legal-entities/{legalEntityId}/company-cards/{companyCardId})
	GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId(ctx echo.Context, legalEntityId string, companyCardId string, params GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams) error
	// Updates a company card, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/company-cards/{companyCardId})
	PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId(ctx echo.Context, legalEntityId string, companyCardId string, params PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams) error
	// Updates a company card, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/company-cards/{companyCardId})
	PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId(ctx echo.Context, legalEntityId string, companyCardId string, params PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardIdParams) error
	// Returns all cost centers belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/cost-centers)
	GetLegalEntitiesLegalEntityIdCostCenters(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdCostCentersParams) error
	// Creates a new cost center and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/cost-centers)
	PostLegalEntitiesLegalEntityIdCostCenters(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdCostCentersParams) error
	// Deletes a cost center by internal ID.
	// (DELETE /legal-entities/{legalEntityId}/cost-centers/{costCenterId})
	DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx echo.Context, legalEntityId string, costCenterId string, params DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams) error
	// Returns a cost center by internal ID.
	// (GET /legal-entities/{legalEntityId}/cost-centers/{costCenterId})
	GetLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx echo.Context, legalEntityId string, costCenterId string, params GetLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams) error
	// Updates a cost center, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/cost-centers/{costCenterId})
	PatchLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx echo.Context, legalEntityId string, costCenterId string, params PatchLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams) error
	// Updates a cost center, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/cost-centers/{costCenterId})
	PutLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx echo.Context, legalEntityId string, costCenterId string, params PutLegalEntitiesLegalEntityIdCostCentersCostCenterIdParams) error
	// Triggers an expense export in Yokoy and returns the exportTaskId (id of the export).
	// (POST /legal-entities/{legalEntityId}/expense-export-facilities/{exportFacility}/export-tasks)
	PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks(ctx echo.Context, legalEntityId string, exportFacility string, params PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasksParams) error
	// Returns the status of the asynchronous export job.
	// (GET /legal-entities/{legalEntityId}/export-tasks/{exportTaskId})
	GetLegalEntitiesLegalEntityIdExportTasksExportTaskId(ctx echo.Context, legalEntityId string, exportTaskId string, params GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdParams) error
	// Returns the export artefacts in case the selected export facility supports this feature.
	// (GET /legal-entities/{legalEntityId}/export-tasks/{exportTaskId}/artefacts)
	GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefacts(ctx echo.Context, legalEntityId string, exportTaskId string, params GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefactsParams) error
	// Returns all invoice categories belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/invoice-categories)
	GetLegalEntitiesLegalEntityIdInvoiceCategories(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdInvoiceCategoriesParams) error
	// Creates a new invoice category and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/invoice-categories)
	PostLegalEntitiesLegalEntityIdInvoiceCategories(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdInvoiceCategoriesParams) error
	// Returns an invoice category by internal ID.
	// (GET /legal-entities/{legalEntityId}/invoice-categories/{categoryId})
	GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId(ctx echo.Context, legalEntityId string, categoryId string, params GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams) error
	// Updates a category, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/invoice-categories/{categoryId})
	PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId(ctx echo.Context, legalEntityId string, categoryId string, params PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams) error
	// Updates an invoice category, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/invoice-categories/{categoryId})
	PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId(ctx echo.Context, legalEntityId string, categoryId string, params PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryIdParams) error
	// Triggers an invoice export in Yokoy and returns the exportTaskId (id of the export).
	// (POST /legal-entities/{legalEntityId}/invoice-export-facilities/{exportFacility}/export-tasks)
	PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks(ctx echo.Context, legalEntityId string, exportFacility string, params PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasksParams) error
	// Returns all goods receipt belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/invoice-goods-receipts)
	GetLegalEntitiesLegalEntityIdInvoiceGoodsReceipts(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams) error
	// Creates a new invoice goods receipt and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/invoice-goods-receipts)
	PostLegalEntitiesLegalEntityIdInvoiceGoodsReceipts(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsParams) error
	// Returns an invoice goods receipt by internal ID.
	// (GET /legal-entities/{legalEntityId}/invoice-goods-receipts/{goodsReceiptId})
	GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId(ctx echo.Context, legalEntityId string, goodsReceiptId string, params GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams) error
	// Updates a invoice goods receipt, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/invoice-goods-receipts/{goodsReceiptId})
	PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId(ctx echo.Context, legalEntityId string, goodsReceiptId string, params PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams) error
	// Updates an invoice goods receipt, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/invoice-goods-receipts/{goodsReceiptId})
	PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId(ctx echo.Context, legalEntityId string, goodsReceiptId string, params PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptIdParams) error
	// Returns all payment terms belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/invoice-payment-terms)
	GetLegalEntitiesLegalEntityIdInvoicePaymentTerms(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdInvoicePaymentTermsParams) error
	// Creates a new invoice payment term and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/invoice-payment-terms)
	PostLegalEntitiesLegalEntityIdInvoicePaymentTerms(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdInvoicePaymentTermsParams) error
	// Returns an invoice payment term by internal ID.
	// (GET /legal-entities/{legalEntityId}/invoice-payment-terms/{paymentTermId})
	GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId(ctx echo.Context, legalEntityId string, paymentTermId string, params GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams) error
	// Updates a invoice payment terms, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/invoice-payment-terms/{paymentTermId})
	PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId(ctx echo.Context, legalEntityId string, paymentTermId string, params PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams) error
	// Updates an invoice payment term, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/invoice-payment-terms/{paymentTermId})
	PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId(ctx echo.Context, legalEntityId string, paymentTermId string, params PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermIdParams) error
	// Returns all purchase orders belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/invoice-purchase-orders)
	GetLegalEntitiesLegalEntityIdInvoicePurchaseOrders(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams) error
	// Creates a new purchase order and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/invoice-purchase-orders)
	PostLegalEntitiesLegalEntityIdInvoicePurchaseOrders(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdInvoicePurchaseOrdersParams) error
	// Returns an invoice purchase order by internal ID.
	// (GET /legal-entities/{legalEntityId}/invoice-purchase-orders/{purchaseOrderId})
	GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId(ctx echo.Context, legalEntityId string, purchaseOrderId string, params GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams) error
	// Updates a invoice purchase order, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/invoice-purchase-orders/{purchaseOrderId})
	PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId(ctx echo.Context, legalEntityId string, purchaseOrderId string, params PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams) error
	// Updates an invoice purchase order, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/invoice-purchase-orders/{purchaseOrderId})
	PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId(ctx echo.Context, legalEntityId string, purchaseOrderId string, params PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderIdParams) error
	// Returns all invoices belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/invoices)
	GetLegalEntitiesLegalEntityIdInvoices(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdInvoicesParams) error
	// Creates a new invoice and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/invoices)
	PostLegalEntitiesLegalEntityIdInvoices(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdInvoicesParams) error
	// Uploads a new invoice to be processed by the Yokoy AI
	// (POST /legal-entities/{legalEntityId}/invoices/upload)
	PostLegalEntitiesLegalEntityIdInvoicesUpload(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdInvoicesUploadParams) error
	// Returns an invoice by internal ID.
	// (GET /legal-entities/{legalEntityId}/invoices/{invoiceId})
	GetLegalEntitiesLegalEntityIdInvoicesInvoiceId(ctx echo.Context, legalEntityId string, invoiceId string, params GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdParams) error
	// Downloads the supplier invoice file in PDF format
	// (GET /legal-entities/{legalEntityId}/invoices/{invoiceId}/presentation)
	GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentation(ctx echo.Context, legalEntityId string, invoiceId string, params GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentationParams) error
	// Returns all policies belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/policies)
	GetLegalEntitiesLegalEntityIdPolicies(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdPoliciesParams) error
	// Creates a new policy and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/policies)
	PostLegalEntitiesLegalEntityIdPolicies(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdPoliciesParams) error
	// Returns a policy by internal ID.
	// (GET /legal-entities/{legalEntityId}/policies/{policyId})
	GetLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx echo.Context, legalEntityId string, policyId string, params GetLegalEntitiesLegalEntityIdPoliciesPolicyIdParams) error
	// Updates a policy, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/policies/{policyId})
	PatchLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx echo.Context, legalEntityId string, policyId string, params PatchLegalEntitiesLegalEntityIdPoliciesPolicyIdParams) error
	// Updates a policy, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/policies/{policyId})
	PutLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx echo.Context, legalEntityId string, policyId string, params PutLegalEntitiesLegalEntityIdPoliciesPolicyIdParams) error
	// Returns all suppliers of a legal entity
	// (GET /legal-entities/{legalEntityId}/suppliers)
	GetLegalEntitiesLegalEntityIdSuppliers(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdSuppliersParams) error
	// Adds a specific organization supplier to an entity with entity specific information.
	// (POST /legal-entities/{legalEntityId}/suppliers)
	PostLegalEntitiesLegalEntityIdSuppliers(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdSuppliersParams) error
	// Returns a supplier based on internal Yokoy id.
	// (GET /legal-entities/{legalEntityId}/suppliers/{supplierId})
	GetLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx echo.Context, legalEntityId string, supplierId string, params GetLegalEntitiesLegalEntityIdSuppliersSupplierIdParams) error
	// Updates an entity supplier, identified by internal ID, by replacing some entity specific attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/suppliers/{supplierId})
	PatchLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx echo.Context, legalEntityId string, supplierId string, params PatchLegalEntitiesLegalEntityIdSuppliersSupplierIdParams) error
	// Updates an entity supplier, identified by internal ID, by replacing all entity specific attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/suppliers/{supplierId})
	PutLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx echo.Context, legalEntityId string, supplierId string, params PutLegalEntitiesLegalEntityIdSuppliersSupplierIdParams) error
	// Returns all tags belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/tags)
	GetLegalEntitiesLegalEntityIdTags(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdTagsParams) error
	// Creates a new tag and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/tags)
	PostLegalEntitiesLegalEntityIdTags(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdTagsParams) error
	// Deletes a tag by internal ID.
	// (DELETE /legal-entities/{legalEntityId}/tags/{tagId})
	DeleteLegalEntitiesLegalEntityIdTagsTagId(ctx echo.Context, legalEntityId string, tagId string, params DeleteLegalEntitiesLegalEntityIdTagsTagIdParams) error
	// Returns a tag by internal ID.
	// (GET /legal-entities/{legalEntityId}/tags/{tagId})
	GetLegalEntitiesLegalEntityIdTagsTagId(ctx echo.Context, legalEntityId string, tagId string, params GetLegalEntitiesLegalEntityIdTagsTagIdParams) error
	// Updates a tag, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/tags/{tagId})
	PatchLegalEntitiesLegalEntityIdTagsTagId(ctx echo.Context, legalEntityId string, tagId string, params PatchLegalEntitiesLegalEntityIdTagsTagIdParams) error
	// Updates a tag, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/tags/{tagId})
	PutLegalEntitiesLegalEntityIdTagsTagId(ctx echo.Context, legalEntityId string, tagId string, params PutLegalEntitiesLegalEntityIdTagsTagIdParams) error
	// Returns all tax rates belonging to the legal entity identified in the path.
	// (GET /legal-entities/{legalEntityId}/tax-rates)
	GetLegalEntitiesLegalEntityIdTaxRates(ctx echo.Context, legalEntityId string, params GetLegalEntitiesLegalEntityIdTaxRatesParams) error
	// Creates a new tax rate and returns the created entity.
	// (POST /legal-entities/{legalEntityId}/tax-rates)
	PostLegalEntitiesLegalEntityIdTaxRates(ctx echo.Context, legalEntityId string, params PostLegalEntitiesLegalEntityIdTaxRatesParams) error
	// Returns a tax rate by internal ID.
	// (GET /legal-entities/{legalEntityId}/tax-rates/{taxRateId})
	GetLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx echo.Context, legalEntityId string, taxRateId string, params GetLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams) error
	// Updates a tax rate, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /legal-entities/{legalEntityId}/tax-rates/{taxRateId})
	PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx echo.Context, legalEntityId string, taxRateId string, params PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams) error
	// Updates a tax rate, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /legal-entities/{legalEntityId}/tax-rates/{taxRateId})
	PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx echo.Context, legalEntityId string, taxRateId string, params PutLegalEntitiesLegalEntityIdTaxRatesTaxRateIdParams) error
	// Returns all organization level suppliers of an organization
	// (GET /suppliers)
	GetSuppliers(ctx echo.Context, params GetSuppliersParams) error
	// Creates a new organization supplier and returns the created entity.
	// (POST /suppliers)
	PostSuppliers(ctx echo.Context, params PostSuppliersParams) error
	// Returns an organization supplier based on internal Yokoy id.
	// (GET /suppliers/{supplierId})
	GetSuppliersSupplierId(ctx echo.Context, supplierId string, params GetSuppliersSupplierIdParams) error
	// Updates a organization supplier, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /suppliers/{supplierId})
	PatchSuppliersSupplierId(ctx echo.Context, supplierId string, params PatchSuppliersSupplierIdParams) error
	// Updates an organization supplier, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /suppliers/{supplierId})
	PutSuppliersSupplierId(ctx echo.Context, supplierId string, params PutSuppliersSupplierIdParams) error
	// Returns all trips.
	// (GET /trips)
	GetTrips(ctx echo.Context, params GetTripsParams) error
	// Returns an trip by internal ID.
	// (GET /trips/{tripId})
	GetTripsTripId(ctx echo.Context, tripId string, params GetTripsTripIdParams) error
	// Returns all users.
	// (GET /users)
	GetUsers(ctx echo.Context, params GetUsersParams) error
	// Creates a new user and returns the created entity.
	// (POST /users)
	PostUsers(ctx echo.Context, params PostUsersParams) error
	// Deletes a user by internal ID.
	// (DELETE /users/{userId})
	DeleteUsersUserId(ctx echo.Context, userId string, params DeleteUsersUserIdParams) error
	// Returns a user by internal ID.
	// (GET /users/{userId})
	GetUsersUserId(ctx echo.Context, userId string, params GetUsersUserIdParams) error
	// Updates a user, identified by internal ID, by replacing some attributes. The whole entity is returned.
	// (PATCH /users/{userId})
	PatchUsersUserId(ctx echo.Context, userId string, params PatchUsersUserIdParams) error
	// Updates a user, identified by internal ID, by replacing all attributes. The whole entity is returned.
	// (PUT /users/{userId})
	PutUsersUserId(ctx echo.Context, userId string, params PutUsersUserIdParams) error
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler ServerInterface
}

ServerInterfaceWrapper converts echo contexts to parameters.

func (*ServerInterfaceWrapper) DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterId

func (w *ServerInterfaceWrapper) DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx echo.Context) error

DeleteLegalEntitiesLegalEntityIdCostCentersCostCenterId converts echo context to params.

func (*ServerInterfaceWrapper) DeleteLegalEntitiesLegalEntityIdTagsTagId

func (w *ServerInterfaceWrapper) DeleteLegalEntitiesLegalEntityIdTagsTagId(ctx echo.Context) error

DeleteLegalEntitiesLegalEntityIdTagsTagId converts echo context to params.

func (*ServerInterfaceWrapper) DeleteUsersUserId

func (w *ServerInterfaceWrapper) DeleteUsersUserId(ctx echo.Context) error

DeleteUsersUserId converts echo context to params.

func (*ServerInterfaceWrapper) GetExpenses

func (w *ServerInterfaceWrapper) GetExpenses(ctx echo.Context) error

GetExpenses converts echo context to params.

func (*ServerInterfaceWrapper) GetExpensesExpenseId

func (w *ServerInterfaceWrapper) GetExpensesExpenseId(ctx echo.Context) error

GetExpensesExpenseId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntities

func (w *ServerInterfaceWrapper) GetLegalEntities(ctx echo.Context) error

GetLegalEntities converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityId(ctx echo.Context) error

GetLegalEntitiesLegalEntityId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCategories

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCategories(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdCategories converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCategoriesCategoryId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCategoriesCategoryId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdCategoriesCategoryId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCompanyCards

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCompanyCards(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdCompanyCards converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCostCenters

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCostCenters(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdCostCenters converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCostCentersCostCenterId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdCostCentersCostCenterId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdExportTasksExportTaskId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdExportTasksExportTaskId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdExportTasksExportTaskId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefacts

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefacts(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdExportTasksExportTaskIdArtefacts converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoiceCategories

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoiceCategories(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoiceCategories converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceipts

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceipts(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoiceGoodsReceipts converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicePaymentTerms

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicePaymentTerms(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoicePaymentTerms converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrders

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrders(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoicePurchaseOrders converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoices

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoices(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoices converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicesInvoiceId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicesInvoiceId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoicesInvoiceId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentation

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentation(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdInvoicesInvoiceIdPresentation converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdPolicies

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdPolicies(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdPolicies converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdPoliciesPolicyId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdPoliciesPolicyId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdSuppliers

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdSuppliers(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdSuppliers converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdSuppliersSupplierId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdSuppliersSupplierId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdTags

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdTags(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdTags converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdTagsTagId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdTagsTagId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdTagsTagId converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdTaxRates

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdTaxRates(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdTaxRates converts echo context to params.

func (*ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdTaxRatesTaxRateId

func (w *ServerInterfaceWrapper) GetLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx echo.Context) error

GetLegalEntitiesLegalEntityIdTaxRatesTaxRateId converts echo context to params.

func (*ServerInterfaceWrapper) GetSuppliers

func (w *ServerInterfaceWrapper) GetSuppliers(ctx echo.Context) error

GetSuppliers converts echo context to params.

func (*ServerInterfaceWrapper) GetSuppliersSupplierId

func (w *ServerInterfaceWrapper) GetSuppliersSupplierId(ctx echo.Context) error

GetSuppliersSupplierId converts echo context to params.

func (*ServerInterfaceWrapper) GetTrips

func (w *ServerInterfaceWrapper) GetTrips(ctx echo.Context) error

GetTrips converts echo context to params.

func (*ServerInterfaceWrapper) GetTripsTripId

func (w *ServerInterfaceWrapper) GetTripsTripId(ctx echo.Context) error

GetTripsTripId converts echo context to params.

func (*ServerInterfaceWrapper) GetUsers

func (w *ServerInterfaceWrapper) GetUsers(ctx echo.Context) error

GetUsers converts echo context to params.

func (*ServerInterfaceWrapper) GetUsersUserId

func (w *ServerInterfaceWrapper) GetUsersUserId(ctx echo.Context) error

GetUsersUserId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdCategoriesCategoryId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdCategoriesCategoryId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdCategoriesCategoryId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdCostCentersCostCenterId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdCostCentersCostCenterId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdPoliciesPolicyId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdPoliciesPolicyId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdSuppliersSupplierId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdSuppliersSupplierId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdTagsTagId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdTagsTagId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdTagsTagId converts echo context to params.

func (*ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateId

func (w *ServerInterfaceWrapper) PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx echo.Context) error

PatchLegalEntitiesLegalEntityIdTaxRatesTaxRateId converts echo context to params.

func (*ServerInterfaceWrapper) PatchSuppliersSupplierId

func (w *ServerInterfaceWrapper) PatchSuppliersSupplierId(ctx echo.Context) error

PatchSuppliersSupplierId converts echo context to params.

func (*ServerInterfaceWrapper) PatchUsersUserId

func (w *ServerInterfaceWrapper) PatchUsersUserId(ctx echo.Context) error

PatchUsersUserId converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdCategories

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdCategories(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdCategories converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdCompanyCards

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdCompanyCards(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdCompanyCards converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdCostCenters

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdCostCenters(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdCostCenters converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdExpenseExportFacilitiesExportFacilityExportTasks converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoiceCategories

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoiceCategories(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdInvoiceCategories converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdInvoiceExportFacilitiesExportFacilityExportTasks converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoiceGoodsReceipts

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoiceGoodsReceipts(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdInvoiceGoodsReceipts converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoicePaymentTerms

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoicePaymentTerms(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdInvoicePaymentTerms converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoicePurchaseOrders

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoicePurchaseOrders(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdInvoicePurchaseOrders converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoices

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoices(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdInvoices converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoicesUpload

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdInvoicesUpload(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdInvoicesUpload converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdPolicies

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdPolicies(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdPolicies converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdSuppliers

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdSuppliers(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdSuppliers converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdTags

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdTags(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdTags converts echo context to params.

func (*ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdTaxRates

func (w *ServerInterfaceWrapper) PostLegalEntitiesLegalEntityIdTaxRates(ctx echo.Context) error

PostLegalEntitiesLegalEntityIdTaxRates converts echo context to params.

func (*ServerInterfaceWrapper) PostSuppliers

func (w *ServerInterfaceWrapper) PostSuppliers(ctx echo.Context) error

PostSuppliers converts echo context to params.

func (*ServerInterfaceWrapper) PostUsers

func (w *ServerInterfaceWrapper) PostUsers(ctx echo.Context) error

PostUsers converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdCategoriesCategoryId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdCategoriesCategoryId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdCategoriesCategoryId converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdCompanyCardsCompanyCardId converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdCostCentersCostCenterId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdCostCentersCostCenterId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdCostCentersCostCenterId converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdInvoiceCategoriesCategoryId converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdInvoiceGoodsReceiptsGoodsReceiptId converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdInvoicePaymentTermsPaymentTermId converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdInvoicePurchaseOrdersPurchaseOrderId converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdPoliciesPolicyId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdPoliciesPolicyId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdPoliciesPolicyId converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdSuppliersSupplierId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdSuppliersSupplierId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdSuppliersSupplierId converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdTagsTagId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdTagsTagId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdTagsTagId converts echo context to params.

func (*ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId

func (w *ServerInterfaceWrapper) PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId(ctx echo.Context) error

PutLegalEntitiesLegalEntityIdTaxRatesTaxRateId converts echo context to params.

func (*ServerInterfaceWrapper) PutSuppliersSupplierId

func (w *ServerInterfaceWrapper) PutSuppliersSupplierId(ctx echo.Context) error

PutSuppliersSupplierId converts echo context to params.

func (*ServerInterfaceWrapper) PutUsersUserId

func (w *ServerInterfaceWrapper) PutUsersUserId(ctx echo.Context) error

PutUsersUserId converts echo context to params.

type Supplier

type Supplier struct {
	BankAccounts *[]InvoiceBankAccount `json:"bankAccounts"`

	// City The supplier's city.
	City     *string            `json:"city"`
	Contacts *[]SupplierContact `json:"contacts"`

	// CountryCode The supplier's country (ISO code).
	CountryCode       *string                 `json:"countryCode"`
	CustomInformation *map[string]interface{} `json:"customInformation"`

	// DefaultApproverId The internal Yokoy id of the default approver.
	DefaultApproverId *string `json:"defaultApproverId"`

	// DefaultCategoryId The internal Yokoy id of the default invoice category.
	DefaultCategoryId *string `json:"defaultCategoryId"`

	// DefaultCostCenterId The internal Yokoy id of the default cost center.
	DefaultCostCenterId *string `json:"defaultCostCenterId"`

	// DefaultPaymentTermId The internal Yokoy id of the default payment term.
	DefaultPaymentTermId *string `json:"defaultPaymentTermId"`

	// ExternalId The supplier's external identifier. This must be unique within an organization and cannot be changed after creation
	ExternalId string `json:"externalId"`

	// Id The supplier's internal id.
	Id *string `json:"id,omitempty"`

	// Name The supplier's clear name.
	Name string `json:"name"`

	// SecondaryName The supplier's name addition.
	SecondaryName *string `json:"secondaryName"`

	// ShortName The supplier's short name for display.
	ShortName    *string `json:"shortName"`
	StatusActive bool    `json:"statusActive"`

	// Street The supplier's street.
	Street *string `json:"street"`

	// SupplierId The ID of the organization supplier to extend. Must reference an existing Organization level supplier
	SupplierId string `json:"supplierId"`

	// TaxNumber The supplier's official tax number.
	TaxNumber *string `json:"taxNumber"`

	// Url The supplier's web site.
	Url *string `json:"url"`

	// ZipCode The supplier's zip code.
	ZipCode *string `json:"zipCode"`
}

Supplier defines model for Supplier.

type SupplierContact

type SupplierContact struct {
	// Email The contact's email.
	Email string `json:"email"`

	// FirstName The contact's first name.
	FirstName string `json:"firstName"`

	// LastName The contact's last name.
	LastName string `json:"lastName"`

	// Phone The contact's phone number.
	Phone string `json:"phone"`

	// Role The contact's role in the supplier company.
	Role string `json:"role"`
}

SupplierContact defines model for SupplierContact.

type Tag

type Tag struct {
	// Code The tag's account in the ERP system.
	Code string `json:"code"`

	// DimensionCode The dimension code associated to the tag.
	DimensionCode string `json:"dimensionCode"`

	// Id The tag's internal id.
	Id *string `json:"id,omitempty"`

	// Name The tag's clear name.
	Name string `json:"name"`

	// StatusActive Whether the tag is active.
	StatusActive bool `json:"statusActive"`
}

Tag defines model for Tag.

type TaxItem

type TaxItem struct {
	// Gross Gross amount subject to the indicated tax rate in expense currency.
	Gross *float32 `json:"gross,omitempty"`

	// RateId Yokoy's internal reference of the tax rate.
	RateId *string `json:"rateId,omitempty"`

	// Tax tax amount in expense currency.
	Tax *float32 `json:"tax,omitempty"`
}

TaxItem defines model for TaxItem.

type TaxRate

type TaxRate struct {
	// AccountReference The tax rates's account reference.
	AccountReference string `json:"accountReference"`

	// Code The tax rates's code.
	Code string `json:"code"`

	// Country The tax rates's country, ISO string.
	Country string `json:"country"`

	// CustomInformation Dictionary of custom information associated to the tax rate.
	CustomInformation *map[string]string `json:"customInformation"`

	// Id The tax rate's internal id.
	Id *string `json:"id,omitempty"`

	// Name The tax rates's name.
	Name string `json:"name"`

	// Rate The tax rates's numerical rate.
	Rate float32 `json:"rate"`

	// StatusActive Whether the tax rate is active.
	StatusActive bool `json:"statusActive"`
}

TaxRate defines model for TaxRate.

type TooManyRequests

type TooManyRequests = Error

TooManyRequests defines model for TooManyRequests.

type Trip

type Trip struct {
	// Created Datetime when the trip was created
	Created *string `json:"created,omitempty"`

	// Currency Original trip currency as ISO4217 country currency code
	Currency *string `json:"currency,omitempty"`

	// CustomInformation Dictionary of custom information associated to the trip.
	CustomInformation *map[string]string `json:"customInformation"`

	// EndDatetime End-datetime of the trip in format YYYY-MM-DDThh:mm.
	EndDatetime *string `json:"endDatetime,omitempty"`

	// Id The trip's internal id.
	Id *string `json:"id,omitempty"`

	// LastModified Datetime when the trip was last modified
	LastModified *string `json:"lastModified,omitempty"`

	// LegalEntityId The internal legal entity id identifying the legal entity to which the trip is assigned
	LegalEntityId *string `json:"legalEntityId,omitempty"`

	// Name Name or short description of the trip (free text descriptions added by users).
	Name *string `json:"name,omitempty"`

	// StartDatetime Start-datetime of the trip in format YYYY-MM-DDThh:mm.
	StartDatetime *string `json:"startDatetime,omitempty"`

	// Status Trip status reflecting the overall status of all expenses assigned to the trip
	Status TripStatus `json:"status"`

	// TotalClaim Total claim of the trip
	TotalClaim *float32 `json:"totalClaim"`

	// UserId The internal user id
	UserId *string `json:"userId"`
}

Trip defines model for Trip.

type TripStatus

type TripStatus string

TripStatus Trip status reflecting the overall status of all expenses assigned to the trip

const (
	TripStatusDraft                        TripStatus = "draft"
	TripStatusExpenseExported              TripStatus = "expenseExported"
	TripStatusForApproval                  TripStatus = "forApproval"
	TripStatusForExpenseExport             TripStatus = "forExpenseExport"
	TripStatusForReview                    TripStatus = "forReview"
	TripStatusForTransactionExport         TripStatus = "forTransactionExport"
	TripStatusNeedsRevision                TripStatus = "needsRevision"
	TripStatusReadyForTripSubmission       TripStatus = "readyForTripSubmission"
	TripStatusRejected                     TripStatus = "rejected"
	TripStatusTransactionExported          TripStatus = "transactionExported"
	TripStatusTravelDraft                  TripStatus = "travelDraft"
	TripStatusTripPreApprovalDraft         TripStatus = "tripPreApprovalDraft"
	TripStatusTripPreApprovalInPreApproval TripStatus = "tripPreApprovalInPreApproval"
	TripStatusTripPreApprovalNeedsRevision TripStatus = "tripPreApprovalNeedsRevision"
	TripStatusTripPreApprovalPreApproved   TripStatus = "tripPreApprovalPreApproved"
	TripStatusTripPreApprovalRejected      TripStatus = "tripPreApprovalRejected"
)

Defines values for TripStatus.

type Unauthorized

type Unauthorized = Error

Unauthorized defines model for Unauthorized.

type User

type User struct {
	// CostCenterId The internal cost center id of the associated cost center.
	CostCenterId *string `json:"costCenterId"`

	// CustomInformation Dictionary of custom information associated to the user.
	CustomInformation *map[string]string `json:"customInformation"`

	// Email The user's email address, used to log into the Yokoy tool.
	Email string `json:"email"`

	// EmployeeId The creditor account number of the user.
	EmployeeId string `json:"employeeId"`

	// FirstName The user's given name.
	FirstName string `json:"firstName"`

	// Id The user's internal id.
	Id *string `json:"id,omitempty"`

	// InvitationOnCreation Whether the user is supposed to be invited when created or activated.
	InvitationOnCreation *bool `json:"invitationOnCreation"`

	// Language The user's preferred language for using Yokoy.
	Language *UserLanguage `json:"language"`

	// LastName The user's family name.
	LastName string `json:"lastName"`

	// LegalEntityId The internal legal entity id identifying the user's legal entity.
	LegalEntityId string `json:"legalEntityId"`

	// LineManagerId The internal user id of the user acting as the user's line manager.
	LineManagerId *string `json:"lineManagerId"`

	// LineManagerThreshold Approval limit in legal entity currency.
	LineManagerThreshold *float32 `json:"lineManagerThreshold"`

	// PolicyId The internal policy id of the associated employee policy id.
	PolicyId *string `json:"policyId"`

	// StatusActive Whether the user is active, i.e. can log into Yokoy.
	StatusActive bool `json:"statusActive"`

	// SubmissionDelegateId The internal user id of the user acting as the user's submission delegate.
	SubmissionDelegateId *string `json:"submissionDelegateId"`
}

User defines model for User.

type UserLanguage

type UserLanguage string

UserLanguage The user's preferred language for using Yokoy.

const (
	UserLanguageDe   UserLanguage = "de"
	UserLanguageDeCh UserLanguage = "de-ch"
	UserLanguageEn   UserLanguage = "en"
	UserLanguageEnGb UserLanguage = "en-gb"
	UserLanguageFr   UserLanguage = "fr"
)

Defines values for UserLanguage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL