kickflow 0.1.0 → 0.2.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/README.md +102 -100
- data/Rakefile +1 -1
- data/docs/DefaultApi.md +118 -114
- data/docs/FormField.md +3 -1
- data/docs/FormFieldDetail.md +2 -0
- data/docs/PatchTicketsTicketIdRequestInputsInner.md +4 -4
- data/docs/PatchTicketsTicketIdRequestSlipItemsInnerInputsInner.md +8 -2
- data/docs/PostFiles200Response.md +1 -1
- data/docs/PostTicketsIdCommentsRequest.md +1 -1
- data/docs/PostTicketsRequestInputsInner.md +4 -4
- data/docs/PostTicketsRequestSlipItemsInnerInputsInner.md +7 -1
- data/docs/PostTicketsRequestSlipItemsInnerInputsInnerTeamId.md +49 -0
- data/docs/PostTicketsRequestSlipItemsInnerInputsInnerTicketId.md +49 -0
- data/docs/PostTicketsRequestSlipItemsInnerInputsInnerUserId.md +49 -0
- data/docs/RouteStep.md +3 -1
- data/docs/Section.md +2 -0
- data/docs/SectionListItem.md +32 -0
- data/docs/SlipField.md +3 -1
- data/docs/SlipFieldDetail.md +2 -0
- data/docs/SlipItemInput.md +6 -0
- data/docs/SubStatus.md +1 -1
- data/docs/TicketWithStep.md +52 -0
- data/docs/TicketWorkflow.md +10 -6
- data/docs/UserImage.md +5 -1
- data/docs/Workflow.md +6 -4
- data/docs/WorkflowDetail.md +9 -5
- data/docs/WorkflowInTicket.md +10 -6
- data/lib/kickflow/api/_api.rb +115 -109
- data/lib/kickflow/configuration.rb +2 -2
- data/lib/kickflow/models/form_field.rb +16 -5
- data/lib/kickflow/models/form_field_detail.rb +12 -1
- data/lib/kickflow/models/patch_tickets_ticket_id_request_inputs_inner.rb +4 -4
- data/lib/kickflow/models/patch_tickets_ticket_id_request_slip_items_inner_inputs_inner.rb +30 -5
- data/lib/kickflow/models/post_files200_response.rb +1 -1
- data/lib/kickflow/models/post_tickets_id_comments_request.rb +1 -1
- data/lib/kickflow/models/post_tickets_request_inputs_inner.rb +4 -4
- data/lib/kickflow/models/post_tickets_request_slip_items_inner_inputs_inner.rb +29 -2
- data/lib/kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_team_id.rb +106 -0
- data/lib/kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_ticket_id.rb +106 -0
- data/lib/kickflow/models/post_tickets_request_slip_items_inner_inputs_inner_user_id.rb +106 -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_permission_list_inner.rb +2 -2
- data/lib/kickflow/models/route_step.rb +22 -5
- data/lib/kickflow/models/route_step_condition_field.rb +34 -0
- data/lib/kickflow/models/section.rb +51 -1
- data/lib/kickflow/models/section_list_item.rb +336 -0
- data/lib/kickflow/models/slip_field.rb +18 -7
- data/lib/kickflow/models/slip_field_detail.rb +14 -3
- data/lib/kickflow/models/slip_item_input.rb +37 -1
- data/lib/kickflow/models/sub_status.rb +2 -0
- data/lib/kickflow/models/ticket_with_step.rb +568 -0
- data/lib/kickflow/models/user_image.rb +29 -9
- data/lib/kickflow/models/workflow.rb +17 -5
- data/lib/kickflow/models/workflow_detail.rb +30 -6
- data/lib/kickflow/models/workflow_in_ticket.rb +31 -7
- data/lib/kickflow/version.rb +1 -1
- data/lib/kickflow.rb +5 -3
- data/manifest.scm +7 -1
- data/pkg/kickflow-0.1.0.gem +0 -0
- data/spec/models/post_tickets_request_slip_items_inner_inputs_inner_team_id_spec.rb +32 -0
- data/spec/models/post_tickets_request_slip_items_inner_inputs_inner_ticket_id_spec.rb +32 -0
- data/spec/models/post_tickets_request_slip_items_inner_inputs_inner_user_id_spec.rb +32 -0
- data/spec/models/section_list_item_spec.rb +82 -0
- data/spec/models/ticket_with_step_spec.rb +146 -0
- data/vendor/schema.yaml +377 -167
- metadata +22 -2
| @@ -0,0 +1,146 @@ | |
| 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::TicketWithStep
         | 
| 18 | 
            +
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         | 
| 19 | 
            +
            # Please update as you see appropriate
         | 
| 20 | 
            +
            describe Kickflow::TicketWithStep do
         | 
| 21 | 
            +
              let(:instance) { Kickflow::TicketWithStep.new }
         | 
| 22 | 
            +
             | 
| 23 | 
            +
              describe 'test an instance of TicketWithStep' do
         | 
| 24 | 
            +
                it 'should create an instance of TicketWithStep' do
         | 
| 25 | 
            +
                  # uncomment below to test the instance creation
         | 
| 26 | 
            +
                  #expect(instance).to be_instance_of(Kickflow::TicketWithStep)
         | 
