groupdocs-python
Advanced tools
@@ -29,5 +29,3 @@ #!/usr/bin/env python | ||
| 'CanDownload': 'int', | ||
| 'CanExport': 'int', | ||
| 'CanDelete': 'int', | ||
| 'All': 'int' | ||
| 'CanExport': 'int' | ||
@@ -41,4 +39,2 @@ } | ||
| self.CanExport = None # int | ||
| self.CanDelete = None # int | ||
| self.All = None # int | ||
@@ -0,0 +0,0 @@ #!/usr/bin/env python |
@@ -0,0 +0,0 @@ #!/usr/bin/env python |
@@ -51,3 +51,4 @@ #!/usr/bin/env python | ||
| 'pageWidth': 'int', | ||
| 'pageHeight': 'int' | ||
| 'pageHeight': 'int', | ||
| 'lockDuringSign': 'bool' | ||
@@ -83,2 +84,3 @@ } | ||
| self.pageHeight = None # int | ||
| self.lockDuringSign = None # bool | ||
@@ -35,3 +35,6 @@ #!/usr/bin/env python | ||
| 'serviceHost': 'str', | ||
| 'syncOptions': 'str' | ||
| 'syncOptions': 'str', | ||
| 'altPublicKey': 'str', | ||
| 'altPrivateKey': 'str', | ||
| 'interoperable': 'bool' | ||
@@ -51,2 +54,5 @@ } | ||
| self.syncOptions = None # str | ||
| self.altPublicKey = None # str | ||
| self.altPrivateKey = None # str | ||
| self.interoperable = None # bool | ||
@@ -33,3 +33,2 @@ #!/usr/bin/env python | ||
| 'acceptableValues': 'list[str]', | ||
| 'options': 'list[TemplateEditorFieldOption]', | ||
| 'style': 'TemplateEditorFieldStyle', | ||
@@ -48,5 +47,4 @@ 'isTableMarker': 'bool' | ||
| self.acceptableValues = None # list[str] | ||
| self.options = None # list[TemplateEditorFieldOption] | ||
| self.style = None # TemplateEditorFieldStyle | ||
| self.isTableMarker = None # bool | ||
@@ -0,0 +0,0 @@ #!/usr/bin/env python |
@@ -26,5 +26,3 @@ #!/usr/bin/env python | ||
| self.swaggerTypes = { | ||
| 'fields': 'list[TemplateEditorField]', | ||
| 'words': 'list[DocumentWord]', | ||
| 'pageSizes': 'list[str]' | ||
| 'fields': 'list[TemplateEditorField]' | ||
@@ -35,4 +33,2 @@ } | ||
| self.fields = None # list[TemplateEditorField] | ||
| self.words = None # list[DocumentWord] | ||
| self.pageSizes = None # list[str] | ||
@@ -66,2 +66,8 @@ #!/usr/bin/env python | ||
| 'is_watermark_annotation_button_enabled': 'bool', | ||
| 'is_text_replacement_annotation_button_enabled': 'bool', | ||
| 'is_arrow_annotation_button_enabled': 'bool', | ||
| 'is_text_redaction_annotation_button_enabled': 'bool', | ||
| 'is_resource_redaction_annotation_button_enabled': 'bool', | ||
| 'is_text_underline_annotation_button_enabled': 'bool', | ||
| 'is_distance_annotation_button_enabled': 'bool', | ||
| 'is_annotation_document_name_shown': 'bool', | ||
@@ -165,2 +171,8 @@ 'annotation_navigation_icons': 'list[int]', | ||
| self.is_watermark_annotation_button_enabled = None # bool | ||
| self.is_text_replacement_annotation_button_enabled = None # bool | ||
| self.is_arrow_annotation_button_enabled = None # bool | ||
| self.is_text_redaction_annotation_button_enabled = None # bool | ||
| self.is_resource_redaction_annotation_button_enabled = None # bool | ||
| self.is_text_underline_annotation_button_enabled = None # bool | ||
| self.is_distance_annotation_button_enabled = None # bool | ||
| self.is_annotation_document_name_shown = None # bool | ||
@@ -167,0 +179,0 @@ self.annotation_navigation_icons = None # list[int] |
@@ -92,2 +92,53 @@ #!/usr/bin/env python | ||
| def SimulateAssessForPaymentPlan(self, userId, discountCode, paymentPlanId, **kwargs): | ||
| """Simulate Assess For Payment Plan | ||
| Args: | ||
| userId, str: User GUID (required) | ||
| discountCode, str: Discount Code (optional) | ||
| paymentPlanId, str: Payment PlanId on the payment service (optional) | ||
| Returns: GetInvoicesResponse | ||
| """ | ||
| if( userId == None or discountCode == None or paymentPlanId == None ): | ||
| raise ApiException(400, "missing required parameters") | ||
| allParams = ['userId', 'discountCode', 'paymentPlanId'] | ||
| params = locals() | ||
| for (key, val) in params['kwargs'].iteritems(): | ||
| if key not in allParams: | ||
| raise TypeError("Got an unexpected keyword argument '%s' to method SimulateAssessForPaymentPlan" % key) | ||
| params[key] = val | ||
| del params['kwargs'] | ||
| resourcePath = '/system/{userId}/paymentPlans/{paymentPlanId}/discounts/{discountCode}'.replace('*', '') | ||
| resourcePath = resourcePath.replace('{format}', 'json') | ||
| method = 'GET' | ||
| queryParams = {} | ||
| headerParams = {} | ||
| if ('userId' in params): | ||
| replacement = str(self.apiClient.toPathValue(params['userId'])) | ||
| resourcePath = resourcePath.replace('{' + 'userId' + '}', | ||
| replacement) | ||
| if ('discountCode' in params): | ||
| replacement = str(self.apiClient.toPathValue(params['discountCode'])) | ||
| resourcePath = resourcePath.replace('{' + 'discountCode' + '}', | ||
| replacement) | ||
| if ('paymentPlanId' in params): | ||
| replacement = str(self.apiClient.toPathValue(params['paymentPlanId'])) | ||
| resourcePath = resourcePath.replace('{' + 'paymentPlanId' + '}', | ||
| replacement) | ||
| postData = (params['body'] if 'body' in params else None) | ||
| response = self.apiClient.callAPI(self.basePath, resourcePath, method, queryParams, | ||
| postData, headerParams) | ||
| if not response: | ||
| return None | ||
| responseObject = self.apiClient.deserialize(response, 'GetInvoicesResponse') | ||
| return responseObject | ||
| def GetUserPlan(self, callerId, **kwargs): | ||
@@ -94,0 +145,0 @@ """Get user plan |
| __pkgname__ = "groupdocs-python" | ||
| __version__ = "2.1.0" | ||
| __version__ = "2.2.0" |
+3
-3
@@ -1,4 +0,4 @@ | ||
| Metadata-Version: 1.0 | ||
| Metadata-Version: 1.1 | ||
| Name: groupdocs-python | ||
| Version: 2.1.0 | ||
| Version: 2.2.0 | ||
| Summary: A Python interface to the GroupDocs API | ||
@@ -13,3 +13,3 @@ Home-page: http://groupdocs.com/ | ||
| Latest SDK version 2.1.0. | ||
| Latest SDK version 2.2.0. | ||
@@ -16,0 +16,0 @@ Requirements |
+1
-1
| GroupDocs Python SDK |Build Status|_ | ||
| #################################### | ||
| Latest SDK version 2.1.0. | ||
| Latest SDK version 2.2.0. | ||
@@ -6,0 +6,0 @@ Requirements |
+0
-0
@@ -0,0 +0,0 @@ #!/usr/bin/env python |
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.