File tree Expand file tree Collapse file tree 1 file changed +96
-0
lines changed Expand file tree Collapse file tree 1 file changed +96
-0
lines changed Original file line number Diff line number Diff line change @@ -28304,6 +28304,72 @@ paths:
28304
28304
application/json:
28305
28305
schema:
28306
28306
$ref: '#/components/schemas/PlatformError'
28307
+ /api/v2/organization/{organizationId}/enterprise/{enterpriseId}/contract:
28308
+ post:
28309
+ summary: Sign a contract for an enterprise within an organization
28310
+ description: Sign a contract (MPA, CSA, etc.) for an enterprise under the specified organization.
28311
+ operationId: v2.organization.enterprise.contract.sign
28312
+ tags:
28313
+ - Enterprise Management
28314
+ parameters:
28315
+ - name: organizationId
28316
+ in: path
28317
+ required: true
28318
+ schema:
28319
+ $ref: '#/components/schemas/OrganizationIdString'
28320
+ - name: enterpriseId
28321
+ in: path
28322
+ required: true
28323
+ schema:
28324
+ $ref: '#/components/schemas/EnterpriseIdString'
28325
+ requestBody:
28326
+ content:
28327
+ application/json:
28328
+ schema:
28329
+ type: object
28330
+ properties:
28331
+ contractType:
28332
+ type: string
28333
+ enum:
28334
+ - trade-mpa
28335
+ - custody-sa
28336
+ - staking-sa
28337
+ - master-agreement
28338
+ signedDate:
28339
+ type: string
28340
+ required:
28341
+ - contractType
28342
+ responses:
28343
+ '200':
28344
+ description: OK
28345
+ content:
28346
+ application/json:
28347
+ schema:
28348
+ $ref: '#/components/schemas/SignOrganizationEnterpriseContractResponseC'
28349
+ '400':
28350
+ description: Bad Request
28351
+ content:
28352
+ application/json:
28353
+ schema:
28354
+ $ref: '#/components/schemas/PlatformError'
28355
+ '403':
28356
+ description: Forbidden
28357
+ content:
28358
+ application/json:
28359
+ schema:
28360
+ $ref: '#/components/schemas/PlatformError'
28361
+ '404':
28362
+ description: Not Found
28363
+ content:
28364
+ application/json:
28365
+ schema:
28366
+ $ref: '#/components/schemas/PlatformError'
28367
+ '500':
28368
+ description: Internal Server Error
28369
+ content:
28370
+ application/json:
28371
+ schema:
28372
+ $ref: '#/components/schemas/PlatformError'
28307
28373
/api/v2/organization/{organizationId}/enterprise/{enterpriseId}/user:
28308
28374
post:
28309
28375
summary: Add a user to an enterprise within an organization
@@ -55570,6 +55636,36 @@ components:
55570
55636
- messageEncoded
55571
55637
- messageStandardType
55572
55638
- $ref: '#/components/schemas/BaseIntent'
55639
+ SignOrganizationEnterpriseContractResponseC:
55640
+ title: SignOrganizationEnterpriseContractResponseC
55641
+ type: object
55642
+ properties:
55643
+ success:
55644
+ type: boolean
55645
+ contractsSigned:
55646
+ type: array
55647
+ items:
55648
+ type: object
55649
+ properties:
55650
+ contractType:
55651
+ type: string
55652
+ signedBy:
55653
+ type: string
55654
+ signedDate:
55655
+ type: string
55656
+ ip:
55657
+ type: string
55658
+ required:
55659
+ - contractType
55660
+ - signedBy
55661
+ - signedDate
55662
+ - ip
55663
+ message:
55664
+ type: string
55665
+ required:
55666
+ - success
55667
+ - contractsSigned
55668
+ - message
55573
55669
SignatureShare:
55574
55670
type: object
55575
55671
properties:
You can’t perform that action at this time.
0 commit comments