-
Notifications
You must be signed in to change notification settings - Fork 39
feat: add support for update report definition endpoint #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
smcgowan-smartsheet
wants to merge
10
commits into
smartsheet:mainline
Choose a base branch
from
smcgowan-smartsheet:feat/update-report-definition
base: mainline
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
b8e56d7
feat: add support for update report definition endpoint
smcgowan-smartsheet 45cab93
feat: add support for update report definition endpoint
smcgowan-smartsheet 8d438b4
feat: add support for update report definition endpoint
smcgowan-smartsheet 5f6ace8
chore: update changelog
smcgowan-smartsheet a77fa0b
feat: add support for add report columns
smcgowan-smartsheet d2ac9f8
feat: add support for add report columns
smcgowan-smartsheet 58b1032
feat: add support for add report columns
smcgowan-smartsheet 5d11d01
feat: add support for add report columns
smcgowan-smartsheet e66d073
feat: update report definition response body update
smcgowan-smartsheet 571be30
feat: update report definition response
smcgowan-smartsheet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101 | ||
| # Smartsheet Python SDK. | ||
| # | ||
| # Copyright 2018 Smartsheet.com, Inc. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"): you may | ||
| # not use this file except in compliance with the License. You may obtain | ||
| # a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
| # License for the specific language governing permissions and limitations | ||
| # under the License. | ||
| from enum import Enum | ||
|
|
||
|
|
||
| class ReportAggregationType(Enum): | ||
| SUM = 1 | ||
| AVG = 2 | ||
| MIN = 3 | ||
| MAX = 4 | ||
| COUNT = 5 | ||
| FIRST = 6 | ||
| LAST = 7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101 | ||
| # Smartsheet Python SDK. | ||
| # | ||
| # Copyright 2018 Smartsheet.com, Inc. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"): you may | ||
| # not use this file except in compliance with the License. You may obtain | ||
| # a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
| # License for the specific language governing permissions and limitations | ||
| # under the License. | ||
| from enum import Enum | ||
|
|
||
|
|
||
| class ReportBooleanOperator(Enum): | ||
| AND = 1 | ||
| OR = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101 | ||
| # Smartsheet Python SDK. | ||
| # | ||
| # Copyright 2018 Smartsheet.com, Inc. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"): you may | ||
| # not use this file except in compliance with the License. You may obtain | ||
| # a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
| # License for the specific language governing permissions and limitations | ||
| # under the License. | ||
| from enum import Enum | ||
|
|
||
|
|
||
| class ReportFilterOperator(Enum): | ||
| EQUAL = 1 | ||
| NOT_EQUAL = 2 | ||
| GREATER_THAN = 3 | ||
| LESS_THAN = 4 | ||
| CONTAINS = 5 | ||
| BETWEEN = 6 | ||
| TODAY = 7 | ||
| PAST = 8 | ||
| FUTURE = 9 | ||
| LAST_N_DAYS = 10 | ||
| NEXT_N_DAYS = 11 | ||
| IS_BLANK = 12 | ||
| IS_NOT_BLANK = 13 | ||
| IS_NUMBER = 14 | ||
| IS_NOT_NUMBER = 15 | ||
| IS_DATE = 16 | ||
| IS_NOT_DATE = 17 | ||
| IS_CHECKED = 18 | ||
| IS_UNCHECKED = 19 | ||
| IS_ONE_OF = 20 | ||
| IS_NOT_ONE_OF = 21 | ||
| LESS_THAN_OR_EQUAL = 22 | ||
| GREATER_THAN_OR_EQUAL = 23 | ||
| DOES_NOT_CONTAIN = 24 | ||
| NOT_BETWEEN = 25 | ||
| NOT_TODAY = 26 | ||
| NOT_PAST = 27 | ||
| NOT_FUTURE = 28 | ||
| NOT_LAST_N_DAYS = 29 | ||
| NOT_NEXT_N_DAYS = 30 | ||
| HAS_ANY_OF = 31 | ||
| HAS_NONE_OF = 32 | ||
| HAS_ALL_OF = 33 | ||
| NOT_ALL_OF = 34 | ||
| MULTI_IS_EQUAL = 35 | ||
| MULTI_IS_NOT_EQUAL = 36 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101 | ||
| # Smartsheet Python SDK. | ||
| # | ||
| # Copyright 2018 Smartsheet.com, Inc. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"): you may | ||
| # not use this file except in compliance with the License. You may obtain | ||
| # a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
| # License for the specific language governing permissions and limitations | ||
| # under the License. | ||
| from enum import Enum | ||
|
|
||
|
|
||
| class ReportSystemColumnType(Enum): | ||
| MODIFIED_DATE = 1 | ||
| MODIFIED_BY = 2 | ||
| CREATED_DATE = 3 | ||
| CREATED_BY = 4 | ||
| SHEET_NAME = 5 # Valid for reports only |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.