Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / public / schemas / openapi / openapi.rpc.yml
diff --git a/public/schemas/openapi/openapi.rpc.yml b/public/schemas/openapi/openapi.rpc.yml
new file mode 100644 (file)
index 0000000..21b7d94
--- /dev/null
@@ -0,0 +1,3717 @@
+openapi: 3.0.3
+info:
+  title: XCally Motion RPC API
+  description: OpenAPI document for XCally Motion JSON-RPC 2.0 API (check
+    https://en.wikipedia.org/wiki/JSON-RPC)
+  termsOfService: http://xcally.com/terms/
+  contact:
+    name: API Support
+    url: http://www.xcally.com/support
+    email: support@xcally.com
+  license:
+    name: XCally EULA
+    url: http://xcally.com/eula/
+  version: 3.0.0.alpha
+servers:
+  - url: http://localhost:9001/
+    description: Local RPC Motion instance
+  - url: http://localhost:9002/
+    description: Local RPC AMI instance
+  - url: http://localhost:9003/
+    description: Local RPC Email instance
+  - url: http://localhost:9004/
+    description: Local RPC Routing instance
+paths:
+  /CreateAttachment:
+    post:
+      summary: (RPC) Creates a new Attachment
+      operationId: rpcCreateAttachment
+      tags:
+        - Attachments
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetCampaign:
+    post:
+      summary: (RPC) Gets a list of IVR Campaigns
+      operationId: rpcGetCampaign
+      tags:
+        - IVR Campaigns
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateChatInteraction:
+    post:
+      summary: (RPC) Updates an existing Interaction
+      operationId: rpcUpdateChatInteraction
+      tags:
+        - Chat Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /AddTagsToChatInteraction:
+    post:
+      summary: (RPC) Add Tags to Chat interaction
+      operationId: rpcAddTagsToChatInteraction
+      tags:
+        - Chat Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateChatMessage:
+    post:
+      summary: (RPC) Creates a new Message
+      operationId: rpcCreateChatMessage
+      tags:
+        - Chat Messages
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetChatQueue:
+    post:
+      summary: (RPC) Gets a list of Queues
+      operationId: rpcGetChatQueue
+      tags:
+        - Chat Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowChatQueue:
+    post:
+      summary: (RPC) Gets a single Queue
+      operationId: rpcShowChatQueue
+      tags:
+        - Chat Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateChatQueueReport:
+    post:
+      summary: (RPC) Creates a new Chat Queue Report
+      operationId: rpcCreateChatQueueReport
+      tags:
+        - Chat Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateChatQueueReport:
+    post:
+      summary: (RPC) Updates an existing Chat Queue Report
+      operationId: rpcUpdateChatQueueReport
+      tags:
+        - Chat Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetCmContact:
+    post:
+      summary: (RPC) Gets a list of Contacts
+      operationId: rpcGetCmContact
+      tags:
+        - Cm Contacts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateCmContact:
+    post:
+      summary: (RPC) Creates a new Contact
+      operationId: rpcCreateCmContact
+      tags:
+        - Cm Contacts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetCmHopper:
+    post:
+      summary: (RPC) Gets a list of Hopper
+      operationId: rpcGetCmHopper
+      tags:
+        - Cm Hopper
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowCmHopper:
+    post:
+      summary: (RPC) Gets a single Hopper
+      operationId: rpcShowCmHopper
+      tags:
+        - Cm Hopper
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateCmHopper:
+    post:
+      summary: (RPC) Creates a new Hopper
+      operationId: rpcCreateCmHopper
+      tags:
+        - Cm Hopper
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateCmHopper:
+    post:
+      summary: (RPC) Updates an existing Hopper
+      operationId: rpcUpdateCmHopper
+      tags:
+        - Cm Hopper
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /DestroyCmHopper:
+    post:
+      summary: (RPC) Destroy an existing Hopper
+      operationId: rpcDestroyCmHopper
+      tags:
+        - Cm Hopper
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetContactDialer:
+    post:
+      summary: (RPC) Get a contact for dialer
+      operationId: rpcGetGetContactDialer
+      tags:
+        - Cm Hopper
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /MoveContactManagedDialer:
+    post:
+      summary: (RPC) move a contact for dialer
+      operationId: rpcMoveContactManagedDialer
+      tags:
+        - Cm Hopper
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetCmHopperHistory:
+    post:
+      summary: (RPC) Count rescheduled contacts
+      operationId: rpcGetCmHopperHistory
+      tags:
+        - Cm Hopper History
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetContactRecallMe:
+    post:
+      summary: (RPC) Get a contact for preview recallme
+      operationId: rpcGetContactRecallMe
+      tags:
+        - Cm Hopper
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetCmHopperPreview:
+    post:
+      summary: (RPC) Get Cm Hopper Preview
+      operationId: rpcGetCmHopperPreview
+      tags:
+        - Cm Hopper
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetCmHopperBlack:
+    post:
+      summary: (RPC) Gets a list of Hopper Black
+      operationId: rpcGetCmHopperBlack
+      tags:
+        - Cm Hopper Black
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateCmHopperBlack:
+    post:
+      summary: (RPC) Updates an existing Hopper Black
+      operationId: rpcUpdateCmHopperBlack
+      tags:
+        - Cm Hopper Black
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /DestroyCmHopperBlack:
+    post:
+      summary: (RPC) Destroy an existing Hopper Black
+      operationId: rpcDestroyCmHopperBlack
+      tags:
+        - Cm Hopper Black
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateCmHopperFinal:
+    post:
+      summary: (RPC) Creates a new HopperFinal
+      operationId: rpcCreateCmHopperFinal
+      tags:
+        - Cm Hopper Final
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateCmHopperHistory:
+    post:
+      summary: (RPC) Creates a new HopperHistory
+      operationId: rpcCreateCmHopperHistory
+      tags:
+        - Cm Hopper History
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /AvgHandleTime:
+    post:
+      summary: (RPC) Gets a avg of talktime and holdtime
+      operationId: rpcAvgHandleTime
+      tags:
+        - Cm Hopper History
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /getVoiceQueueHopperHistory:
+    post:
+      summary: (RPC) Counts no succes calls
+      operationId: rpcGetVoiceQueueHopperHistory
+      tags:
+        - Cm Hopper History
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /getCampaignHopperHistory:
+    post:
+      summary: (RPC) Counts no succes calls
+      operationId: rpcGetCampaignHopperHistory
+      tags:
+        - Cm Hopper History
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetFaxAccount:
+    post:
+      summary: (RPC) Gets a list of Accounts
+      operationId: rpcGetFaxAccount
+      tags:
+        - Fax Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateFaxApplication:
+    post:
+      summary: (RPC) Updates an existing Application
+      operationId: rpcUpdateFaxApplication
+      tags:
+        - Fax Applications
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateFaxInteraction:
+    post:
+      summary: (RPC) Updates an existing Interaction
+      operationId: rpcUpdateFaxInteraction
+      tags:
+        - Fax Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /AddTagsToFaxInteraction:
+    post:
+      summary: (RPC) Add Tags to Fax interaction
+      operationId: rpcAddTagsToFaxInteraction
+      tags:
+        - Fax Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateFaxMessage:
+    post:
+      summary: (RPC) Creates a new Message
+      operationId: rpcCreateFaxMessage
+      tags:
+        - Fax Messages
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateFaxMessage:
+    post:
+      summary: (RPC) Updates an existing Message
+      operationId: rpcUpdateFaxMessage
+      tags:
+        - Fax Messages
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetFaxQueue:
+    post:
+      summary: (RPC) Gets a list of Queues
+      operationId: rpcGetFaxQueue
+      tags:
+        - Fax Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowFaxQueue:
+    post:
+      summary: (RPC) Gets a single Queue
+      operationId: rpcShowFaxQueue
+      tags:
+        - Fax Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateFaxQueueReport:
+    post:
+      summary: (RPC) Creates a new Fax Queue Report
+      operationId: rpcCreateFaxQueueReport
+      tags:
+        - Fax Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateFaxQueueReport:
+    post:
+      summary: (RPC) Updates an existing Fax Queue Report
+      operationId: rpcUpdateFaxQueueReport
+      tags:
+        - Fax Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetDeskAccount:
+    post:
+      summary: (RPC) Gets a list of Desk Accounts
+      operationId: rpcGetDeskAccount
+      tags:
+        - Desk Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowDeskAccount:
+    post:
+      summary: (RPC) Gets a single Desk Account
+      operationId: rpcShowDeskAccount
+      tags:
+        - Desk Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetDynamics365Account:
+    post:
+      summary: (RPC) Gets a list of Dynamics365 Accounts
+      operationId: rpcGetDynamics365Account
+      tags:
+        - Dynamics365 Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowDynamics365Account:
+    post:
+      summary: (RPC) Gets a single Dynamics365 Account
+      operationId: rpcShowDynamics365Account
+      tags:
+        - Dynamics365 Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetInterval:
+    post:
+      summary: (RPC) Gets a list of Intervals
+      operationId: rpcGetInterval
+      tags:
+        - Intervals
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowInterval:
+    post:
+      summary: (RPC) Gets a single Interval
+      operationId: rpcShowInterval
+      tags:
+        - Intervals
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetFreshdeskAccount:
+    post:
+      summary: (RPC) Gets a list of Freshdesk Accounts
+      operationId: rpcGetFreshdeskAccount
+      tags:
+        - Freshdesk Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowFreshdeskAccount:
+    post:
+      summary: (RPC) Gets a single Freshdesk Account
+      operationId: rpcShowFreshdeskAccount
+      tags:
+        - Freshdesk Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetFreshsalesAccount:
+    post:
+      summary: (RPC) Gets a list of Freshsales Accounts
+      operationId: rpcGetFreshsalesAccount
+      tags:
+        - Freshsales Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowFreshsalesAccount:
+    post:
+      summary: (RPC) Gets a single Freshsales Account
+      operationId: rpcShowFreshsalesAccount
+      tags:
+        - Freshsales Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetSalesforceAccount:
+    post:
+      summary: (RPC) Gets a list of Salesforce Accounts
+      operationId: rpcGetSalesforceAccount
+      tags:
+        - Salesforce Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowSalesforceAccount:
+    post:
+      summary: (RPC) Gets a single Salesforce Account
+      operationId: rpcShowSalesforceAccount
+      tags:
+        - Salesforce Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetServicenowAccount:
+    post:
+      summary: (RPC) Gets a list of Servicenow Accounts
+      operationId: rpcGetServicenowAccount
+      tags:
+        - Servicenow Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowServicenowAccount:
+    post:
+      summary: (RPC) Gets a single Servicenow Account
+      operationId: rpcShowServicenowAccount
+      tags:
+        - Servicenow Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetSugarcrmAccount:
+    post:
+      summary: (RPC) Gets a list of Sugarcrm Accounts
+      operationId: rpcGetSugarcrmAccount
+      tags:
+        - Sugarcrm Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowSugarcrmAccount:
+    post:
+      summary: (RPC) Gets a single Sugarcrm Account
+      operationId: rpcShowSugarcrmAccount
+      tags:
+        - Sugarcrm Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetVtigerAccount:
+    post:
+      summary: (RPC) Gets a list of Vtiger Accounts
+      operationId: rpcGetVtigerAccount
+      tags:
+        - Vtiger Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowVtigerAccount:
+    post:
+      summary: (RPC) Gets a single Vtiger Account
+      operationId: rpcShowVtigerAccount
+      tags:
+        - Vtiger Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetZendeskAccount:
+    post:
+      summary: (RPC) Gets a list of Zendesk Accounts
+      operationId: rpcGetZendeskAccount
+      tags:
+        - Zendesk Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowZendeskAccount:
+    post:
+      summary: (RPC) Gets a single Zendesk Account
+      operationId: rpcShowZendeskAccount
+      tags:
+        - Zendesk Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetZohoAccount:
+    post:
+      summary: (RPC) Gets a list of Zoho Accounts
+      operationId: rpcGetZohoAccount
+      tags:
+        - Zoho Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowZohoAccount:
+    post:
+      summary: (RPC) Gets a single Zoho Account
+      operationId: rpcShowZohoAccount
+      tags:
+        - Zoho Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetMailAccount:
+    post:
+      summary: (RPC) Gets a list of Accounts
+      operationId: rpcGetMailAccount
+      tags:
+        - Mail Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowMailAccount:
+    post:
+      summary: (RPC) Gets a single Account
+      operationId: rpcShowMailAccount
+      tags:
+        - Mail Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /NotifyMailAccount:
+    post:
+      summary: (RPC) notify
+      operationId: rpcNotifyMailAccount
+      tags:
+        - Mail Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateMailApplication:
+    post:
+      summary: (RPC) Updates an existing Application
+      operationId: rpcUpdateMailApplication
+      tags:
+        - Mail Applications
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateMailInteraction:
+    post:
+      summary: (RPC) Updates an existing Interaction
+      operationId: rpcUpdateMailInteraction
+      tags:
+        - Mail Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /AddTagsToMailInteraction:
+    post:
+      summary: (RPC) Add Tags to Mail interaction
+      operationId: rpcAddTagsToMailInteraction
+      tags:
+        - Mail Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateMailMessage:
+    post:
+      summary: (RPC) Creates a new Message
+      operationId: rpcCreateMailMessage
+      tags:
+        - Mail Messages
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetMailQueue:
+    post:
+      summary: (RPC) Gets a list of Queues
+      operationId: rpcGetMailQueue
+      tags:
+        - Mail Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowMailQueue:
+    post:
+      summary: (RPC) Gets a single Queue
+      operationId: rpcShowMailQueue
+      tags:
+        - Mail Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateMailQueueReport:
+    post:
+      summary: (RPC) Creates a new Mail Queue Report
+      operationId: rpcCreateMailQueueReport
+      tags:
+        - Mail Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateMailQueueReport:
+    post:
+      summary: (RPC) Updates an existing Mail Queue Report
+      operationId: rpcUpdateMailQueueReport
+      tags:
+        - Mail Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetMailServerIn:
+    post:
+      summary: (RPC) Gets a list of IMAPs
+      operationId: rpcGetMailServerIn
+      tags:
+        - Mail IMAP
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetMemberReport:
+    post:
+      summary: (RPC) Gets a list of Member Reports
+      operationId: rpcGetMemberReport
+      tags:
+        - Member Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateMemberReport:
+    post:
+      summary: (RPC) Creates a new Member Report
+      operationId: rpcCreateMemberReport
+      tags:
+        - Member Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateMemberReport:
+    post:
+      summary: (RPC) Updates an existing Member Report
+      operationId: rpcUpdateMemberReport
+      tags:
+        - Member Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateOpenchannelApplication:
+    post:
+      summary: (RPC) Updates an existing Application
+      operationId: rpcUpdateOpenchannelApplication
+      tags:
+        - Openchannel Applications
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateOpenchannelInteraction:
+    post:
+      summary: (RPC) Updates an existing Interaction
+      operationId: rpcUpdateOpenchannelInteraction
+      tags:
+        - Openchannel Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /AddTagsToOpenchannelInteraction:
+    post:
+      summary: (RPC) Add Tags to Openchannel interaction
+      operationId: rpcAddTagsToOpenchannelInteraction
+      tags:
+        - Openchannel Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateOpenchannelMessage:
+    post:
+      summary: (RPC) Creates a new Message
+      operationId: rpcCreateOpenchannelMessage
+      tags:
+        - Openchannel Messages
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetOpenchannelQueue:
+    post:
+      summary: (RPC) Gets a list of Queues
+      operationId: rpcGetOpenchannelQueue
+      tags:
+        - Openchannel Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowOpenchannelQueue:
+    post:
+      summary: (RPC) Gets a single Queue
+      operationId: rpcShowOpenchannelQueue
+      tags:
+        - Openchannel Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateOpenchannelQueueReport:
+    post:
+      summary: (RPC) Creates a new Openchannel Queue Report
+      operationId: rpcCreateOpenchannelQueueReport
+      tags:
+        - Openchannel Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateOpenchannelQueueReport:
+    post:
+      summary: (RPC) Updates an existing Openchannel Queue Report
+      operationId: rpcUpdateOpenchannelQueueReport
+      tags:
+        - Openchannel Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowPause:
+    post:
+      summary: (RPC) Gets a single Pause
+      operationId: rpcShowPause
+      tags:
+        - Pauses
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreatePlugin:
+    post:
+      summary: (RPC) Creates a new Plugin
+      operationId: rpcCreatePlugin
+      tags:
+        - Plugins
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateReportAgentPreview:
+    post:
+      summary: (RPC) Creates a new ReportAgentPreview
+      operationId: rpcCreateReportAgentPreview
+      tags:
+        - Report Agent Preview
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowSmsAccount:
+    post:
+      summary: (RPC) Gets a single Account
+      operationId: rpcShowSmsAccount
+      tags:
+        - Sms Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateSmsInteraction:
+    post:
+      summary: (RPC) Updates an existing Interaction
+      operationId: rpcUpdateSmsInteraction
+      tags:
+        - Sms Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /AddTagsToSmsInteraction:
+    post:
+      summary: (RPC) Add Tags to Sms interaction
+      operationId: rpcAddTagsToSmsInteraction
+      tags:
+        - Sms Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateSmsMessage:
+    post:
+      summary: (RPC) Creates a new Message
+      operationId: rpcCreateSmsMessage
+      tags:
+        - Sms Messages
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetSmsQueue:
+    post:
+      summary: (RPC) Gets a list of Queues
+      operationId: rpcGetSmsQueue
+      tags:
+        - Sms Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowSmsQueue:
+    post:
+      summary: (RPC) Gets a single Queue
+      operationId: rpcShowSmsQueue
+      tags:
+        - Sms Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateSmsQueueReport:
+    post:
+      summary: (RPC) Creates a new Sms Queue Report
+      operationId: rpcCreateSmsQueueReport
+      tags:
+        - Sms Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateSmsQueueReport:
+    post:
+      summary: (RPC) Updates an existing Sms Queue Report
+      operationId: rpcUpdateSmsQueueReport
+      tags:
+        - Sms Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowSound:
+    post:
+      summary: (RPC) Gets a single Sound
+      operationId: rpcShowSound
+      tags:
+        - Sounds
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateSquareMessage:
+    post:
+      summary: (RPC) Creates a new Message
+      operationId: rpcCreateSquareMessage
+      tags:
+        - Square Messages
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowSquareOdbc:
+    post:
+      summary: (RPC) Gets a single ODBC
+      operationId: rpcShowSquareOdbc
+      tags:
+        - Square ODBC
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowSquareProject:
+    post:
+      summary: (RPC) Gets a single Project
+      operationId: rpcShowSquareProject
+      tags:
+        - Square Projects
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateSquareRecording:
+    post:
+      summary: (RPC) Creates a new Recording
+      operationId: rpcCreateSquareRecording
+      tags:
+        - Square Recordings
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateSquareReport:
+    post:
+      summary: (RPC) Creates a new Square Report
+      operationId: rpcCreateSquareReport
+      tags:
+        - Square Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateSquareReport:
+    post:
+      summary: (RPC) Updates an existing Square Report
+      operationId: rpcUpdateSquareReport
+      tags:
+        - Square Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateSquareDetailsReport:
+    post:
+      summary: (RPC) Creates a new Square Detail Report
+      operationId: rpcCreateSquareDetailsReport
+      tags:
+        - Square Details Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetTemplate:
+    post:
+      summary: (RPC) Gets a list of Templates
+      operationId: rpcGetTemplate
+      tags:
+        - Templates
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetTrigger:
+    post:
+      summary: (RPC) Gets a list of Triggers
+      operationId: rpcGetTrigger
+      tags:
+        - Triggers
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowTrigger:
+    post:
+      summary: (RPC) Gets a single Trigger
+      operationId: rpcShowTrigger
+      tags:
+        - Triggers
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetTrunk:
+    post:
+      summary: (RPC) Gets a list of Trunks
+      operationId: rpcGetTrunk
+      tags:
+        - Trunks
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowTrunk:
+    post:
+      summary: (RPC) Gets a single Trunk
+      operationId: rpcShowTrunk
+      tags:
+        - Trunks
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /getVoiceQueueRtPauses:
+    post:
+      summary: (RPC) Counts queue pauses
+      operationId: rpcGetVoiceQueueRtPauses
+      tags:
+        - UserVoiceQueueRt
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowVariable:
+    post:
+      summary: (RPC) Gets a single Variable
+      operationId: rpcShowVariable
+      tags:
+        - Variables
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateVoiceAgentReport:
+    post:
+      summary: (RPC) Creates a new Agent Report
+      operationId: rpcCreateVoiceAgentReport
+      tags:
+        - Voice Agent Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateVoiceAgentReport:
+    post:
+      summary: (RPC) Updates an existing Agent Report
+      operationId: rpcUpdateVoiceAgentReport
+      tags:
+        - Voice Agent Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetVoiceCallReport:
+    post:
+      summary: (RPC) Gets a list of Call Reports
+      operationId: rpcGetVoiceCallReport
+      tags:
+        - Voice Call Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateVoiceCallReport:
+    post:
+      summary: (RPC) Creates a new Call Report
+      operationId: rpcCreateVoiceCallReport
+      tags:
+        - Voice Call Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateVoiceCallReport:
+    post:
+      summary: (RPC) Updates an existing Call Report
+      operationId: rpcUpdateVoiceCallReport
+      tags:
+        - Voice Call Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateVoiceDialReport:
+    post:
+      summary: (RPC) Creates a new Dial Report
+      operationId: rpcCreateVoiceDialReport
+      tags:
+        - Voice Dial Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateVoiceDialReport:
+    post:
+      summary: (RPC) Updates an existing Dial Report
+      operationId: rpcUpdateVoiceDialReport
+      tags:
+        - Voice Dial Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetVoiceExtension:
+    post:
+      summary: (RPC) Gets a list of Extensions
+      operationId: rpcGetVoiceExtension
+      tags:
+        - Voice Extensions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetVoiceQueue:
+    post:
+      summary: (RPC) Gets a list of Queues
+      operationId: rpcGetVoiceQueue
+      tags:
+        - Voice Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowVoiceQueue:
+    post:
+      summary: (RPC) Gets a single Queue
+      operationId: rpcShowVoiceQueue
+      tags:
+        - Voice Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetVoiceQueueReport:
+    post:
+      summary: (RPC) Gets a list of Queue Reports
+      operationId: rpcGetVoiceQueueReport
+      tags:
+        - Voice Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateVoiceQueueReport:
+    post:
+      summary: (RPC) Creates a new Queue Report
+      operationId: rpcCreateVoiceQueueReport
+      tags:
+        - Voice Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateVoiceQueueReport:
+    post:
+      summary: (RPC) Updates an existing Queue Report
+      operationId: rpcUpdateVoiceQueueReport
+      tags:
+        - Voice Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateVoiceRecording:
+    post:
+      summary: (RPC) Updates an existing Recording
+      operationId: rpcUpdateVoiceRecording
+      tags:
+        - Voice Recordings
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateVoiceRecording:
+    post:
+      summary: (RPC) Creates a new Recording
+      operationId: rpcCreateVoiceRecording
+      tags:
+        - Voice Recordings
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateVoiceTransferReport:
+    post:
+      summary: (RPC) Creates a new Transfer Report
+      operationId: rpcCreateVoiceTransferReport
+      tags:
+        - Voice Transfer Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowWhatsappAccount:
+    post:
+      summary: (RPC) Gets a single Account
+      operationId: rpcShowWhatsappAccount
+      tags:
+        - Whatsapp Accounts
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateWhatsappInteraction:
+    post:
+      summary: (RPC) Updates an existing Interaction
+      operationId: rpcUpdateWhatsappInteraction
+      tags:
+        - Whatsapp Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /AddTagsToWhatsappInteraction:
+    post:
+      summary: (RPC) Add Tags to Whatsapp interaction
+      operationId: rpcAddTagsToWhatsappInteraction
+      tags:
+        - Whatsapp Interactions
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateWhatsappMessage:
+    post:
+      summary: (RPC) Creates a new Message
+      operationId: rpcCreateWhatsappMessage
+      tags:
+        - Whatsapp Messages
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /GetWhatsappQueue:
+    post:
+      summary: (RPC) Gets a list of Queues
+      operationId: rpcGetWhatsappQueue
+      tags:
+        - Whatsapp Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /ShowWhatsappQueue:
+    post:
+      summary: (RPC) Gets a single Queue
+      operationId: rpcShowWhatsappQueue
+      tags:
+        - Whatsapp Queues
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - get
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /CreateWhatsappQueueReport:
+    post:
+      summary: (RPC) Creates a new Whatsapp Queue Report
+      operationId: rpcCreateWhatsappQueueReport
+      tags:
+        - Whatsapp Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+  /UpdateWhatsappQueueReport:
+    post:
+      summary: (RPC) Updates an existing Whatsapp Queue Report
+      operationId: rpcUpdateWhatsappQueueReport
+      tags:
+        - Whatsapp Queue Reports
+      requestBody:
+        required: true
+        description: JSON-RPC Payload
+        content:
+          application/json:
+            schema:
+              allOf:
+                - $ref: "#/components/schemas/MotionJSONRPCRequest"
+                - type: object
+                  properties:
+                    method:
+                      type: string
+                      enum:
+                        - post
+      responses:
+        "200":
+          description: JSON-RPC Response (always 200)
+          content:
+            application/json:
+              schema:
+                $ref: "#/components/schemas/JSONRPCResponse"
+components:
+  schemas:
+    RPCError:
+      title: JSON RPC Error data
+      type: object
+      properties:
+        data:
+          type: object
+          description: Optional data
+        code:
+          type: string
+          description: Error code
+        message:
+          type: string
+          description: Error message
+      maxProperties: 2
+      minProperties: 2
+      required:
+        - code
+        - message
+    JSONRPCError:
+      title: JSON RPC Error Result
+      type: object
+      description: Error response
+      properties:
+        error:
+          $ref: "#/components/schemas/RPCError"
+        id:
+          type: string
+      maxProperties: 2
+      minProperties: 2
+      required:
+        - error
+    JSONRPCResult:
+      title: JSON RPC Result
+      type: object
+      description: Successful operation
+      properties:
+        result:
+          type: object
+          description: the result data if the operation is successfull
+        id:
+          type: string
+      maxProperties: 2
+      minProperties: 2
+      required:
+        - result
+    JSONRPCResponse:
+      title: JSON RPC Response
+      description: Response can be either error or result
+      oneOf:
+        - $ref: "#/components/schemas/JSONRPCResult"
+        - $ref: "#/components/schemas/JSONRPCError"
+    MotionJSONRPCRequestPayload:
+      type: object
+      description: RPC Payload
+      properties:
+        attributes:
+          type: object
+        where:
+          type: object
+    MotionJSONRPCRequest:
+      type: object
+      description: A typical Motion request with attributes and where as parameters
+      properties:
+        method:
+          type: string
+          enum:
+            - get
+            - post
+        params:
+          $ref: "#/components/schemas/MotionJSONRPCRequestPayload"
+        id:
+          type: string
+tags: []