Business Contracts

Business Contracts · GPT アクション

BusinessContracts

  • POST /contract/parties-identificationSaves Parties' Identification information.
  • POST /contract/contract-basicsSaves Contract Basics information
  • POST /contract/scope-of-workSaves Scope of Work/Deliverables information
  • POST /contract/payment-termsSaves Payment Terms information
  • POST /contract/confidentialitySaves Confidentiality & Non-Disclosure information
  • POST /contract/intellectual-propertySaves Intellectual Property information
  • POST /contract/representations-and-warrantiesSaves Representations & Warranties information
  • POST /contract/liability-and-indemnificationSaves Liability & Indemnification information
  • POST /contract/dispute-resolutionSaves Dispute Resolution information
  • GET /contract/get-logo-upload-linkGenerates a unique link that users use to upload their logo
  • GET /contract/save-logoYou must call with endpoint when the user provides logo: either its url or tells that he's uploaded it.'
元の API スキーマ
{
  "openapi": "3.0.1",
  "info": {
    "title": "BusinessContracts",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.copilot.us/run/654d23dc80b7a5ccae50e700/65786cb0956caf0360799198"
    }
  ],
  "paths": {
    "/contract/parties-identification": {
      "post": {
        "operationId": "SavePartiesIdentificationInfo",
        "summary": "Saves Parties' Identification information.",
        "requestBody": {
          "description": "Body containing Parties' Identification details.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PartiesIdentification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Information about the success of the operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessfulResponse"
                }
              }
            }
          },
          "400": {
            "description": "Occurs when there's an error in the request or processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FailedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/contract/contract-basics": {
      "post": {
        "operationId": "SaveContractBasicsInfo",
        "summary": "Saves Contract Basics information",
        "requestBody": {
          "description": "Body containing Contract Basics details.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContractBasics"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Information about the success of the operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessfulResponse"
                }
              }
            }
          }
        }
      }
    },
    "/contract/scope-of-work": {
      "post": {
        "operationId": "SaveScopeOfWorkInfo",
        "summary": "Saves Scope of Work/Deliverables information",
        "requestBody": {
          "description": "Body containing Scope of Work/Deliverables details.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScopeOfWorkBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Information about the success of the operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessfulResponse"
                }
              }
            }
          }
        }
      }
    },
    "/contract/payment-terms": {
      "post": {
        "operationId": "SavePaymentTermsInfo",
        "summary": "Saves Payment Terms information",
        "requestBody": {
          "description": "Body containing Payment Terms details.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentTerms"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Information about the success of the operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessfulResponse"
                }
              }
            }
          }
        }
      }
    },
    "/contract/confidentiality": {
      "post": {
        "operationId": "SaveConfidentialityInfo",
        "summary": "Saves Confidentiality & Non-Disclosure information",
        "requestBody": {
          "description": "Body containing Confidentiality & Non-Disclosure details.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Confidentiality"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Information about the success of the operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessfulResponse"
                }
              }
            }
          }
        }
      }
    },
    "/contract/intellectual-property": {
      "post": {
        "operationId": "SaveIntellectualPropertyInfo",
        "summary": "Saves Intellectual Property information",
        "requestBody": {
          "description": "Body containing Intellectual Property details.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntellectualProperty"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Information about the success of the operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessfulResponse"
                }
              }
            }
          }
        }
      }
    },
    "/contract/representations-and-warranties": {
      "post": {
        "operationId": "SaveRepresentationsAndWarrantiesInfo",
        "summary": "Saves Representations & Warranties information",
        "requestBody": {
          "description": "Body containing Representations & Warranties details.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RepresentationsAndWarranties"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Information about the success of the operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessfulResponse"
                }
              }
            }
          }
        }
      }
    },
    "/contract/liability-and-indemnification": {
      "post": {
        "operationId": "SaveLiabilityAndIndemnificationInfo",
        "summary": "Saves Liability & Indemnification information",
        "requestBody": {
          "description": "Body containing Liability & Indemnification details.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LiabilityAndIndemnification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Information about the success of the operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessfulResponse"
                }
              }
            }
          }
        }
      }
    },
    "/contract/dispute-resolution": {
      "post": {
        "operationId": "SaveDisputeResolutionInfo",
        "summary": "Saves Dispute Resolution information",
        "requestBody": {
          "description": "Body containing Dispute Resolution details.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisputeResolution"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Information about the success of the operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessfulResponse"
                }
              }
            }
          }
        }
      }
    },
    "/contract/get-logo-upload-link": {
      "get": {
        "operationId": "GetLinkForLogoUpload",
        "summary": "Generates a unique link that users use to upload their logo",
        "responses": {
          "200": {
            "description": "The logo upload link.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/logoUploadResponse"
                }
              }
            }
          }
        }
      }
    },
    "/contract/save-logo": {
      "get": {
        "operationId": "SaveLogo",
        "summary": "You must call with endpoint when the user provides logo: either its url or tells that he's uploaded it.'",
        "parameters": [
          {
            "name": "logoUrl",
            "in": "query",
            "description": "URL of the logo to be saved. Populate this field only if the user has provided it. Otherwise, leave it empty.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Confirmation of the logo saving operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessfulResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PartiesIdentification": {
        "type": "object",
        "properties": {
          "partyAName": {
            "type": "string",
            "description": "Party A full legal name."
          },
          "partyAAddress": {
            "type": "string",
            "description": "Party A address."
          },
          "partyBName": {
            "type": "string",
            "description": "Party B full legal name."
          },
          "partyBAddress": {
            "type": "string",
            "description": "Party B address."
          }
        }
      },
      "ContractBasics": {
        "type": "object",
        "properties": {
          "effectiveDate": {
            "type": "string",
            "description": "Effective date."
          },
          "duration": {
            "type": "string",
            "nullable": true,
            "description": "Duration/term."
          },
          "terminationConditions": {
            "type": "string",
            "nullable": true,
            "description": "Termination conditions and notice."
          }
        }
      },
      "ScopeOfWorkBody": {
        "type": "object",
        "properties": {
          "scopeOfWork": {
            "$ref": "#/components/schemas/ListScopeOfWork"
          }
        }
      },
      "ListScopeOfWork": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/ScopeOfWork"
        }
      },
      "ScopeOfWork": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "Description of products/services."
          },
          "number": {
            "type": "int",
            "nullable": true,
            "description": "Number of projects."
          },
          "price": {
            "type": "double",
            "nullable": true,
            "description": "Price of project."
          }
        }
      },
      "PaymentTerms": {
        "type": "object",
        "properties": {
          "currencyType": {
            "type": "string",
            "description": "Payment amounts."
          },
          "paymentAmounts": {
            "type": "double",
            "description": "Payment amounts."
          },
          "paymentSchedule": {
            "type": "string",
            "nullable": true,
            "description": "Payment schedule."
          },
          "paymentMethods": {
            "type": "string",
            "description": "Accepted payment methods."
          },
          "latePaymentPenalties": {
            "type": "string",
            "nullable": true,
            "description": "Late payment penalties/interest."
          }
        }
      },
      "Confidentiality": {
        "type": "object",
        "properties": {
          "definitionOfConfidentialInfo": {
            "type": "string",
            "nullable": true,
            "description": "Definition of confidential information."
          },
          "durationOfObligations": {
            "type": "string",
            "nullable": true,
            "description": "Duration of obligations."
          }
        }
      },
      "IntellectualProperty": {
        "type": "object",
        "properties": {
          "licensingRights": {
            "type": "string",
            "nullable": true,
            "description": "Licensing rights/restrictions."
          },
          "originalityWarranties": {
            "type": "string",
            "nullable": true,
            "description": "Originality warranties."
          }
        }
      },
      "RepresentationsAndWarranties": {
        "type": "object",
        "properties": {
          "affirmationsOfFacts": {
            "type": "string",
            "nullable": true,
            "description": "Affirmations of facts/conditions."
          },
          "productWarranties": {
            "type": "string",
            "nullable": true,
            "description": "Product/service warranties."
          }
        }
      },
      "LiabilityAndIndemnification": {
        "type": "object",
        "properties": {
          "liabilityLimitations": {
            "type": "string",
            "nullable": true,
            "description": "Liability limitations."
          },
          "indemnityClauses": {
            "type": "string",
            "nullable": true,
            "description": "Indemnity clauses."
          }
        }
      },
      "DisputeResolution": {
        "type": "object",
        "properties": {
          "law": {
            "type": "string",
            "nullable": true,
            "description": "Choice of law."
          },
          "arbitrationOrMediationClauses": {
            "type": "string",
            "nullable": true,
            "description": "Arbitration/mediation clauses."
          },
          "legalDisputeVenue": {
            "type": "string",
            "description": "Legal dispute venue."
          }
        }
      },
      "SuccessfulResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "responseInstructions": {
            "type": "string",
            "description": "Instructions or feedback."
          }
        }
      },
      "logoUploadResponse": {
        "type": "object",
        "properties": {
          "responseInstructions": {
            "type": "string",
            "description": "Encourage the user to use this link to upload company logo. Ask user to let you know when it's done and resume is uplaoded.'"
          },
          "logoUploadLink": {
            "type": "string",
            "description": "The company logo upload link"
          }
        }
      }
    }
  }
}