-
↳ OrderConfirmationsApi
- addAttachmentToOrderConfirmationDraft
- addAttachmentToOrderConfirmationDraftRaw
- createOrderConfirmationDraft
- createOrderConfirmationDraftRaw
- createOrderConfirmationFromDraft
- createOrderConfirmationFromDraftRaw
- deleteOrderConfirmationDraft
- deleteOrderConfirmationDraftRaw
- getOrderConfirmation
- getOrderConfirmationDraft
- getOrderConfirmationDraftAttachments
- getOrderConfirmationDraftAttachmentsRaw
- getOrderConfirmationDraftRaw
- getOrderConfirmationDrafts
- getOrderConfirmationDraftsRaw
- getOrderConfirmationRaw
- getOrderConfirmations
- getOrderConfirmationsRaw
- request
- updateOrderConfirmationDraft
- updateOrderConfirmationDraftRaw
- withMiddleware
- withPostMiddleware
- withPreMiddleware
+ new OrderConfirmationsApi(configuration
: Configuration‹›): OrderConfirmationsApi
Inherited from BaseAPI.constructor
Parameters:
Name | Type | Default |
---|---|---|
configuration |
Configuration‹› | new Configuration() |
Returns: OrderConfirmationsApi
• configuration: Configuration‹›
Inherited from BaseAPI.configuration
▸ addAttachmentToOrderConfirmationDraft(requestParameters
: AddAttachmentToOrderConfirmationDraftRequest): Promise‹void›
Creates and adds a new attachment to an order confirmation draft
Parameters:
Name | Type |
---|---|
requestParameters |
AddAttachmentToOrderConfirmationDraftRequest |
Returns: Promise‹void›
▸ addAttachmentToOrderConfirmationDraftRaw(requestParameters
: AddAttachmentToOrderConfirmationDraftRequest): Promise‹ApiResponse‹void››
Creates and adds a new attachment to an order confirmation draft
Parameters:
Name | Type |
---|---|
requestParameters |
AddAttachmentToOrderConfirmationDraftRequest |
Returns: Promise‹ApiResponse‹void››
▸ createOrderConfirmationDraft(requestParameters
: CreateOrderConfirmationDraftRequest): Promise‹void›
Creates an order confirmation draft.
Parameters:
Name | Type |
---|---|
requestParameters |
CreateOrderConfirmationDraftRequest |
Returns: Promise‹void›
▸ createOrderConfirmationDraftRaw(requestParameters
: CreateOrderConfirmationDraftRequest): Promise‹ApiResponse‹void››
Creates an order confirmation draft.
Parameters:
Name | Type |
---|---|
requestParameters |
CreateOrderConfirmationDraftRequest |
Returns: Promise‹ApiResponse‹void››
▸ createOrderConfirmationFromDraft(requestParameters
: CreateOrderConfirmationFromDraftRequest): Promise‹void›
Creates an order confirmation from an already created draft.
Parameters:
Name | Type |
---|---|
requestParameters |
CreateOrderConfirmationFromDraftRequest |
Returns: Promise‹void›
▸ createOrderConfirmationFromDraftRaw(requestParameters
: CreateOrderConfirmationFromDraftRequest): Promise‹ApiResponse‹void››
Creates an order confirmation from an already created draft.
Parameters:
Name | Type |
---|---|
requestParameters |
CreateOrderConfirmationFromDraftRequest |
Returns: Promise‹ApiResponse‹void››
▸ deleteOrderConfirmationDraft(requestParameters
: DeleteOrderConfirmationDraftRequest): Promise‹void›
Delete order confirmation draft with specified id.
Parameters:
Name | Type |
---|---|
requestParameters |
DeleteOrderConfirmationDraftRequest |
Returns: Promise‹void›
▸ deleteOrderConfirmationDraftRaw(requestParameters
: DeleteOrderConfirmationDraftRequest): Promise‹ApiResponse‹void››
Delete order confirmation draft with specified id.
Parameters:
Name | Type |
---|---|
requestParameters |
DeleteOrderConfirmationDraftRequest |
Returns: Promise‹ApiResponse‹void››
▸ getOrderConfirmation(requestParameters
: GetOrderConfirmationRequest): Promise‹OrderConfirmation›
Returns order confirmation with specified id.
Parameters:
Name | Type |
---|---|
requestParameters |
GetOrderConfirmationRequest |
Returns: Promise‹OrderConfirmation›
▸ getOrderConfirmationDraft(requestParameters
: GetOrderConfirmationDraftRequest): Promise‹InvoiceishDraftResult›
Returns order confirmation draft with specified id.
Parameters:
Name | Type |
---|---|
requestParameters |
GetOrderConfirmationDraftRequest |
Returns: Promise‹InvoiceishDraftResult›
▸ getOrderConfirmationDraftAttachments(requestParameters
: GetOrderConfirmationDraftAttachmentsRequest): Promise‹Array‹Attachment››
Returns all attachments for specified draft.
Parameters:
Name | Type |
---|---|
requestParameters |
GetOrderConfirmationDraftAttachmentsRequest |
Returns: Promise‹Array‹Attachment››
▸ getOrderConfirmationDraftAttachmentsRaw(requestParameters
: GetOrderConfirmationDraftAttachmentsRequest): Promise‹ApiResponse‹Array‹Attachment›››
Returns all attachments for specified draft.
Parameters:
Name | Type |
---|---|
requestParameters |
GetOrderConfirmationDraftAttachmentsRequest |
Returns: Promise‹ApiResponse‹Array‹Attachment›››
▸ getOrderConfirmationDraftRaw(requestParameters
: GetOrderConfirmationDraftRequest): Promise‹ApiResponse‹InvoiceishDraftResult››
Returns order confirmation draft with specified id.
Parameters:
Name | Type |
---|---|
requestParameters |
GetOrderConfirmationDraftRequest |
Returns: Promise‹ApiResponse‹InvoiceishDraftResult››
▸ getOrderConfirmationDrafts(requestParameters
: GetOrderConfirmationDraftsRequest): Promise‹Array‹InvoiceishDraftResult››
Returns all order confirmation drafts for given company.
Parameters:
Name | Type |
---|---|
requestParameters |
GetOrderConfirmationDraftsRequest |
Returns: Promise‹Array‹InvoiceishDraftResult››
▸ getOrderConfirmationDraftsRaw(requestParameters
: GetOrderConfirmationDraftsRequest): Promise‹ApiResponse‹Array‹InvoiceishDraftResult›››
Returns all order confirmation drafts for given company.
Parameters:
Name | Type |
---|---|
requestParameters |
GetOrderConfirmationDraftsRequest |
Returns: Promise‹ApiResponse‹Array‹InvoiceishDraftResult›››
▸ getOrderConfirmationRaw(requestParameters
: GetOrderConfirmationRequest): Promise‹ApiResponse‹OrderConfirmation››
Returns order confirmation with specified id.
Parameters:
Name | Type |
---|---|
requestParameters |
GetOrderConfirmationRequest |
Returns: Promise‹ApiResponse‹OrderConfirmation››
▸ getOrderConfirmations(requestParameters
: GetOrderConfirmationsRequest): Promise‹Array‹OrderConfirmation››
Returns all order confirmations for given company
Parameters:
Name | Type |
---|---|
requestParameters |
GetOrderConfirmationsRequest |
Returns: Promise‹Array‹OrderConfirmation››
▸ getOrderConfirmationsRaw(requestParameters
: GetOrderConfirmationsRequest): Promise‹ApiResponse‹Array‹OrderConfirmation›››
Returns all order confirmations for given company
Parameters:
Name | Type |
---|---|
requestParameters |
GetOrderConfirmationsRequest |
Returns: Promise‹ApiResponse‹Array‹OrderConfirmation›››
▸ request(context
: RequestOpts): Promise‹Response›
Inherited from BaseAPI.request
Parameters:
Name | Type |
---|---|
context |
RequestOpts |
Returns: Promise‹Response›
▸ updateOrderConfirmationDraft(requestParameters
: UpdateOrderConfirmationDraftRequest): Promise‹void›
Updates order confirmation draft with provided id.
Parameters:
Name | Type |
---|---|
requestParameters |
UpdateOrderConfirmationDraftRequest |
Returns: Promise‹void›
▸ updateOrderConfirmationDraftRaw(requestParameters
: UpdateOrderConfirmationDraftRequest): Promise‹ApiResponse‹void››
Updates order confirmation draft with provided id.
Parameters:
Name | Type |
---|---|
requestParameters |
UpdateOrderConfirmationDraftRequest |
Returns: Promise‹ApiResponse‹void››
▸ withMiddleware‹T›(this
: T, ...middlewares
: Middleware[]): T
Inherited from BaseAPI.withMiddleware
Type parameters:
▪ T: BaseAPI
Parameters:
Name | Type |
---|---|
this |
T |
...middlewares |
Middleware[] |
Returns: T
▸ withPostMiddleware‹T›(this
: T, ...postMiddlewares
: Array‹Middleware["post"]›): T
Inherited from BaseAPI.withPostMiddleware
Type parameters:
▪ T: BaseAPI
Parameters:
Name | Type |
---|---|
this |
T |
...postMiddlewares |
Array‹Middleware["post"]› |
Returns: T
▸ withPreMiddleware‹T›(this
: T, ...preMiddlewares
: Array‹Middleware["pre"]›): T
Inherited from BaseAPI.withPreMiddleware
Type parameters:
▪ T: BaseAPI
Parameters:
Name | Type |
---|---|
this |
T |
...preMiddlewares |
Array‹Middleware["pre"]› |
Returns: T