reach-api-sdk 1.0.56 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/definition/swagger.yaml +91 -0
package/package.json
CHANGED
|
@@ -62053,6 +62053,81 @@ paths:
|
|
|
62053
62053
|
text/json:
|
|
62054
62054
|
schema:
|
|
62055
62055
|
$ref: '#/components/schemas/ValidationResultModel'
|
|
62056
|
+
'/api/templates/{id}/duplicate':
|
|
62057
|
+
post:
|
|
62058
|
+
tags:
|
|
62059
|
+
- Templates
|
|
62060
|
+
summary: Duplicates a template.
|
|
62061
|
+
operationId: Duplicate
|
|
62062
|
+
parameters:
|
|
62063
|
+
- name: id
|
|
62064
|
+
in: path
|
|
62065
|
+
description: The template id.
|
|
62066
|
+
required: true
|
|
62067
|
+
schema:
|
|
62068
|
+
type: string
|
|
62069
|
+
format: uuid
|
|
62070
|
+
requestBody:
|
|
62071
|
+
description: The post body.
|
|
62072
|
+
content:
|
|
62073
|
+
application/json:
|
|
62074
|
+
schema:
|
|
62075
|
+
$ref: '#/components/schemas/TemplateDuplicatePost'
|
|
62076
|
+
text/json:
|
|
62077
|
+
schema:
|
|
62078
|
+
$ref: '#/components/schemas/TemplateDuplicatePost'
|
|
62079
|
+
application/*+json:
|
|
62080
|
+
schema:
|
|
62081
|
+
$ref: '#/components/schemas/TemplateDuplicatePost'
|
|
62082
|
+
responses:
|
|
62083
|
+
'200':
|
|
62084
|
+
description: Success
|
|
62085
|
+
content:
|
|
62086
|
+
text/plain:
|
|
62087
|
+
schema:
|
|
62088
|
+
$ref: '#/components/schemas/GenericActivity'
|
|
62089
|
+
application/json:
|
|
62090
|
+
schema:
|
|
62091
|
+
$ref: '#/components/schemas/GenericActivity'
|
|
62092
|
+
text/json:
|
|
62093
|
+
schema:
|
|
62094
|
+
$ref: '#/components/schemas/GenericActivity'
|
|
62095
|
+
'400':
|
|
62096
|
+
description: Bad Request
|
|
62097
|
+
content:
|
|
62098
|
+
text/plain:
|
|
62099
|
+
schema:
|
|
62100
|
+
$ref: '#/components/schemas/ReachError'
|
|
62101
|
+
application/json:
|
|
62102
|
+
schema:
|
|
62103
|
+
$ref: '#/components/schemas/ReachError'
|
|
62104
|
+
text/json:
|
|
62105
|
+
schema:
|
|
62106
|
+
$ref: '#/components/schemas/ReachError'
|
|
62107
|
+
'500':
|
|
62108
|
+
description: Server Error
|
|
62109
|
+
content:
|
|
62110
|
+
text/plain:
|
|
62111
|
+
schema:
|
|
62112
|
+
$ref: '#/components/schemas/ReachError'
|
|
62113
|
+
application/json:
|
|
62114
|
+
schema:
|
|
62115
|
+
$ref: '#/components/schemas/ReachError'
|
|
62116
|
+
text/json:
|
|
62117
|
+
schema:
|
|
62118
|
+
$ref: '#/components/schemas/ReachError'
|
|
62119
|
+
'422':
|
|
62120
|
+
description: Client Error
|
|
62121
|
+
content:
|
|
62122
|
+
text/plain:
|
|
62123
|
+
schema:
|
|
62124
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
62125
|
+
application/json:
|
|
62126
|
+
schema:
|
|
62127
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
62128
|
+
text/json:
|
|
62129
|
+
schema:
|
|
62130
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
62056
62131
|
'/api/templates/{id}':
|
|
62057
62132
|
get:
|
|
62058
62133
|
tags:
|
|
@@ -80351,6 +80426,22 @@ components:
|
|
|
80351
80426
|
format: uri
|
|
80352
80427
|
additionalProperties: false
|
|
80353
80428
|
description: Post model for template detail inserts.
|
|
80429
|
+
TemplateDuplicatePost:
|
|
80430
|
+
required:
|
|
80431
|
+
- name
|
|
80432
|
+
- tenantId
|
|
80433
|
+
type: object
|
|
80434
|
+
properties:
|
|
80435
|
+
tenantId:
|
|
80436
|
+
type: string
|
|
80437
|
+
description: Gets or sets the tenant Id.
|
|
80438
|
+
format: uuid
|
|
80439
|
+
name:
|
|
80440
|
+
minLength: 1
|
|
80441
|
+
type: string
|
|
80442
|
+
description: Gets or sets the template name.
|
|
80443
|
+
additionalProperties: false
|
|
80444
|
+
description: Post model for duplicating a template.
|
|
80354
80445
|
TemplateFromPost:
|
|
80355
80446
|
required:
|
|
80356
80447
|
- name
|