kickflow 0.2.1 → 0.3.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -6
- data/Rakefile +22 -6
- data/docs/DefaultApi.md +6 -4
- data/docs/MemberUser.md +1 -1
- data/docs/PatchTeamsTeamIdMembershipsUserIdRequest.md +1 -1
- data/docs/PatchTicketsTicketIdRequest.md +3 -1
- data/docs/PostTeamsTeamIdMembersRequestUsersInner.md +1 -1
- data/docs/PostTicketsIdViewersRequest.md +3 -1
- data/docs/PostTicketsRequest.md +3 -1
- data/docs/PostTicketsRequestApproversInner.md +20 -0
- data/docs/RoleUpdateBody.md +1 -1
- data/docs/RouteStep.md +2 -0
- data/docs/RouteStepConditionField.md +0 -2
- data/docs/RouteStepTarget.md +3 -1
- data/docs/TicketAssignee.md +2 -0
- data/docs/TicketViewer.md +3 -1
- data/docs/TicketWorkflow.md +0 -12
- data/docs/Workflow.md +0 -8
- data/docs/WorkflowDetail.md +0 -12
- data/docs/WorkflowInTicket.md +0 -12
- data/lib/kickflow/api/_api.rb +13 -6
- data/lib/kickflow/models/member_user.rb +1 -1
- data/lib/kickflow/models/patch_teams_team_id_memberships_user_id_request.rb +1 -1
- data/lib/kickflow/models/patch_tickets_ticket_id_request.rb +17 -4
- data/lib/kickflow/models/post_general_masters_request.rb +2 -0
- data/lib/kickflow/models/post_teams_team_id_members_request_users_inner.rb +1 -1
- data/lib/kickflow/models/post_tickets_id_viewers_request.rb +16 -5
- data/lib/kickflow/models/post_tickets_request.rb +17 -4
- data/lib/kickflow/models/post_tickets_request_approvers_inner.rb +241 -0
- data/lib/kickflow/models/role_create_body_permission_list_inner.rb +2 -2
- data/lib/kickflow/models/role_detail_all_of_permission_list.rb +2 -2
- data/lib/kickflow/models/role_update_body.rb +1 -1
- data/lib/kickflow/models/route_step.rb +16 -3
- data/lib/kickflow/models/route_step_condition_field.rb +1 -11
- data/lib/kickflow/models/route_step_target.rb +14 -4
- data/lib/kickflow/models/ticket_assignee.rb +18 -1
- data/lib/kickflow/models/ticket_viewer.rb +22 -5
- data/lib/kickflow/models/workflow.rb +1 -73
- data/lib/kickflow/models/workflow_detail.rb +1 -111
- data/lib/kickflow/models/workflow_in_ticket.rb +1 -104
- data/lib/kickflow/version.rb +1 -1
- data/lib/kickflow.rb +1 -2
- data/spec/models/post_tickets_request_approvers_inner_spec.rb +42 -0
- data/vendor/schema.yaml +88 -109
- metadata +6 -6
- data/Rakefile~ +0 -48
- data/manifest.scm~ +0 -1
- data/pkg/kickflow-0.1.0.gem +0 -0
- data/pkg/kickflow-0.2.0.gem +0 -0
@@ -49,18 +49,6 @@ module Kickflow
|
|
49
49
|
# タイトルの説明
|
50
50
|
attr_accessor :title_description
|
51
51
|
|
52
|
-
# 明細を持つ場合true。このフィールドは廃止予定です。代わりにsectionListのsectionTypeを参照してください。
|
53
|
-
attr_accessor :slip
|
54
|
-
|
55
|
-
# 明細タイトル。このフィールドは廃止予定です。代わりにsectionListのtitleを参照してください。
|
56
|
-
attr_accessor :slip_title
|
57
|
-
|
58
|
-
# 明細の説明。このフィールドは廃止予定です。代わりにsectionListのdescriptionを参照してください。
|
59
|
-
attr_accessor :slip_description
|
60
|
-
|
61
|
-
# 明細の位置。このフィールドは廃止予定です。代わりにsectionListを参照してください。
|
62
|
-
attr_accessor :slip_position
|
63
|
-
|
64
52
|
# チケット番号のフォーマット
|
65
53
|
attr_accessor :ticket_number_format
|
66
54
|
|
@@ -94,12 +82,6 @@ module Kickflow
|
|
94
82
|
# セクション・明細を表すオブジェクトを画面に表示される順に格納した配列。
|
95
83
|
attr_accessor :section_list
|
96
84
|
|
97
|
-
# セクションの配列。このフィールドは廃止予定です。代わりにsectionListを参照してください。
|
98
|
-
attr_accessor :sections
|
99
|
-
|
100
|
-
# 明細フィールドの配列。このフィールドは廃止予定です。代わりにsectionListを参照してください。
|
101
|
-
attr_accessor :slip_fields
|
102
|
-
|
103
85
|
# ワークフロー単位のチケット閲覧者
|
104
86
|
attr_accessor :ticket_viewers
|
105
87
|
|
@@ -141,10 +123,6 @@ module Kickflow
|
|
141
123
|
:'visible_to_manager' => :'visibleToManager',
|
142
124
|
:'visible_to_team_members' => :'visibleToTeamMembers',
|
143
125
|
:'title_description' => :'titleDescription',
|
144
|
-
:'slip' => :'slip',
|
145
|
-
:'slip_title' => :'slipTitle',
|
146
|
-
:'slip_description' => :'slipDescription',
|
147
|
-
:'slip_position' => :'slipPosition',
|
148
126
|
:'ticket_number_format' => :'ticketNumberFormat',
|
149
127
|
:'overwritable' => :'overwritable',
|
150
128
|
:'created_at' => :'createdAt',
|
@@ -157,8 +135,6 @@ module Kickflow
|
|
157
135
|
:'folder' => :'folder',
|
158
136
|
:'categories' => :'categories',
|
159
137
|
:'section_list' => :'sectionList',
|
160
|
-
:'sections' => :'sections',
|
161
|
-
:'slip_fields' => :'slipFields',
|
162
138
|
:'ticket_viewers' => :'ticketViewers',
|
163
139
|
:'cloud_sign_setting' => :'cloudSignSetting'
|
164
140
|
}
|
@@ -183,10 +159,6 @@ module Kickflow
|
|
183
159
|
:'visible_to_manager' => :'String',
|
184
160
|
:'visible_to_team_members' => :'Boolean',
|
185
161
|
:'title_description' => :'String',
|
186
|
-
:'slip' => :'Boolean',
|
187
|
-
:'slip_title' => :'String',
|
188
|
-
:'slip_description' => :'String',
|
189
|
-
:'slip_position' => :'String',
|
190
162
|
:'ticket_number_format' => :'String',
|
191
163
|
:'overwritable' => :'Boolean',
|
192
164
|
:'created_at' => :'String',
|
@@ -199,8 +171,6 @@ module Kickflow
|
|
199
171
|
:'folder' => :'Folder',
|
200
172
|
:'categories' => :'Array<Category>',
|
201
173
|
:'section_list' => :'Array<SectionListItem>',
|
202
|
-
:'sections' => :'Array<Section>',
|
203
|
-
:'slip_fields' => :'Array<SlipFieldDetail>',
|
204
174
|
:'ticket_viewers' => :'Array<WorkflowTicketViewer>',
|
205
175
|
:'cloud_sign_setting' => :'WorkflowInTicketAllOfCloudSignSetting'
|
206
176
|
}
|
@@ -210,8 +180,6 @@ module Kickflow
|
|
210
180
|
def self.openapi_nullable
|
211
181
|
Set.new([
|
212
182
|
:'title_description',
|
213
|
-
:'slip_title',
|
214
|
-
:'slip_description',
|
215
183
|
:'ticket_number_format',
|
216
184
|
:'title_formula',
|
217
185
|
:'cloud_sign_setting'
|
@@ -306,30 +274,6 @@ module Kickflow
|
|
306
274
|
self.title_description = nil
|
307
275
|
end
|
308
276
|
|
309
|
-
if attributes.key?(:'slip')
|
310
|
-
self.slip = attributes[:'slip']
|
311
|
-
else
|
312
|
-
self.slip = false
|
313
|
-
end
|
314
|
-
|
315
|
-
if attributes.key?(:'slip_title')
|
316
|
-
self.slip_title = attributes[:'slip_title']
|
317
|
-
else
|
318
|
-
self.slip_title = nil
|
319
|
-
end
|
320
|
-
|
321
|
-
if attributes.key?(:'slip_description')
|
322
|
-
self.slip_description = attributes[:'slip_description']
|
323
|
-
else
|
324
|
-
self.slip_description = nil
|
325
|
-
end
|
326
|
-
|
327
|
-
if attributes.key?(:'slip_position')
|
328
|
-
self.slip_position = attributes[:'slip_position']
|
329
|
-
else
|
330
|
-
self.slip_position = nil
|
331
|
-
end
|
332
|
-
|
333
277
|
if attributes.key?(:'ticket_number_format')
|
334
278
|
self.ticket_number_format = attributes[:'ticket_number_format']
|
335
279
|
else
|
@@ -404,20 +348,6 @@ module Kickflow
|
|
404
348
|
end
|
405
349
|
end
|
406
350
|
|
407
|
-
if attributes.key?(:'sections')
|
408
|
-
if (value = attributes[:'sections']).is_a?(Array)
|
409
|
-
self.sections = value
|
410
|
-
end
|
411
|
-
else
|
412
|
-
self.sections = nil
|
413
|
-
end
|
414
|
-
|
415
|
-
if attributes.key?(:'slip_fields')
|
416
|
-
if (value = attributes[:'slip_fields']).is_a?(Array)
|
417
|
-
self.slip_fields = value
|
418
|
-
end
|
419
|
-
end
|
420
|
-
|
421
351
|
if attributes.key?(:'ticket_viewers')
|
422
352
|
if (value = attributes[:'ticket_viewers']).is_a?(Array)
|
423
353
|
self.ticket_viewers = value
|
@@ -483,14 +413,6 @@ module Kickflow
|
|
483
413
|
invalid_properties.push('invalid value for "visible_to_team_members", visible_to_team_members cannot be nil.')
|
484
414
|
end
|
485
415
|
|
486
|
-
if @slip.nil?
|
487
|
-
invalid_properties.push('invalid value for "slip", slip cannot be nil.')
|
488
|
-
end
|
489
|
-
|
490
|
-
if @slip_position.nil?
|
491
|
-
invalid_properties.push('invalid value for "slip_position", slip_position cannot be nil.')
|
492
|
-
end
|
493
|
-
|
494
416
|
if @overwritable.nil?
|
495
417
|
invalid_properties.push('invalid value for "overwritable", overwritable cannot be nil.')
|
496
418
|
end
|
@@ -523,10 +445,6 @@ module Kickflow
|
|
523
445
|
invalid_properties.push('invalid value for "categories", categories cannot be nil.')
|
524
446
|
end
|
525
447
|
|
526
|
-
if @sections.nil?
|
527
|
-
invalid_properties.push('invalid value for "sections", sections cannot be nil.')
|
528
|
-
end
|
529
|
-
|
530
448
|
if @ticket_viewers.nil?
|
531
449
|
invalid_properties.push('invalid value for "ticket_viewers", ticket_viewers cannot be nil.')
|
532
450
|
end
|
@@ -553,10 +471,6 @@ module Kickflow
|
|
553
471
|
visible_to_manager_validator = EnumAttributeValidator.new('String', ["none", "direct", "all"])
|
554
472
|
return false unless visible_to_manager_validator.valid?(@visible_to_manager)
|
555
473
|
return false if @visible_to_team_members.nil?
|
556
|
-
return false if @slip.nil?
|
557
|
-
return false if @slip_position.nil?
|
558
|
-
slip_position_validator = EnumAttributeValidator.new('String', ["top", "bottom"])
|
559
|
-
return false unless slip_position_validator.valid?(@slip_position)
|
560
474
|
return false if @overwritable.nil?
|
561
475
|
return false if @created_at.nil?
|
562
476
|
return false if @updated_at.nil?
|
@@ -567,7 +481,6 @@ module Kickflow
|
|
567
481
|
return false if @version_author.nil?
|
568
482
|
return false if @folder.nil?
|
569
483
|
return false if @categories.nil?
|
570
|
-
return false if @sections.nil?
|
571
484
|
return false if @ticket_viewers.nil?
|
572
485
|
true
|
573
486
|
end
|
@@ -607,16 +520,6 @@ module Kickflow
|
|
607
520
|
@visible_to_manager = visible_to_manager
|
608
521
|
end
|
609
522
|
|
610
|
-
# Custom attribute writer method checking allowed values (enum).
|
611
|
-
# @param [Object] slip_position Object to be assigned
|
612
|
-
def slip_position=(slip_position)
|
613
|
-
validator = EnumAttributeValidator.new('String', ["top", "bottom"])
|
614
|
-
unless validator.valid?(slip_position)
|
615
|
-
fail ArgumentError, "invalid value for \"slip_position\", must be one of #{validator.allowable_values}."
|
616
|
-
end
|
617
|
-
@slip_position = slip_position
|
618
|
-
end
|
619
|
-
|
620
523
|
# Custom attribute writer method checking allowed values (enum).
|
621
524
|
# @param [Object] title_input_mode Object to be assigned
|
622
525
|
def title_input_mode=(title_input_mode)
|
@@ -643,10 +546,6 @@ module Kickflow
|
|
643
546
|
visible_to_manager == o.visible_to_manager &&
|
644
547
|
visible_to_team_members == o.visible_to_team_members &&
|
645
548
|
title_description == o.title_description &&
|
646
|
-
slip == o.slip &&
|
647
|
-
slip_title == o.slip_title &&
|
648
|
-
slip_description == o.slip_description &&
|
649
|
-
slip_position == o.slip_position &&
|
650
549
|
ticket_number_format == o.ticket_number_format &&
|
651
550
|
overwritable == o.overwritable &&
|
652
551
|
created_at == o.created_at &&
|
@@ -659,8 +558,6 @@ module Kickflow
|
|
659
558
|
folder == o.folder &&
|
660
559
|
categories == o.categories &&
|
661
560
|
section_list == o.section_list &&
|
662
|
-
sections == o.sections &&
|
663
|
-
slip_fields == o.slip_fields &&
|
664
561
|
ticket_viewers == o.ticket_viewers &&
|
665
562
|
cloud_sign_setting == o.cloud_sign_setting
|
666
563
|
end
|
@@ -674,7 +571,7 @@ module Kickflow
|
|
674
571
|
# Calculates hash code according to all attributes.
|
675
572
|
# @return [Integer] Hash code
|
676
573
|
def hash
|
677
|
-
[id, code, version_id, version_number, name, description, status, public_ticket, visible_to_manager, visible_to_team_members, title_description,
|
574
|
+
[id, code, version_id, version_number, name, description, status, public_ticket, visible_to_manager, visible_to_team_members, title_description, ticket_number_format, overwritable, created_at, updated_at, title_input_mode, title_formula, allow_editing_of_viewers, author, version_author, folder, categories, section_list, ticket_viewers, cloud_sign_setting].hash
|
678
575
|
end
|
679
576
|
|
680
577
|
# Builds the object from hash
|
data/lib/kickflow/version.rb
CHANGED
data/lib/kickflow.rb
CHANGED
@@ -79,6 +79,7 @@ require 'kickflow/models/post_tickets_id_viewers_request'
|
|
79
79
|
require 'kickflow/models/post_tickets_id_viewers_request_team_id'
|
80
80
|
require 'kickflow/models/post_tickets_id_viewers_request_user_id'
|
81
81
|
require 'kickflow/models/post_tickets_request'
|
82
|
+
require 'kickflow/models/post_tickets_request_approvers_inner'
|
82
83
|
require 'kickflow/models/post_tickets_request_cloud_sign_document'
|
83
84
|
require 'kickflow/models/post_tickets_request_inputs_inner'
|
84
85
|
require 'kickflow/models/post_tickets_request_slip_items_inner'
|
@@ -98,14 +99,12 @@ require 'kickflow/models/role_create_body_permission_list_inner'
|
|
98
99
|
require 'kickflow/models/role_detail'
|
99
100
|
require 'kickflow/models/role_detail_all_of_permission_list'
|
100
101
|
require 'kickflow/models/role_update_body'
|
101
|
-
require 'kickflow/models/role_update_body_permission_list_inner'
|
102
102
|
require 'kickflow/models/route'
|
103
103
|
require 'kickflow/models/route_detail'
|
104
104
|
require 'kickflow/models/route_step'
|
105
105
|
require 'kickflow/models/route_step_condition'
|
106
106
|
require 'kickflow/models/route_step_condition_field'
|
107
107
|
require 'kickflow/models/route_step_target'
|
108
|
-
require 'kickflow/models/section'
|
109
108
|
require 'kickflow/models/section_list_item'
|
110
109
|
require 'kickflow/models/slip_field'
|
111
110
|
require 'kickflow/models/slip_field_detail'
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#kickflow REST API v1
|
3
|
+
|
4
|
+
#kickflowの開発者用REST API (v1)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Kickflow::PostTicketsRequestApproversInner
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Kickflow::PostTicketsRequestApproversInner do
|
21
|
+
let(:instance) { Kickflow::PostTicketsRequestApproversInner.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PostTicketsRequestApproversInner' do
|
24
|
+
it 'should create an instance of PostTicketsRequestApproversInner' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(Kickflow::PostTicketsRequestApproversInner)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "route_step_code"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "user_id"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
data/vendor/schema.yaml
CHANGED
@@ -348,9 +348,11 @@ paths:
|
|
348
348
|
code:
|
349
349
|
type: string
|
350
350
|
description: コード。未指定の場合、ランダムな英数字がセットされます。
|
351
|
+
nullable: true
|
351
352
|
description:
|
352
353
|
type: string
|
353
354
|
description: 説明
|
355
|
+
nullable: true
|
354
356
|
fields:
|
355
357
|
type: array
|
356
358
|
description: カスタムフィールドの配列
|
@@ -1223,7 +1225,7 @@ paths:
|
|
1223
1225
|
|
1224
1226
|
このAPIの実行には、チームの管理権限が必要です。
|
1225
1227
|
|
1226
|
-
注意:
|
1228
|
+
注意: チームに上長は最低一人必要です。上長が不在の場合、APIは422 Unprocessable Entityを返します。
|
1227
1229
|
requestBody:
|
1228
1230
|
content:
|
1229
1231
|
application/json:
|
@@ -1245,7 +1247,7 @@ paths:
|
|
1245
1247
|
format: uuid
|
1246
1248
|
leader:
|
1247
1249
|
type: boolean
|
1248
|
-
description:
|
1250
|
+
description: 上長の場合、true
|
1249
1251
|
gradeIds:
|
1250
1252
|
type: array
|
1251
1253
|
minItems: 1
|
@@ -1271,7 +1273,7 @@ paths:
|
|
1271
1273
|
|
1272
1274
|
このAPIの実行には、チームの管理権限が必要です。
|
1273
1275
|
|
1274
|
-
注意:
|
1276
|
+
注意: 削除後もメンバーが残る場合、チームに上長は最低一人必要です。メンバー削除によって上長が不在になる場合、APIは422 Unprocessable Entityを返します。
|
1275
1277
|
requestBody:
|
1276
1278
|
content:
|
1277
1279
|
application/json:
|
@@ -1322,7 +1324,7 @@ paths:
|
|
1322
1324
|
|
1323
1325
|
このAPIの実行には、チームの管理権限が必要です。
|
1324
1326
|
|
1325
|
-
注意:
|
1327
|
+
注意: チームに上長は最低一人は必要です。上長が不在の場合、APIは422 Unprocessable Entityを返します。
|
1326
1328
|
requestBody:
|
1327
1329
|
content:
|
1328
1330
|
application/json:
|
@@ -1331,7 +1333,7 @@ paths:
|
|
1331
1333
|
properties:
|
1332
1334
|
leader:
|
1333
1335
|
type: boolean
|
1334
|
-
description:
|
1336
|
+
description: 上長の場合、true
|
1335
1337
|
gradeIds:
|
1336
1338
|
type: array
|
1337
1339
|
description: 役職のUUID
|
@@ -1966,6 +1968,25 @@ paths:
|
|
1966
1968
|
- id
|
1967
1969
|
- title
|
1968
1970
|
- sandbox
|
1971
|
+
approvers:
|
1972
|
+
type: array
|
1973
|
+
description: 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
|
1974
|
+
nullable: true
|
1975
|
+
items:
|
1976
|
+
type: object
|
1977
|
+
required:
|
1978
|
+
- userId
|
1979
|
+
- routeStepCode
|
1980
|
+
properties:
|
1981
|
+
routeStepCode:
|
1982
|
+
description: 承認者を指定する経路ステップのコード
|
1983
|
+
type: string
|
1984
|
+
userId:
|
1985
|
+
description: 承認者として指定するユーザーのUUID
|
1986
|
+
type: array
|
1987
|
+
items:
|
1988
|
+
type: string
|
1989
|
+
format: uuid
|
1969
1990
|
required:
|
1970
1991
|
- status
|
1971
1992
|
- workflowId
|
@@ -2118,6 +2139,17 @@ paths:
|
|
2118
2139
|
in: query
|
2119
2140
|
name: stepTitle
|
2120
2141
|
description: 現在の承認ステップ名
|
2142
|
+
- schema:
|
2143
|
+
type: string
|
2144
|
+
enum:
|
2145
|
+
- 'true'
|
2146
|
+
- 'false'
|
2147
|
+
in: query
|
2148
|
+
name: pending
|
2149
|
+
description: |-
|
2150
|
+
承認の保留状態でチケットを絞り込みます。
|
2151
|
+
- true: 保留中のチケットのみを取得
|
2152
|
+
- false: 保留されていないチケットのみを取得
|
2121
2153
|
/v1/tickets/{ticketId}:
|
2122
2154
|
parameters:
|
2123
2155
|
- schema:
|
@@ -2357,6 +2389,25 @@ paths:
|
|
2357
2389
|
- id
|
2358
2390
|
- title
|
2359
2391
|
- sandbox
|
2392
|
+
approvers:
|
2393
|
+
type: array
|
2394
|
+
description: 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
|
2395
|
+
nullable: true
|
2396
|
+
items:
|
2397
|
+
type: object
|
2398
|
+
required:
|
2399
|
+
- userId
|
2400
|
+
- routeStepCode
|
2401
|
+
properties:
|
2402
|
+
routeStepCode:
|
2403
|
+
description: 承認者を指定する経路ステップのコード
|
2404
|
+
type: string
|
2405
|
+
userId:
|
2406
|
+
description: 承認者として指定するユーザーのUUID
|
2407
|
+
type: array
|
2408
|
+
items:
|
2409
|
+
type: string
|
2410
|
+
format: uuid
|
2360
2411
|
/v1/tickets/{ticketId}/approve:
|
2361
2412
|
parameters:
|
2362
2413
|
- schema:
|
@@ -2617,6 +2668,10 @@ paths:
|
|
2617
2668
|
format: uuid
|
2618
2669
|
description: 役職のUUID。teamId指定時のみ、任意で指定できます。
|
2619
2670
|
nullable: true
|
2671
|
+
descendants:
|
2672
|
+
type: boolean
|
2673
|
+
description: 下位のチームを含めるかどうかをteamId指定時のみ指定できます。未指定時はfalse扱いです。
|
2674
|
+
nullable: true
|
2620
2675
|
/v1/tickets/{ticketId}/viewers/{viewerId}:
|
2621
2676
|
parameters:
|
2622
2677
|
- schema:
|
@@ -4114,7 +4169,7 @@ components:
|
|
4114
4169
|
$ref: '#/components/schemas/grade'
|
4115
4170
|
leader:
|
4116
4171
|
type: boolean
|
4117
|
-
description:
|
4172
|
+
description: 上長かどうか
|
4118
4173
|
required:
|
4119
4174
|
- grades
|
4120
4175
|
- leader
|
@@ -4180,6 +4235,9 @@ components:
|
|
4180
4235
|
- audit
|
4181
4236
|
- stats
|
4182
4237
|
- workflow
|
4238
|
+
- route
|
4239
|
+
- pipeline
|
4240
|
+
- workflow_misc
|
4183
4241
|
- user
|
4184
4242
|
- team
|
4185
4243
|
- role
|
@@ -4243,6 +4301,9 @@ components:
|
|
4243
4301
|
- audit
|
4244
4302
|
- stats
|
4245
4303
|
- workflow
|
4304
|
+
- route
|
4305
|
+
- pipeline
|
4306
|
+
- workflow_misc
|
4246
4307
|
- user
|
4247
4308
|
- team
|
4248
4309
|
- role
|
@@ -4305,6 +4366,9 @@ components:
|
|
4305
4366
|
- audit
|
4306
4367
|
- stats
|
4307
4368
|
- workflow
|
4369
|
+
- route
|
4370
|
+
- pipeline
|
4371
|
+
- workflow_misc
|
4308
4372
|
- user
|
4309
4373
|
- team
|
4310
4374
|
- role
|
@@ -4337,9 +4401,6 @@ components:
|
|
4337
4401
|
required:
|
4338
4402
|
- permission
|
4339
4403
|
- restricted
|
4340
|
-
- folderIds
|
4341
|
-
- generalMasterIds
|
4342
|
-
- teamIds
|
4343
4404
|
category:
|
4344
4405
|
title: Category
|
4345
4406
|
type: object
|
@@ -4685,28 +4746,6 @@ components:
|
|
4685
4746
|
type: string
|
4686
4747
|
description: タイトルの説明
|
4687
4748
|
nullable: true
|
4688
|
-
slip:
|
4689
|
-
type: boolean
|
4690
|
-
description: 明細を持つ場合true。このフィールドは廃止予定です。代わりにsectionListのsectionTypeを参照してください。
|
4691
|
-
default: false
|
4692
|
-
deprecated: true
|
4693
|
-
slipTitle:
|
4694
|
-
type: string
|
4695
|
-
description: 明細タイトル。このフィールドは廃止予定です。代わりにsectionListのtitleを参照してください。
|
4696
|
-
nullable: true
|
4697
|
-
deprecated: true
|
4698
|
-
slipDescription:
|
4699
|
-
type: string
|
4700
|
-
description: 明細の説明。このフィールドは廃止予定です。代わりにsectionListのdescriptionを参照してください。
|
4701
|
-
nullable: true
|
4702
|
-
deprecated: true
|
4703
|
-
slipPosition:
|
4704
|
-
type: string
|
4705
|
-
description: 明細の位置。このフィールドは廃止予定です。代わりにsectionListを参照してください。
|
4706
|
-
enum:
|
4707
|
-
- top
|
4708
|
-
- bottom
|
4709
|
-
deprecated: true
|
4710
4749
|
ticketNumberFormat:
|
4711
4750
|
type: string
|
4712
4751
|
description: チケット番号のフォーマット
|
@@ -4768,10 +4807,6 @@ components:
|
|
4768
4807
|
- visibleToManager
|
4769
4808
|
- visibleToTeamMembers
|
4770
4809
|
- titleDescription
|
4771
|
-
- slip
|
4772
|
-
- slipTitle
|
4773
|
-
- slipDescription
|
4774
|
-
- slipPosition
|
4775
4810
|
- ticketNumberFormat
|
4776
4811
|
- overwritable
|
4777
4812
|
- createdAt
|
@@ -4796,18 +4831,6 @@ components:
|
|
4796
4831
|
description: セクション・明細を表すオブジェクトを画面に表示される順に格納した配列。
|
4797
4832
|
items:
|
4798
4833
|
$ref: '#/components/schemas/sectionListItem'
|
4799
|
-
sections:
|
4800
|
-
type: array
|
4801
|
-
description: セクションの配列。このフィールドは廃止予定です。代わりにsectionListを参照してください。
|
4802
|
-
items:
|
4803
|
-
$ref: '#/components/schemas/section'
|
4804
|
-
deprecated: true
|
4805
|
-
slipFields:
|
4806
|
-
type: array
|
4807
|
-
description: 明細フィールドの配列。このフィールドは廃止予定です。代わりにsectionListを参照してください。
|
4808
|
-
items:
|
4809
|
-
$ref: '#/components/schemas/slipFieldDetail'
|
4810
|
-
deprecated: true
|
4811
4834
|
ticketViewers:
|
4812
4835
|
type: array
|
4813
4836
|
description: ワークフロー単位のチケット閲覧者
|
@@ -4826,7 +4849,6 @@ components:
|
|
4826
4849
|
- properties: {}
|
4827
4850
|
nullable: true
|
4828
4851
|
required:
|
4829
|
-
- sections
|
4830
4852
|
- ticketViewers
|
4831
4853
|
- cloudSignSetting
|
4832
4854
|
workflowDetail:
|
@@ -4838,71 +4860,13 @@ components:
|
|
4838
4860
|
- $ref: '#/components/schemas/workflowInTicket'
|
4839
4861
|
- type: object
|
4840
4862
|
properties:
|
4841
|
-
slipFields:
|
4842
|
-
type: array
|
4843
|
-
description: 明細フィールド
|
4844
|
-
items:
|
4845
|
-
$ref: '#/components/schemas/slipFieldDetail'
|
4846
4863
|
routeConditions:
|
4847
4864
|
type: array
|
4848
4865
|
description: 経路分岐
|
4849
4866
|
items:
|
4850
4867
|
$ref: '#/components/schemas/workflowRouteCondition'
|
4851
4868
|
required:
|
4852
|
-
- slipFields
|
4853
4869
|
- routeConditions
|
4854
|
-
section:
|
4855
|
-
title: Section
|
4856
|
-
type: object
|
4857
|
-
x-tags:
|
4858
|
-
- workflows
|
4859
|
-
description: フォームセクション
|
4860
|
-
properties:
|
4861
|
-
id:
|
4862
|
-
type: string
|
4863
|
-
format: uuid
|
4864
|
-
description: UUID
|
4865
|
-
sectionType:
|
4866
|
-
type: string
|
4867
|
-
enum:
|
4868
|
-
- form
|
4869
|
-
title:
|
4870
|
-
type: string
|
4871
|
-
description: タイトル
|
4872
|
-
nullable: true
|
4873
|
-
description:
|
4874
|
-
type: string
|
4875
|
-
description: 説明
|
4876
|
-
nullable: true
|
4877
|
-
formFields:
|
4878
|
-
type: array
|
4879
|
-
description: フォームフィールド
|
4880
|
-
items:
|
4881
|
-
$ref: '#/components/schemas/formFieldDetail'
|
4882
|
-
createdAt:
|
4883
|
-
type: string
|
4884
|
-
description: 作成日時
|
4885
|
-
format: date-time
|
4886
|
-
updatedAt:
|
4887
|
-
type: string
|
4888
|
-
format: date-time
|
4889
|
-
description: 更新日時
|
4890
|
-
conditional:
|
4891
|
-
type: boolean
|
4892
|
-
description: 表示条件があるかどうか
|
4893
|
-
conditionAllOf:
|
4894
|
-
type: boolean
|
4895
|
-
description: 条件をすべて満たす必要があるかどうか
|
4896
|
-
required:
|
4897
|
-
- id
|
4898
|
-
- sectionType
|
4899
|
-
- title
|
4900
|
-
- description
|
4901
|
-
- formFields
|
4902
|
-
- createdAt
|
4903
|
-
- updatedAt
|
4904
|
-
- conditional
|
4905
|
-
- conditionAllOf
|
4906
4870
|
sectionListItem:
|
4907
4871
|
title: SectionListItem
|
4908
4872
|
type: object
|
@@ -5609,6 +5573,7 @@ components:
|
|
5609
5573
|
- user
|
5610
5574
|
- author_customizable
|
5611
5575
|
- assignee_customizable
|
5576
|
+
- dynamic_team
|
5612
5577
|
title:
|
5613
5578
|
type: string
|
5614
5579
|
description: タイトル
|
@@ -5645,6 +5610,10 @@ components:
|
|
5645
5610
|
description: 最小指名人数。「申請者が指名」ステップのみ設定可能。
|
5646
5611
|
minimum: 0
|
5647
5612
|
nullable: true
|
5613
|
+
approverAssignmentInstruction:
|
5614
|
+
type: string
|
5615
|
+
description: 承認者の選び方
|
5616
|
+
nullable: true
|
5648
5617
|
users:
|
5649
5618
|
type: array
|
5650
5619
|
items:
|
@@ -5674,6 +5643,7 @@ components:
|
|
5674
5643
|
- fallbackType
|
5675
5644
|
- allowSelfApproval
|
5676
5645
|
- minCustomAssignees
|
5646
|
+
- approverAssignmentInstruction
|
5677
5647
|
- users
|
5678
5648
|
- code
|
5679
5649
|
routeStepTarget:
|
@@ -5693,6 +5663,9 @@ components:
|
|
5693
5663
|
description: 承認者の指定に使う役職の配列
|
5694
5664
|
items:
|
5695
5665
|
$ref: '#/components/schemas/grade'
|
5666
|
+
variable:
|
5667
|
+
type: string
|
5668
|
+
description: 承認者タイプ「チームを動的に指定」で指定する変数名が入ります。
|
5696
5669
|
routeStepCondition:
|
5697
5670
|
title: RouteStepCondition
|
5698
5671
|
type: object
|
@@ -5728,9 +5701,6 @@ components:
|
|
5728
5701
|
type: string
|
5729
5702
|
description: UUID
|
5730
5703
|
format: uuid
|
5731
|
-
displayOrder:
|
5732
|
-
type: number
|
5733
|
-
description: 変数
|
5734
5704
|
variable:
|
5735
5705
|
type: string
|
5736
5706
|
description: 変数
|
@@ -6173,6 +6143,9 @@ components:
|
|
6173
6143
|
description: 承認日時。古いデータではnullを返します。
|
6174
6144
|
format: date-time
|
6175
6145
|
nullable: true
|
6146
|
+
pending:
|
6147
|
+
type: boolean
|
6148
|
+
description: 承認を保留中の場合true
|
6176
6149
|
user:
|
6177
6150
|
$ref: '#/components/schemas/user'
|
6178
6151
|
required:
|
@@ -6181,6 +6154,7 @@ components:
|
|
6181
6154
|
- current
|
6182
6155
|
- completed
|
6183
6156
|
- completedAt
|
6157
|
+
- pending
|
6184
6158
|
- user
|
6185
6159
|
attachment:
|
6186
6160
|
title: Attachment
|
@@ -6405,11 +6379,16 @@ components:
|
|
6405
6379
|
anyOf:
|
6406
6380
|
- $ref: '#/components/schemas/grade'
|
6407
6381
|
- nullable: true
|
6382
|
+
descendants:
|
6383
|
+
nullable: false
|
6384
|
+
type: boolean
|
6385
|
+
description: 下位のチームを含めるかどうか
|
6408
6386
|
required:
|
6409
6387
|
- id
|
6410
6388
|
- user
|
6411
6389
|
- team
|
6412
6390
|
- grade
|
6391
|
+
- descendants
|
6413
6392
|
comment:
|
6414
6393
|
title: Comment
|
6415
6394
|
x-stoplight:
|