| 27 | 
            +
                end
         | 
| 28 | 
            +
              end
         | 
| 29 | 
            +
             | 
| 30 | 
            +
              describe 'test attribute "id"' 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 "ticket_number"' 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 | 
            +
              describe 'test attribute "title"' do
         | 
| 43 | 
            +
                it 'should work' do
         | 
| 44 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 45 | 
            +
                end
         | 
| 46 | 
            +
              end
         | 
| 47 | 
            +
             | 
| 48 | 
            +
              describe 'test attribute "status"' do
         | 
| 49 | 
            +
                it 'should work' do
         | 
| 50 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 51 | 
            +
                  # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["draft", "in_progress", "completed", "rejected", "archived", "denied"])
         | 
| 52 | 
            +
                  # validator.allowable_values.each do |value|
         | 
| 53 | 
            +
                  #   expect { instance.status = value }.not_to raise_error
         | 
| 54 | 
            +
                  # end
         | 
| 55 | 
            +
                end
         | 
| 56 | 
            +
              end
         | 
| 57 | 
            +
             | 
| 58 | 
            +
              describe 'test attribute "sub_status"' do
         | 
| 59 | 
            +
                it 'should work' do
         | 
| 60 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 61 | 
            +
                end
         | 
| 62 | 
            +
              end
         | 
| 63 | 
            +
             | 
| 64 | 
            +
              describe 'test attribute "current_step"' do
         | 
| 65 | 
            +
                it 'should work' do
         | 
| 66 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 67 | 
            +
                end
         | 
| 68 | 
            +
              end
         | 
| 69 | 
            +
             | 
| 70 | 
            +
              describe 'test attribute "author"' do
         | 
| 71 | 
            +
                it 'should work' do
         | 
| 72 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 73 | 
            +
                end
         | 
| 74 | 
            +
              end
         | 
| 75 | 
            +
             | 
| 76 | 
            +
              describe 'test attribute "proxy_client_user"' do
         | 
| 77 | 
            +
                it 'should work' do
         | 
| 78 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 79 | 
            +
                end
         | 
| 80 | 
            +
              end
         | 
| 81 | 
            +
             | 
| 82 | 
            +
              describe 'test attribute "created_at"' do
         | 
| 83 | 
            +
                it 'should work' do
         | 
| 84 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 85 | 
            +
                end
         | 
| 86 | 
            +
              end
         | 
| 87 | 
            +
             | 
| 88 | 
            +
              describe 'test attribute "opened_at"' do
         | 
| 89 | 
            +
                it 'should work' do
         | 
| 90 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 91 | 
            +
                end
         | 
| 92 | 
            +
              end
         | 
| 93 | 
            +
             | 
| 94 | 
            +
              describe 'test attribute "completed_at"' do
         | 
| 95 | 
            +
                it 'should work' do
         | 
| 96 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 97 | 
            +
                end
         | 
| 98 | 
            +
              end
         | 
| 99 | 
            +
             | 
| 100 | 
            +
              describe 'test attribute "archived_at"' do
         | 
| 101 | 
            +
                it 'should work' do
         | 
| 102 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 103 | 
            +
                end
         | 
| 104 | 
            +
              end
         | 
| 105 | 
            +
             | 
| 106 | 
            +
              describe 'test attribute "updated_at"' do
         | 
| 107 | 
            +
                it 'should work' do
         | 
| 108 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 109 | 
            +
                end
         | 
| 110 | 
            +
              end
         | 
| 111 | 
            +
             | 
| 112 | 
            +
              describe 'test attribute "public_status"' do
         | 
| 113 | 
            +
                it 'should work' do
         | 
| 114 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 115 | 
            +
                end
         | 
| 116 | 
            +
              end
         | 
| 117 | 
            +
             | 
| 118 | 
            +
              describe 'test attribute "forced_public_type"' do
         | 
| 119 | 
            +
                it 'should work' do
         | 
| 120 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 121 | 
            +
                  # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["follow_workflow", "forced_public", "forced_private"])
         | 
| 122 | 
            +
                  # validator.allowable_values.each do |value|
         | 
| 123 | 
            +
                  #   expect { instance.forced_public_type = value }.not_to raise_error
         | 
| 124 | 
            +
                  # end
         | 
| 125 | 
            +
                end
         | 
| 126 | 
            +
              end
         | 
| 127 | 
            +
             | 
| 128 | 
            +
              describe 'test attribute "workflow"' do
         | 
| 129 | 
            +
                it 'should work' do
         | 
| 130 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 131 | 
            +
                end
         | 
| 132 | 
            +
              end
         | 
| 133 | 
            +
             | 
| 134 | 
            +
              describe 'test attribute "labels"' do
         | 
| 135 | 
            +
                it 'should work' do
         | 
| 136 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 137 | 
            +
                end
         | 
| 138 | 
            +
              end
         | 
| 139 | 
            +
             | 
| 140 | 
            +
              describe 'test attribute "steps"' do
         | 
| 141 | 
            +
                it 'should work' do
         | 
| 142 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 143 | 
            +
                end
         | 
| 144 | 
            +
              end
         | 
| 145 | 
            +
             | 
| 146 | 
            +
            end
         |