Documentation
¶
Overview ¶
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
Copyright © 2024 Sky Syzygy ssyzygy@bam.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Get_AccountTypes_cmd = &cobra.Command{ Use: `AccountTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an account type by id`, Long: `Get the details of an account type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AccountTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.AccountTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.AccountTypesGet) } return }, }
var Get_Accounts_cmd = &cobra.Command{ Use: `Accounts`, Example: `{"AccountID":"string"}`, Short: `Get details of a specific credit card account`, Long: `Get details of a specific credit card account`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AccountsGetAll) } else { err = tq.Do(_tq, _tq.Get.AccountsGet) } return }, }
var Get_ActionTypes_cmd = &cobra.Command{ Use: `ActionTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an action type by id`, Long: `Get the details of an action type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ActionTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ActionTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ActionTypesGet) } return }, }
var Get_Actions_cmd = &cobra.Command{ Use: `Actions`, Example: `{"IssueActionID":"string"}`, Short: `Get details of an issue action`, Long: `Get details of an issue action.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ActionsGetAll) } else { err = tq.Do(_tq, _tq.Get.ActionsGet) } return }, }
var Get_ActivityCategories_cmd = &cobra.Command{ Use: `ActivityCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an activity category by id`, Long: `Get the details of an activity category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ActivityCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ActivityCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ActivityCategoriesGet) } return }, }
var Get_ActivityTypes_cmd = &cobra.Command{ Use: `ActivityTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an activity type by id`, Long: `Get the details of an activity type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ActivityTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ActivityTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ActivityTypesGet) } return }, }
var Get_AddressTypes_cmd = &cobra.Command{ Use: `AddressTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an address type by id`, Long: `Get the details of an address type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AddressTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.AddressTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.AddressTypesGet) } return }, }
var Get_Addresses_cmd = &cobra.Command{ Use: `Addresses`, Example: `{"AddressID":"string"}`, Short: `Get details of an address using addressId as a URL query parameter`, Long: `Get details of an address using addressId as a URL query parameter. Returns 404 Not Found if an address with the specified Id is not found.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AddressesGetAll) } else { err = tq.Do(_tq, _tq.Get.AddressesGet) } return }, }
var Get_AffiliationTypes_cmd = &cobra.Command{ Use: `AffiliationTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an affiliation type by id`, Long: `Get the details of an affiliation type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AffiliationTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.AffiliationTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.AffiliationTypesGet) } return }, }
var Get_Affiliations_cmd = &cobra.Command{ Use: `Affiliations`, Example: `{"AffiliationID":"string"}`, Short: `Get details of an affiliation`, Long: `Get details of an affiliation.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AffiliationsGetAll) } else { err = tq.Do(_tq, _tq.Get.AffiliationsGet) } return }, }
var Get_AliasTypes_cmd = &cobra.Command{ Use: `AliasTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an alias type by id`, Long: `Get the details of an alias type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AliasTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.AliasTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.AliasTypesGet) } return }, }
var Get_Aliases_cmd = &cobra.Command{ Use: `Aliases`, Example: `{"AliasID":"string"}`, Short: `Get details of an alias`, Long: `Get details of an alias.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AliasesGetAll) } else { err = tq.Do(_tq, _tq.Get.AliasesGet) } return }, }
var Get_AnalyticsCubes_cmd = &cobra.Command{ Use: `AnalyticsCubes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an analytics cube`, Long: `Get the details of an analytics cube.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AnalyticsCubesGetAll) } else { err = tq.Do(_tq, _tq.Get.AnalyticsCubesGet) } return }, }
var Get_AnalyticsReports_cmd = &cobra.Command{ Use: `AnalyticsReports`, Example: `{"AnalyticsReportID":"string"}`, Short: `Get a single SSRS Report for display in Analytics`, Long: `Get a single SSRS Report for display in Analytics.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AnalyticsReportsGetAll) } else { err = tq.Do(_tq, _tq.Get.AnalyticsReportsGet) } return }, }
var Get_AppScreenTexts_cmd = &cobra.Command{ Use: `AppScreenTexts`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an App Screen Text by id`, Long: `Get the details of an App Screen Text by id. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AppScreenTextsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.AppScreenTextsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.AppScreenTextsGet) } return }, }
var Get_AppealCategories_cmd = &cobra.Command{ Use: `AppealCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an appeal category by id`, Long: `Get the details of an appeal category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AppealCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.AppealCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.AppealCategoriesGet) } return }, }
var Get_Appeals_cmd = &cobra.Command{ Use: `Appeals`, Example: `{"AppealID":"string"}`, Short: `Get details of an Appeal`, Long: `Get details of an Appeal.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.AppealsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.AppealsGet) } return }, }
var Get_ApplicationObjects_cmd = &cobra.Command{ Use: `ApplicationObjects`, Example: ``, Short: `Get all application objects valid for the context usergroup`, Long: `Get all application objects valid for the context usergroup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.ApplicationObjectsGetAll) return }, }
var Get_Artists_cmd = &cobra.Command{ Use: `Artists`, Example: `{"ArtistID":"string"}`, Short: `Get details of an existing artist`, Long: `Get details of an existing artist.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ArtistsGetAll) } else { err = tq.Do(_tq, _tq.Get.ArtistsGet) } return }, }
var Get_AssetTypes_cmd = &cobra.Command{ Use: `AssetTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an asset type by id`, Long: `Get the details of an asset type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AssetTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.AssetTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.AssetTypesGet) } return }, }
var Get_Assets_cmd = &cobra.Command{ Use: `Assets`, Example: `{"AssetID":"string"}`, Short: `Get details of an asset`, Long: `Get details of an asset.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AssetsGetAll) } else { err = tq.Do(_tq, _tq.Get.AssetsGet) } return }, }
var Get_AssociationTypes_cmd = &cobra.Command{ Use: `AssociationTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an association type by id`, Long: `Get the details of an association type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AssociationTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.AssociationTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.AssociationTypesGet) } return }, }
var Get_Associations_cmd = &cobra.Command{ Use: `Associations`, Example: `{"AssociationID":"string"}`, Short: `Get details of an association`, Long: `Get details of an association.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AssociationsGetAll) } else { err = tq.Do(_tq, _tq.Get.AssociationsGet) } return }, }
var Get_AttendanceHistory_cmd = &cobra.Command{ Use: `AttendanceHistory`, Example: `{"ConstituentID":"string", "IncludeAffiliations":"string"}`, Short: `Attendance History for a selected constituent optionally including primary affiliates`, Long: `Attendance History for a selected constituent optionally including primary affiliates. Does not return history based on recipient for the selected constituent(s).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.AttendanceHistoryGetAll) return }, }
var Get_Attributes_cmd = &cobra.Command{ Use: `Attributes`, Example: `{"AttributeID":"string"}`, Short: `Get details of an attribute`, Long: `Get details of an attribute.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AttributesGetAll) } else { err = tq.Do(_tq, _tq.Get.AttributesGet) } return }, }
var Get_AuditLogs_cmd = &cobra.Command{ Use: `AuditLogs`, Example: `{"AuditLog":"string"}`, Short: `Get details of a audit log`, Long: `Get details of a audit log.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.AuditLogsGetAll) } else if test, _ := cmd.Flags().GetBool("Details"); test { err = tq.Do(_tq, _tq.Get.AuditLogsGetDetails) } else { err = tq.Do(_tq, _tq.Get.AuditLogsGet) } return }, }
var Get_Authenticate_cmd = &cobra.Command{ Use: `Authenticate`, Example: ``, Short: `This is a no-op operation for windows authentication diagnostics`, Long: `This is a no-op operation for windows authentication diagnostics.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.AuthenticateWindowsAuthentication) return }, }
var Get_BatchMaintenance_cmd = &cobra.Command{ Use: `BatchMaintenance`, Example: `{"BatchID":"string"}`, Short: `Get a single Batch`, Long: `Get a single Batch`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Active"); test { err = tq.Do(_tq, _tq.Get.BatchMaintenanceActive) } else { err = tq.Do(_tq, _tq.Get.BatchMaintenanceGet) } return }, }
var Get_BatchTypeGroups_cmd = &cobra.Command{ Use: `BatchTypeGroups`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a batch type group by id`, Long: `Get the details of a batch type group by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.BatchTypeGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.BatchTypeGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.BatchTypeGroupsGet) } return }, }
var Get_BatchTypeUserGroup_cmd = &cobra.Command{ Use: `BatchTypeUserGroup`, Example: `{"UserGroup":"string"}`, Short: `Get all batch type/user group mappings`, Long: `Get all batch type/user group mappings.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.BatchTypeUserGroupGetAll) return }, }
var Get_BatchTypes_cmd = &cobra.Command{ Use: `BatchTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a batch type by id`, Long: `Get the details of a batch type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.BatchTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.BatchTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.BatchTypesGet) } return }, }
var Get_BillingSchedules_cmd = &cobra.Command{ Use: `BillingSchedules`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Billing Schedule`, Long: `Get the details of a Billing Schedule. To get only the resources for which the user has write/edit access, pass filter="writeonly". To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.BillingSchedulesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.BillingSchedulesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.BillingSchedulesGet) } return }, }
var Get_BillingTypes_cmd = &cobra.Command{ Use: `BillingTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Billing Type by id`, Long: `Get the details of a Billing Type by id. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.BillingTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.BillingTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.BillingTypesGet) } return }, }
var Get_BookingCategories_cmd = &cobra.Command{ Use: `BookingCategories`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Booking Category by id`, Long: `Get the details of a Booking Category by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.BookingCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.BookingCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.BookingCategoriesGet) } return }, }
var Get_BookingTemplates_cmd = &cobra.Command{ Use: `BookingTemplates`, Example: `{"BookingTemplateID":"string"}`, Short: `Get a Booking Template by ID`, Long: `Get a Booking Template by ID`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.BookingTemplatesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.BookingTemplatesGet) } return }, }
var Get_Bookings_cmd = &cobra.Command{ Use: `Bookings`, Example: `{"BookingID":"string"}`, Short: `Get a Booking by id`, Long: `Get a Booking by id`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("AllDocumentSummaries"); test { err = tq.Do(_tq, _tq.Get.BookingsGetAllDocumentSummaries) } else if test, _ := cmd.Flags().GetBool("AllDocuments"); test { err = tq.Do(_tq, _tq.Get.BookingsGetAllDocuments) } else if test, _ := cmd.Flags().GetBool("Document"); test { err = tq.Do(_tq, _tq.Get.BookingsGetDocument) } else if test, _ := cmd.Flags().GetBool("Summary"); test { err = tq.Do(_tq, _tq.Get.BookingsGetSummary) } else { err = tq.Do(_tq, _tq.Get.BookingsGet) } return }, }
var Get_BulkCopySets_cmd = &cobra.Command{ Use: `BulkCopySets`, Example: `{"BulkCopySetID":"string"}`, Short: `Get a bulk copy set by Id`, Long: `Get a bulk copy set by Id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.BulkCopySetsGetAll) } else if test, _ := cmd.Flags().GetBool("DayForCopy"); test { err = tq.Do(_tq, _tq.Get.BulkCopySetsGetDayForCopy) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.BulkCopySetsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.BulkCopySetsGet) } return }, }
var Get_BulkDailyCopyExclusions_cmd = &cobra.Command{ Use: `BulkDailyCopyExclusions`, Example: `{"BulkDailyCopyExclusionID":"string"}`, Short: `Get a bulk daily copy exclusion by id`, Long: `Get a bulk daily copy exclusion by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.BulkDailyCopyExclusionsGetAll) } else { err = tq.Do(_tq, _tq.Get.BulkDailyCopyExclusionsGet) } return }, }
var Get_BusinessUnits_cmd = &cobra.Command{ Use: `BusinessUnits`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a business unit by id`, Long: `Get the details of a business unit by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.BusinessUnitsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.BusinessUnitsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.BusinessUnitsGet) } return }, }
var Get_Cache_cmd = &cobra.Command{ Use: `Cache`, Example: ``, Short: ``, Long: ``, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.CacheInit) return }, }
var Get_CampaignDesignations_cmd = &cobra.Command{ Use: `CampaignDesignations`, Example: `{"CampaignDesignationID":"string"}`, Short: `Get a single Designation associated to a Campaign`, Long: `Get a single Designation associated to a Campaign.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.CampaignDesignationsGetAll) } else { err = tq.Do(_tq, _tq.Get.CampaignDesignationsGet) } return }, }
var Get_CampaignFunds_cmd = &cobra.Command{ Use: `CampaignFunds`, Example: `{"CampaignFundID":"string"}`, Short: `Get a single Fund associated to a Campaign`, Long: `Get a single Fund associated to a Campaign.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.CampaignFundsGetAll) } else { err = tq.Do(_tq, _tq.Get.CampaignFundsGet) } return }, }
var Get_Campaigns_cmd = &cobra.Command{ Use: `Campaigns`, Example: `{"CampaignID":"string"}`, Short: `Get summary of a specific campaign`, Long: `Get summary of a specific campaign.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.CampaignsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.CampaignsGet) } return }, }
var Get_CardReaderTypes_cmd = &cobra.Command{ Use: `CardReaderTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Card Reader Type by id`, Long: `Get the details of a Card Reader Type by id. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.CardReaderTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.CardReaderTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.CardReaderTypesGet) } return }, }
var Get_Cart_cmd = &cobra.Command{ Use: `Cart`, Example: `{"MessageTypes":"string", "SavedCart":"string", "SessionKey":"string"}`, Short: `Gets the cart details`, Long: `Gets the cart details`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("CartProperties"); test { err = tq.Do(_tq, _tq.Get.CartGetCartProperties) } else if test, _ := cmd.Flags().GetBool("Messages"); test { err = tq.Do(_tq, _tq.Get.CartGetMessages) } else if test, _ := cmd.Flags().GetBool("ReceiptString"); test { err = tq.Do(_tq, _tq.Get.CartGetReceiptString) } else if test, _ := cmd.Flags().GetBool("Summary"); test { err = tq.Do(_tq, _tq.Get.CartGetSummary) } else { err = tq.Do(_tq, _tq.Get.CartGet) } return }, }
var Get_Colors_cmd = &cobra.Command{ Use: `Colors`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a color by id`, Long: `Get the details of a color by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ColorsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ColorsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ColorsGet) } return }, }
var Get_Composers_cmd = &cobra.Command{ Use: `Composers`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a composer by id`, Long: `Get the details of a composer by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ComposersGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ComposersGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ComposersGet) } return }, }
var Get_Constituencies_cmd = &cobra.Command{ Use: `Constituencies`, Example: `{"ConstituencyID":"string"}`, Short: `Get details of constituency`, Long: `Get details of constituency.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ConstituenciesGetAll) } else { err = tq.Do(_tq, _tq.Get.ConstituenciesGet) } return }, }
var Get_ConstituencyTypes_cmd = &cobra.Command{ Use: `ConstituencyTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a constituency type by id`, Long: `Get the details of a constituency type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ConstituencyTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ConstituencyTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ConstituencyTypesGet) } return }, }
var Get_ConstituentContributions_cmd = &cobra.Command{ Use: `ConstituentContributions`, Example: `{"CampaignIds":"string", "ConstituentID":"string", "EndDate":"string", "FundIds":"string", "IncludeAffiliations":"string", "StartDate":"string"}`, Short: `Get contributions for a constituent`, Long: `Get contributions for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.ConstituentContributionsGetAll) return }, }
var Get_ConstituentDocuments_cmd = &cobra.Command{ Use: `ConstituentDocuments`, Example: `{"DocumentID":"string"}`, Short: `Get the details of a document for a constituent`, Long: `Get the details of a document for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ConstituentDocumentsGetAll) } else if test, _ := cmd.Flags().GetBool("AllSummary"); test { err = tq.Do(_tq, _tq.Get.ConstituentDocumentsGetAllSummary) } else { err = tq.Do(_tq, _tq.Get.ConstituentDocumentsGet) } return }, }
var Get_ConstituentGroups_cmd = &cobra.Command{ Use: `ConstituentGroups`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a constituent group by id`, Long: `Get the details of a constituent group by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ConstituentGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ConstituentGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ConstituentGroupsGet) } return }, }
var Get_ConstituentInactives_cmd = &cobra.Command{ Use: `ConstituentInactives`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a constituent inactive by id`, Long: `Get the details of a constituent inactive by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ConstituentInactivesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ConstituentInactivesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ConstituentInactivesGet) } return }, }
var Get_ConstituentProtectionTypes_cmd = &cobra.Command{ Use: `ConstituentProtectionTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a constituent protection type by id`, Long: `Get the details of a constituent protection type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ConstituentProtectionTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ConstituentProtectionTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ConstituentProtectionTypesGet) } return }, }
var Get_ConstituentTypeAffiliates_cmd = &cobra.Command{ Use: `ConstituentTypeAffiliates`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a constituent type affiliate by id`, Long: `Get the details of a constituent type affiliate by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ConstituentTypeAffiliatesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ConstituentTypeAffiliatesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ConstituentTypeAffiliatesGet) } return }, }
var Get_ConstituentTypes_cmd = &cobra.Command{ Use: `ConstituentTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a constituent type by id`, Long: `Get the details of a constituent type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ConstituentTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ConstituentTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ConstituentTypesGet) } return }, }
var Get_Constituents_cmd = &cobra.Command{ Use: `Constituents`, Example: `{"ConstituentID":"string"}`, Short: `Get the details of a Constituent using id`, Long: `Get the details of a Constituent using id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Constituent"); test { err = tq.Do(_tq, _tq.Get.ConstituentsGetConstituent) } else if test, _ := cmd.Flags().GetBool("ConstituentDevelopmentInfo"); test { err = tq.Do(_tq, _tq.Get.ConstituentsGetConstituentDevelopmentInfo) } else if test, _ := cmd.Flags().GetBool("ConstituentSnapshot"); test { err = tq.Do(_tq, _tq.Get.ConstituentsGetConstituentSnapshot) } else if test, _ := cmd.Flags().GetBool("Constituents"); test { err = tq.Do(_tq, _tq.Get.ConstituentsGetConstituents) } else if test, _ := cmd.Flags().GetBool("DefaultHeader"); test { err = tq.Do(_tq, _tq.Get.ConstituentsGetDefaultHeader) } else if test, _ := cmd.Flags().GetBool("FlexHeader"); test { err = tq.Do(_tq, _tq.Get.ConstituentsGetFlexHeader) } else if test, _ := cmd.Flags().GetBool("Header"); test { err = tq.Do(_tq, _tq.Get.ConstituentsGetHeader) } else if test, _ := cmd.Flags().GetBool("PrimaryHousehold"); test { err = tq.Do(_tq, _tq.Get.ConstituentsGetPrimaryHousehold) } else if test, _ := cmd.Flags().GetBool("Search"); test { err = tq.Do(_tq, _tq.Get.ConstituentsSearch) } else { err = tq.Do(_tq, _tq.Get.ConstituentsGet) } return }, }
var Get_ContactPermissionCategories_cmd = &cobra.Command{ Use: `ContactPermissionCategories`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a contact permission category`, Long: `Get the details of a contact permission category. To get only the resoures for which the user has write/edit access, pass filter="writeonly". To get the resource in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContactPermissionCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ContactPermissionCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ContactPermissionCategoriesGet) } return }, }
var Get_ContactPermissionTypes_cmd = &cobra.Command{ Use: `ContactPermissionTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a contact permission type`, Long: `Get the details of a contact permission type. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resource in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContactPermissionTypesGetAll) } else if test, _ := cmd.Flags().GetBool("ForProductionSeasons"); test { err = tq.Do(_tq, _tq.Get.ContactPermissionTypesGetForProductionSeasons) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ContactPermissionTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ContactPermissionTypesGet) } return }, }
var Get_ContactPermissions_cmd = &cobra.Command{ Use: `ContactPermissions`, Example: `{"ContactPermissionID":"string"}`, Short: `Get details of a contact permission`, Long: `Get details of a contact permission`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContactPermissionsGetAll) } else { err = tq.Do(_tq, _tq.Get.ContactPermissionsGet) } return }, }
var Get_ContactPointCategories_cmd = &cobra.Command{ Use: `ContactPointCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a contact point category by id`, Long: `Get the details of a contact point category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContactPointCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ContactPointCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ContactPointCategoriesGet) } return }, }
var Get_ContactPointCategoryPurposes_cmd = &cobra.Command{ Use: `ContactPointCategoryPurposes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a contact point category purpose by id`, Long: `Get the details of a contact point category purpose by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContactPointCategoryPurposesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ContactPointCategoryPurposesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ContactPointCategoryPurposesGet) } return }, }
var Get_ContactPointPurposeCategories_cmd = &cobra.Command{ Use: `ContactPointPurposeCategories`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a contact point purpose category by id`, Long: `Get the details of a contact point purpose category by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContactPointPurposeCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ContactPointPurposeCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ContactPointPurposeCategoriesGet) } return }, }
var Get_ContactPointPurposeMaps_cmd = &cobra.Command{ Use: `ContactPointPurposeMaps`, Example: `{"ContactPointPurposeMapID":"string"}`, Short: `Get details of a contact point purpose`, Long: `Get details of a contact point purpose.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContactPointPurposeMapsGetAll) } else { err = tq.Do(_tq, _tq.Get.ContactPointPurposeMapsGet) } return }, }
var Get_ContactPointPurposes_cmd = &cobra.Command{ Use: `ContactPointPurposes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a contact point purpose by id`, Long: `Get the details of a contact point purpose by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContactPointPurposesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ContactPointPurposesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ContactPointPurposesGet) } return }, }
var Get_ContactPoints_cmd = &cobra.Command{ Use: `ContactPoints`, Example: `{"ConstituentID":"string", "IncludeAffiliations":"string"}`, Short: `Get all the delivery points for the specified constituent (constituentId) and all its visible affiliation's delivery point purposes as well`, Long: `Get all the delivery points for the specified constituent (constituentId) and all its visible affiliation's delivery point purposes as well. To exclude delivery point purposes of the visible affiliations pass includeAffiliations=false.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.ContactPointsGetAll) return }, }
var Get_ContactTypes_cmd = &cobra.Command{ Use: `ContactTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a contact type by id`, Long: `Get the details of a contact type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContactTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ContactTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ContactTypesGet) } return }, }
var Get_ContextInformation_cmd = &cobra.Command{ Use: `ContextInformation`, Example: ``, Short: `Get a commonly used set of default values for the user and usergroup in the current security context`, Long: `Get a commonly used set of default values for the user and usergroup in the current security context.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.ContextInformationGet) return }, }
var Get_ContributionDesignations_cmd = &cobra.Command{ Use: `ContributionDesignations`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a contribution designation by id`, Long: `Get the details of a contribution designation by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContributionDesignationsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ContributionDesignationsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ContributionDesignationsGet) } return }, }
var Get_ContributionImportSets_cmd = &cobra.Command{ Use: `ContributionImportSets`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a contributionImportSet by id`, Long: `Get the details of a contributionImportSet by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ContributionImportSetsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ContributionImportSetsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ContributionImportSetsGet) } return }, }
var Get_ControlGroupUserGroups_cmd = &cobra.Command{ Use: `ControlGroupUserGroups`, Example: `{"ID":"string"}`, Short: `Get the details of a control group/user group mapping by id`, Long: `Get the details of a control group/user group mapping by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ControlGroupUserGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ControlGroupUserGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ControlGroupUserGroupsGet) } return }, }
var Get_ControlGroups_cmd = &cobra.Command{ Use: `ControlGroups`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a control group by id`, Long: `Get the details of a control group by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ControlGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ControlGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ControlGroupsGet) } return }, }
var Get_CoreIdentity_cmd = &cobra.Command{ Use: `CoreIdentity`, Example: ``, Short: ``, Long: ``, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.CoreIdentityToken) return }, }
var Get_Countries_cmd = &cobra.Command{ Use: `Countries`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a country by id`, Long: `Get the details of a country by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.CountriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.CountriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.CountriesGet) } return }, }
var Get_CrediteeTypes_cmd = &cobra.Command{ Use: `CrediteeTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a crediteeType by id`, Long: `Get the details of a crediteeType by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.CrediteeTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.CrediteeTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.CrediteeTypesGet) } return }, }
var Get_Credits_cmd = &cobra.Command{ Use: `Credits`, Example: `{"ProductionElementIds":"string"}`, Short: `Returns all credits for the requested production element`, Long: `Returns all credits for the requested production element, and all credits from above it in the production hierarchy.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.CreditsGetCredits) return }, }
var Get_CriterionOperators_cmd = &cobra.Command{ Use: `CriterionOperators`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a criterion operator by id`, Long: `Get the details of a criterion operator by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.CriterionOperatorsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.CriterionOperatorsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.CriterionOperatorsGet) } return }, }
var Get_CumulativeGivingReceipts_cmd = &cobra.Command{ Use: `CumulativeGivingReceipts`, Example: `{"CumulativeGivingReceiptID":"string"}`, Short: `Get details of an cumulativeGivingReceipt`, Long: `Get details of an cumulativeGivingReceipt.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.CumulativeGivingReceiptsGetAll) } else if test, _ := cmd.Flags().GetBool("ForSession"); test { err = tq.Do(_tq, _tq.Get.CumulativeGivingReceiptsGetForSession) } else { err = tq.Do(_tq, _tq.Get.CumulativeGivingReceiptsGet) } return }, }
var Get_CurrencyTypes_cmd = &cobra.Command{ Use: `CurrencyTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a currency type by id`, Long: `Get the details of a currency type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.CurrencyTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.CurrencyTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.CurrencyTypesGet) } return }, }
var Get_CustomDefaultCategories_cmd = &cobra.Command{ Use: `CustomDefaultCategories`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a custom default category by id`, Long: `Get the details of a custom default category by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.CustomDefaultCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.CustomDefaultCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.CustomDefaultCategoriesGet) } return }, }
var Get_CustomDefaults_cmd = &cobra.Command{ Use: `CustomDefaults`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a custom default by id`, Long: `Get the details of a custom default by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.CustomDefaultsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.CustomDefaultsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.CustomDefaultsGet) } return }, }
var Get_Custom_cmd = &cobra.Command{ Use: `Custom`, Example: ``, Short: `Get the metadata information of a custom table as defined by TR_DATASERVICE_TABLES and TR_DATASERVICE_COLUMNS`, Long: `Get the metadata information of a custom table as defined by TR_DATASERVICE_TABLES and TR_DATASERVICE_COLUMNS.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.CustomGetMetadata) return }, }
var Get_DeliveryMethods_cmd = &cobra.Command{ Use: `DeliveryMethods`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a delivery method by id`, Long: `Get the details of a delivery method by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.DeliveryMethodsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.DeliveryMethodsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.DeliveryMethodsGet) } return }, }
var Get_DesignationCodes_cmd = &cobra.Command{ Use: `DesignationCodes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a designation code by id`, Long: `Get the details of a designation code by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.DesignationCodesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.DesignationCodesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.DesignationCodesGet) } return }, }
var Get_Designs_cmd = &cobra.Command{ Use: `Designs`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a design by id`, Long: `Get the details of a design by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.DesignsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.DesignsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.DesignsGet) } return }, }
var Get_Diagnostics_cmd = &cobra.Command{ Use: `Diagnostics`, Example: ``, Short: `Validates Encryption Key Dates`, Long: `Validates Encryption Key Dates.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("SeatServerStatus"); test { err = tq.Do(_tq, _tq.Get.DiagnosticsGetSeatServerStatus) } else if test, _ := cmd.Flags().GetBool("Status"); test { err = tq.Do(_tq, _tq.Get.DiagnosticsGetStatus) } else if test, _ := cmd.Flags().GetBool("StatusReport"); test { err = tq.Do(_tq, _tq.Get.DiagnosticsGetStatusReport) } else { err = tq.Do(_tq, _tq.Get.DiagnosticsEncryptionKeyCheck) } return }, }
var Get_DirectDebitAccountTypes_cmd = &cobra.Command{ Use: `DirectDebitAccountTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a direct debit account type by id`, Long: `Get the details of a direct debit account type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.DirectDebitAccountTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.DirectDebitAccountTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.DirectDebitAccountTypesGet) } return }, }
var Get_DiscountTypes_cmd = &cobra.Command{ Use: `DiscountTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a discount type by id`, Long: `Get the details of a discount type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.DiscountTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.DiscountTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.DiscountTypesGet) } return }, }
var Get_Divisions_cmd = &cobra.Command{ Use: `Divisions`, Example: ``, Short: `Get the control group/division mappings for the specified division`, Long: `Get the control group/division mappings for the specified division.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("ForDivision"); test { err = tq.Do(_tq, _tq.Get.DivisionsGetForDivision) } else { err = tq.Do(_tq, _tq.Get.DivisionsGetAll) } return }, }
var Get_DocumentCategories_cmd = &cobra.Command{ Use: `DocumentCategories`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a documentCategory by id`, Long: `Get the details of a documentCategory by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.DocumentCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.DocumentCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.DocumentCategoriesGet) } return }, }
var Get_Documents_cmd = &cobra.Command{ Use: `Documents`, Example: `{"DocumentID":"string"}`, Short: `Get the details of a document`, Long: `Get the details of a document.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.DocumentsGetAll) } else if test, _ := cmd.Flags().GetBool("AllSummary"); test { err = tq.Do(_tq, _tq.Get.DocumentsGetAllSummary) } else if test, _ := cmd.Flags().GetBool("Settings"); test { err = tq.Do(_tq, _tq.Get.DocumentsSettings) } else { err = tq.Do(_tq, _tq.Get.DocumentsGet) } return }, }
var Get_DonationLevels_cmd = &cobra.Command{ Use: `DonationLevels`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a donation level by id`, Long: `Get the details of a donation level by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.DonationLevelsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.DonationLevelsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.DonationLevelsGet) } return }, }
var Get_EMV_cmd = &cobra.Command{ Use: `EMV`, Example: `{"Cert":"string", "Merchant":"string"}`, Short: `Retrieve information on all lanes associated with merchant`, Long: `Retrieve information on all lanes associated with merchant`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("ConnectionStatus"); test { err = tq.Do(_tq, _tq.Get.EMVGetConnectionStatus) } else if test, _ := cmd.Flags().GetBool("ConnectionStatusHistory"); test { err = tq.Do(_tq, _tq.Get.EMVGetConnectionStatusHistory) } else if test, _ := cmd.Flags().GetBool("IdleMessage"); test { err = tq.Do(_tq, _tq.Get.EMVGetIdleMessage) } else if test, _ := cmd.Flags().GetBool("Lane"); test { err = tq.Do(_tq, _tq.Get.EMVGetLane) } else { err = tq.Do(_tq, _tq.Get.EMVGetAllLanes) } return }, }
var Get_ElectronicAddressTypes_cmd = &cobra.Command{ Use: `ElectronicAddressTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an electronic address type by id`, Long: `Get the details of an electronic address type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ElectronicAddressTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ElectronicAddressTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ElectronicAddressTypesGet) } return }, }
var Get_ElectronicAddresses_cmd = &cobra.Command{ Use: `ElectronicAddresses`, Example: `{"ElectronicAddressID":"string"}`, Short: `Get details of an electronic address`, Long: `Get details of an electronic address.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ElectronicAddressesGetAll) } else if test, _ := cmd.Flags().GetBool("IsAttachedToLogin"); test { err = tq.Do(_tq, _tq.Get.ElectronicAddressesIsAttachedToLogin) } else { err = tq.Do(_tq, _tq.Get.ElectronicAddressesGet) } return }, }
var Get_EmailProfiles_cmd = &cobra.Command{ Use: `EmailProfiles`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an email profile by id`, Long: `Get the details of an email profile by id`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.EmailProfilesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.EmailProfilesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.EmailProfilesGet) } return }, }
var Get_EmarketIndicators_cmd = &cobra.Command{ Use: `EmarketIndicators`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an emarket indicator by id`, Long: `Get the details of an emarket indicator by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.EmarketIndicatorsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.EmarketIndicatorsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.EmarketIndicatorsGet) } return }, }
var Get_Eras_cmd = &cobra.Command{ Use: `Eras`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an era by id`, Long: `Get the details of an era by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ErasGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ErasGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ErasGet) } return }, }
var Get_EventControl_cmd = &cobra.Command{ Use: `EventControl`, Example: `{"EndDate":"string", "StartDate":"string"}`, Short: `Returns a response containing a list of EventControl rows for the N-Scan event control table`, Long: `Returns a response containing a list of EventControl rows for the N-Scan event control table.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.EventControlGetAll) return }, }
var Get_Facilities_cmd = &cobra.Command{ Use: `Facilities`, Example: `{"ID":"string"}`, Short: `Get details of a Facility`, Long: `Get details of a Facility.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.FacilitiesGetAll) } else if test, _ := cmd.Flags().GetBool("Screens"); test { err = tq.Do(_tq, _tq.Get.FacilitiesGetScreens) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.FacilitiesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.FacilitiesGet) } return }, }
var Get_Fees_cmd = &cobra.Command{ Use: `Fees`, Example: `{"ID":"string"}`, Short: `Get details of a fee`, Long: `Get details of a fee.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.FeesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.FeesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.FeesGet) } return }, }
var Get_FinanceContributions_cmd = &cobra.Command{ Use: `FinanceContributions`, Example: `{"ContributionID":"string"}`, Short: `Get details of a contribution`, Long: `Get details of a contribution.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.FinanceContributionsGetAll) } else { err = tq.Do(_tq, _tq.Get.FinanceContributionsGet) } return }, }
var Get_Formats_cmd = &cobra.Command{ Use: `Formats`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a format by id`, Long: `Get the details of a format by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.FormatsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.FormatsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.FormatsGet) } return }, }
var Get_Funds_cmd = &cobra.Command{ Use: `Funds`, Example: `{"FundID":"string"}`, Short: `Get details of a specific fund`, Long: `Get details of a specific fund`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.FundsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.FundsGet) } return }, }
var Get_GLAccounts_cmd = &cobra.Command{ Use: `GLAccounts`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a gl account by id`, Long: `Get the details of a gl account by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.GLAccountsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.GLAccountsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.GLAccountsGet) } return }, }
var Get_Genders_cmd = &cobra.Command{ Use: `Genders`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a gender by id`, Long: `Get the details of a gender by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.GendersGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.GendersGetSummaries) } else { err = tq.Do(_tq, _tq.Get.GendersGet) } return }, }
var Get_GiftAidContactMethods_cmd = &cobra.Command{ Use: `GiftAidContactMethods`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a gift aid contact method by id`, Long: `Get the details of a gift aid contact method by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.GiftAidContactMethodsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.GiftAidContactMethodsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.GiftAidContactMethodsGet) } return }, }
var Get_GiftAidDeclarations_cmd = &cobra.Command{ Use: `GiftAidDeclarations`, Example: `{"GiftAidDeclarationID":"string"}`, Short: `Gets a single Gift Aid Declaration`, Long: `Gets a single Gift Aid Declaration.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.GiftAidDeclarationsGetAll) } else { err = tq.Do(_tq, _tq.Get.GiftAidDeclarationsGet) } return }, }
var Get_GiftAidDocumentStatuses_cmd = &cobra.Command{ Use: `GiftAidDocumentStatuses`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a gift aid document status by id`, Long: `Get the details of a gift aid document status by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.GiftAidDocumentStatusesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.GiftAidDocumentStatusesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.GiftAidDocumentStatusesGet) } return }, }
var Get_GiftAidIneligibleReasons_cmd = &cobra.Command{ Use: `GiftAidIneligibleReasons`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a gift aid ineligible reason by id`, Long: `Get the details of a gift aid ineligible reason by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.GiftAidIneligibleReasonsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.GiftAidIneligibleReasonsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.GiftAidIneligibleReasonsGet) } return }, }
var Get_GiftAidRates_cmd = &cobra.Command{ Use: `GiftAidRates`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a gift aid rate by id`, Long: `Get the details of a gift aid rate by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.GiftAidRatesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.GiftAidRatesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.GiftAidRatesGet) } return }, }
var Get_GiftAidStatuses_cmd = &cobra.Command{ Use: `GiftAidStatuses`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a gift aid status by id`, Long: `Get the details of a gift aid status by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.GiftAidStatusesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.GiftAidStatusesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.GiftAidStatusesGet) } return }, }
var Get_GiftAidTypes_cmd = &cobra.Command{ Use: `GiftAidTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a gift aid type by id`, Long: `Get the details of a gift aid type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.GiftAidTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.GiftAidTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.GiftAidTypesGet) } return }, }
var Get_GiftCertificates_cmd = &cobra.Command{ Use: `GiftCertificates`, Example: `{"GiftCertificateNumber":"string"}`, Short: `Get details of a specific gift certificate`, Long: `Get details of a specific gift certificate. The original amount, amount used and balance are all returned. Amounts applied to a current web session are included.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.GiftCertificatesGet) return }, }
var Get_HoldCodeCategories_cmd = &cobra.Command{ Use: `HoldCodeCategories`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Hold Code Category by id`, Long: `Get the details of a Hold Code Category by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.HoldCodeCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.HoldCodeCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.HoldCodeCategoriesGet) } return }, }
var Get_HoldCodeUserGroups_cmd = &cobra.Command{ Use: `HoldCodeUserGroups`, Example: `{"HoldCodeUserGroupID":"string"}`, Short: `Get the details of a hold code/user group mapping by id`, Long: `Get the details of a hold code/user group mapping by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.HoldCodeUserGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.HoldCodeUserGroupsGetSummaries) } else if test, _ := cmd.Flags().GetBool("Summary"); test { err = tq.Do(_tq, _tq.Get.HoldCodeUserGroupsGetSummary) } else { err = tq.Do(_tq, _tq.Get.HoldCodeUserGroupsGet) } return }, }
var Get_HoldCodes_cmd = &cobra.Command{ Use: `HoldCodes`, Example: `{"HoldCodeID":"string"}`, Short: `Get details of a Hold Code`, Long: `Get details of a Hold Code.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.HoldCodesGetAll) } else { err = tq.Do(_tq, _tq.Get.HoldCodesGet) } return }, }
var Get_InactiveReasons_cmd = &cobra.Command{ Use: `InactiveReasons`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an inactive reason by id`, Long: `Get the details of an inactive reason by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.InactiveReasonsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.InactiveReasonsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.InactiveReasonsGet) } return }, }
var Get_IntegrationDefaults_cmd = &cobra.Command{ Use: `IntegrationDefaults`, Example: `{"ID":"string"}`, Short: `Get the details of an Integration Default by id`, Long: `Get the details of an Integration Default by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.IntegrationDefaultsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.IntegrationDefaultsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.IntegrationDefaultsGet) } return }, }
var Get_Integrations_cmd = &cobra.Command{ Use: `Integrations`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an action type by id`, Long: `Get the details of an action type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.IntegrationsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.IntegrationsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.IntegrationsGet) } return }, }
var Get_InterestCategories_cmd = &cobra.Command{ Use: `InterestCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an interest category by id`, Long: `Get the details of an interest category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.InterestCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.InterestCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.InterestCategoriesGet) } return }, }
var Get_InterestTypes_cmd = &cobra.Command{ Use: `InterestTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an interest type by id`, Long: `Get the details of an interest type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.InterestTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.InterestTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.InterestTypesGet) } return }, }
var Get_Interests_cmd = &cobra.Command{ Use: `Interests`, Example: `{"InterestID":"string"}`, Short: `Get details of an interest`, Long: `Get details of an interest.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.InterestsGetAll) } else { err = tq.Do(_tq, _tq.Get.InterestsGet) } return }, }
var Get_Internal_cmd = &cobra.Command{ Use: `Internal`, Example: `{"AddressID":"string"}`, Short: `Get details of an address and all the phones attached to it`, Long: `Get details of an address and all the phones attached to it.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.InternalGetAll) } else if test, _ := cmd.Flags().GetBool("ConstituentMiniSnapshot"); test { err = tq.Do(_tq, _tq.Get.InternalGetConstituentMiniSnapshot) } else { err = tq.Do(_tq, _tq.Get.InternalGet) } return }, }
var Get_InventoryContactPermissionTypes_cmd = &cobra.Command{ Use: `InventoryContactPermissionTypes`, Example: `{"InventoryContactPermissionTypeID":"string"}`, Short: `Get details of an inventoryContactPermissionType`, Long: `Get details of an inventoryContactPermissionType.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.InventoryContactPermissionTypesGetAll) } else { err = tq.Do(_tq, _tq.Get.InventoryContactPermissionTypesGet) } return }, }
var Get_InventoryWebContents_cmd = &cobra.Command{ Use: `InventoryWebContents`, Example: `{"InventoryWebContentID":"string"}`, Short: `Get details of an inventoryWebContent`, Long: `Get details of an inventoryWebContent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.InventoryWebContentsGetAll) } else if test, _ := cmd.Flags().GetBool("AllSummaries"); test { err = tq.Do(_tq, _tq.Get.InventoryWebContentsGetAllSummaries) } else { err = tq.Do(_tq, _tq.Get.InventoryWebContentsGet) } return }, }
var Get_InvoiceBilling_cmd = &cobra.Command{ Use: `InvoiceBilling`, Example: `{"ID":"string"}`, Short: `Get status of a processing automated billing run`, Long: `Get status of a processing automated billing run.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.InvoiceBillingStatus) return }, }
var Get_Issues_cmd = &cobra.Command{ Use: `Issues`, Example: `{"IssueID":"string"}`, Short: `Get details of a customer issue`, Long: `Get details of a customer issue.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.IssuesGetAll) } else { err = tq.Do(_tq, _tq.Get.IssuesGet) } return }, }
var Get_KeywordCategories_cmd = &cobra.Command{ Use: `KeywordCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a keyword category by id`, Long: `Get the details of a keyword category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.KeywordCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.KeywordCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.KeywordCategoriesGet) } return }, }
var Get_Keywords_cmd = &cobra.Command{ Use: `Keywords`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a keyword by id`, Long: `Get the details of a keyword by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.KeywordsGetAll) } else if test, _ := cmd.Flags().GetBool("DataFor"); test { err = tq.Do(_tq, _tq.Get.KeywordsGetDataFor) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.KeywordsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.KeywordsGet) } return }, }
var Get_Languages_cmd = &cobra.Command{ Use: `Languages`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a language by id`, Long: `Get the details of a language by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.LanguagesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.LanguagesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.LanguagesGet) } return }, }
var Get_ListCategories_cmd = &cobra.Command{ Use: `ListCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a list category by id`, Long: `Get the details of a list category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ListCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ListCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ListCategoriesGet) } return }, }
var Get_Lists_cmd = &cobra.Command{ Use: `Lists`, Example: `{"ListID":"string"}`, Short: `Get a single List without contents`, Long: `Get a single List without contents.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Contents"); test { err = tq.Do(_tq, _tq.Get.ListsGetContents) } else if test, _ := cmd.Flags().GetBool("ContentsDetail"); test { err = tq.Do(_tq, _tq.Get.ListsGetContentsDetail) } else if test, _ := cmd.Flags().GetBool("ListCriterionMatchReasons"); test { err = tq.Do(_tq, _tq.Get.ListsGetListCriterionMatchReasons) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ListsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ListsGet) } return }, }
var Get_LoginTypes_cmd = &cobra.Command{ Use: `LoginTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a login type by id`, Long: `Get the details of a login type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.LoginTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.LoginTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.LoginTypesGet) } return }, }
var Get_MachineSettings_cmd = &cobra.Command{ Use: `MachineSettings`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Machine Setting by id`, Long: `Get the details of a Machine Setting by id. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.MachineSettingsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.MachineSettingsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.MachineSettingsGet) } return }, }
var Get_MailIndicators_cmd = &cobra.Command{ Use: `MailIndicators`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a mail indicator by id`, Long: `Get the details of a mail indicator by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.MailIndicatorsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.MailIndicatorsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.MailIndicatorsGet) } return }, }
var Get_MediaTypes_cmd = &cobra.Command{ Use: `MediaTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a media type by id`, Long: `Get the details of a media type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.MediaTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.MediaTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.MediaTypesGet) } return }, }
var Get_MembershipLevelCategories_cmd = &cobra.Command{ Use: `MembershipLevelCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a membership level category by id`, Long: `Get the details of a membership level category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.MembershipLevelCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.MembershipLevelCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.MembershipLevelCategoriesGet) } return }, }
var Get_MembershipLevels_cmd = &cobra.Command{ Use: `MembershipLevels`, Example: `{"MembershipLevelID":"string"}`, Short: `Get a specific membership level`, Long: `Get a specific membership level. NOTE: As part of the upcoming changes to membership functionality, this resource will be removed in an upcoming major Tessitura release. Please make a note that code that references it will need to be revisited as part of that upgrade process.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.MembershipLevelsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.MembershipLevelsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.MembershipLevelsGet) } return }, }
var Get_MembershipOrganizations_cmd = &cobra.Command{ Use: `MembershipOrganizations`, Example: `{"ID":"string"}`, Short: `Get a specific membership organization`, Long: `Get a specific membership organization. NOTE: As part of the upcoming changes to membership functionality, this resource will be removed in an upcoming major Tessitura release. Please make a note that code that references it will need to be revisited as part of that upgrade process.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.MembershipOrganizationsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.MembershipOrganizationsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.MembershipOrganizationsGet) } return }, }
var Get_MembershipStandings_cmd = &cobra.Command{ Use: `MembershipStandings`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get a specific MembershipStanding by id`, Long: `Get a specific MembershipStanding by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.MembershipStandingsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.MembershipStandingsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.MembershipStandingsGet) } return }, }
var Get_Memberships_cmd = &cobra.Command{ Use: `Memberships`, Example: `{"ConstituentID":"string", "IncludeAffiliations":"string", "MembershipOrgIds":"string", "OnlyShowCurrent":"string", "OnlyShowDefault":"string"}`, Short: `Returns membership details for a constituent`, Long: `Returns membership details for a constituent. NOTE: As part of the upcoming changes to membership functionality, this resource will change significantly in an upcoming major Tessitura release and likely break code that references it. Please make a note that code that references it will need to be revisited as part of that upgrade process.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.MembershipsGetAll) return }, }
var Get_MerchantReferences_cmd = &cobra.Command{ Use: `MerchantReferences`, Example: `{"MerchantAccount":"string", "PaymentID":"string"}`, Short: ``, Long: ``, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.MerchantReferencesReference) return }, }
var Get_Merchants_cmd = &cobra.Command{ Use: `Merchants`, Example: ``, Short: `Retrieve Merchant List`, Long: `Retrieve Merchant List`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.MerchantsGetMerchants) return }, }
var Get_ModeOfSaleCategories_cmd = &cobra.Command{ Use: `ModeOfSaleCategories`, Example: `{"ModeOfSaleCategoryID":"string"}`, Short: `Get details of a mode of sale category`, Long: `Get details of a mode of sale category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ModeOfSaleCategoriesGetAll) } else { err = tq.Do(_tq, _tq.Get.ModeOfSaleCategoriesGet) } return }, }
var Get_ModeOfSaleOffers_cmd = &cobra.Command{ Use: `ModeOfSaleOffers`, Example: `{"ModeOfSaleOfferID":"string"}`, Short: `Get details of a mode of sale offer`, Long: `Get details of a mode of sale offer.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ModeOfSaleOffersGetAll) } else { err = tq.Do(_tq, _tq.Get.ModeOfSaleOffersGet) } return }, }
var Get_ModeOfSalePriceTypes_cmd = &cobra.Command{ Use: `ModeOfSalePriceTypes`, Example: `{"ModeOfSalePriceTypeID":"string"}`, Short: `Get details of a mode of sale price type`, Long: `Get details of a mode of sale price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ModeOfSalePriceTypesGetAll) } else { err = tq.Do(_tq, _tq.Get.ModeOfSalePriceTypesGet) } return }, }
var Get_ModeOfSaleSurveyQuestions_cmd = &cobra.Command{ Use: `ModeOfSaleSurveyQuestions`, Example: `{"ModeOfSaleSurveyQuestionID":"string"}`, Short: `Get details of a mode of sale survey question`, Long: `Get details of a mode of sale survey question.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ModeOfSaleSurveyQuestionsGetAll) } else { err = tq.Do(_tq, _tq.Get.ModeOfSaleSurveyQuestionsGet) } return }, }
var Get_ModeOfSaleUserGroups_cmd = &cobra.Command{ Use: `ModeOfSaleUserGroups`, Example: `{"ModeOfSaleUserGroupID":"string"}`, Short: `Get the details of a mode of sale/user group mapping by id`, Long: `Get the details of a mode of sale/user group mapping by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ModeOfSaleUserGroupsGetAll) } else { err = tq.Do(_tq, _tq.Get.ModeOfSaleUserGroupsGet) } return }, }
var Get_ModesOfSale_cmd = &cobra.Command{ Use: `ModesOfSale`, Example: `{"ModeOfSaleID":"string"}`, Short: `Get details of an existing mode of sale`, Long: `Get details of an existing mode of sale.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ModesOfSaleGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ModesOfSaleGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ModesOfSaleGet) } return }, }
var Get_NScanAccessAreas_cmd = &cobra.Command{ Use: `NScanAccessAreas`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an NScan Access Area by id`, Long: `Get the details of an NScan Access Area by id. To get the resource only if the user has write/edit access, pass filter="writeonly".. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.NScanAccessAreasGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.NScanAccessAreasGetSummaries) } else { err = tq.Do(_tq, _tq.Get.NScanAccessAreasGet) } return }, }
var Get_NameStatuses_cmd = &cobra.Command{ Use: `NameStatuses`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a name status by id`, Long: `Get the details of a name status by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.NameStatusesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.NameStatusesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.NameStatusesGet) } return }, }
var Get_ObjectPermissions_cmd = &cobra.Command{ Use: `ObjectPermissions`, Example: `{"ID":"string"}`, Short: `Get the details of an object permission by id`, Long: `Get the details of an object permission by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ObjectPermissionsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ObjectPermissionsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ObjectPermissionsGet) } return }, }
var Get_OrderBilling_cmd = &cobra.Command{ Use: `OrderBilling`, Example: `{"OrderBillingID":"string"}`, Short: `Reprint Order billing`, Long: `Reprint Order billing`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Status"); test { err = tq.Do(_tq, _tq.Get.OrderBillingStatus) } else { err = tq.Do(_tq, _tq.Get.OrderBillingReprint) } return }, }
var Get_OrderCategories_cmd = &cobra.Command{ Use: `OrderCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an order category by id`, Long: `Get the details of an order category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.OrderCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.OrderCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.OrderCategoriesGet) } return }, }
var Get_Orders_cmd = &cobra.Command{ Use: `Orders`, Example: `{"OrderID":"string"}`, Short: `Get the details of an existing Order as the contract OrderProductsView`, Long: `Get the details of an existing Order as the contract OrderProductsView, which mirrors the structure of the Cart response entity from GET Web/{sessionKey}/Cart. This resource can be used to fetch any saved order in this view. Order HTML templates use this response contract (OrdersProductsView) as the model within the template. Orders actively in a session/cart will not be available here until after checkout.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.OrdersGetProductsView) return }, }
var Get_Organizations_cmd = &cobra.Command{ Use: `Organizations`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an organization by ID`, Long: `Get the details of an organization by ID. To get the resource in maintenance mode (ignoring control groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.OrganizationsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.OrganizationsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.OrganizationsGet) } return }, }
var Get_OriginalSources_cmd = &cobra.Command{ Use: `OriginalSources`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an original source by id`, Long: `Get the details of an original source by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.OriginalSourcesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.OriginalSourcesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.OriginalSourcesGet) } return }, }
var Get_Origins_cmd = &cobra.Command{ Use: `Origins`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an origin by id`, Long: `Get the details of an origin by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.OriginsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.OriginsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.OriginsGet) } return }, }
var Get_OutputSets_cmd = &cobra.Command{ Use: `OutputSets`, Example: `{"OutputSetID":"string"}`, Short: `Get a single Output Set`, Long: `Get a single Output Set.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.OutputSetsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.OutputSetsGet) } return }, }
var Get_PackageHistory_cmd = &cobra.Command{ Use: `PackageHistory`, Example: `{"ConstituentID":"string", "IncludeAffiliations":"string", "OrderEndDate":"string", "OrderStartDate":"string", "PackageID":"string", "PackageTypeID":"string", "SeasonID":"string"}`, Short: `Gets history information for packages`, Long: `Gets history information for packages`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.PackageHistoryGetAll) return }, }
var Get_PackagePriceTypes_cmd = &cobra.Command{ Use: `PackagePriceTypes`, Example: `{"PackagePriceTypeID":"string"}`, Short: `Get details of a specific package price type`, Long: `Get details of a specific package price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PackagePriceTypesGetAll) } else { err = tq.Do(_tq, _tq.Get.PackagePriceTypesGet) } return }, }
var Get_PackageTypes_cmd = &cobra.Command{ Use: `PackageTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a package type by id`, Long: `Get the details of a package type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PackageTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PackageTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PackageTypesGet) } return }, }
var Get_PackageWebContents_cmd = &cobra.Command{ Use: `PackageWebContents`, Example: `{"PackageWebContentID":"string"}`, Short: `Get details of a packageWebContent`, Long: `Get details of a packageWebContent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PackageWebContentsGetAll) } else if test, _ := cmd.Flags().GetBool("AllSummaries"); test { err = tq.Do(_tq, _tq.Get.PackageWebContentsGetAllSummaries) } else { err = tq.Do(_tq, _tq.Get.PackageWebContentsGet) } return }, }
var Get_Packages_cmd = &cobra.Command{ Use: `Packages`, Example: `{"PackageID":"string"}`, Short: `Get details of a package`, Long: `Get details of a package.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PackagesGetAll) } else if test, _ := cmd.Flags().GetBool("PackageDetail"); test { err = tq.Do(_tq, _tq.Get.PackagesGetPackageDetail) } else if test, _ := cmd.Flags().GetBool("PerformanceGroupDetails"); test { err = tq.Do(_tq, _tq.Get.PackagesGetPerformanceGroupDetails) } else if test, _ := cmd.Flags().GetBool("Prices"); test { err = tq.Do(_tq, _tq.Get.PackagesGetPrices) } else if test, _ := cmd.Flags().GetBool("SeatFees"); test { err = tq.Do(_tq, _tq.Get.PackagesGetSeatFees) } else if test, _ := cmd.Flags().GetBool("SeatSummaries"); test { err = tq.Do(_tq, _tq.Get.PackagesGetSeatSummaries) } else if test, _ := cmd.Flags().GetBool("Seats"); test { err = tq.Do(_tq, _tq.Get.PackagesGetSeats) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PackagesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PackagesGet) } return }, }
var Get_PaymentGatewayActivities_cmd = &cobra.Command{ Use: `PaymentGatewayActivities`, Example: `{"PaymentGatewayActivityID":"string"}`, Short: `Get a single Payment Gateway Activity`, Long: `Get a single Payment Gateway Activity`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PaymentGatewayActivitiesGetAll) } else { err = tq.Do(_tq, _tq.Get.PaymentGatewayActivitiesGet) } return }, }
var Get_PaymentGatewayConfiguration_cmd = &cobra.Command{ Use: `PaymentGatewayConfiguration`, Example: ``, Short: `Retrieve Payment Gateway Configuration`, Long: `Retrieve Payment Gateway Configuration`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.PaymentGatewayConfigurationGetConfiguration) return }, }
var Get_PaymentGatewayNotifications_cmd = &cobra.Command{ Use: `PaymentGatewayNotifications`, Example: `{"NotificationType":"string", "Reference":"string"}`, Short: `Get all notification events by reference`, Long: `Get all notification events by reference.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Check"); test { err = tq.Do(_tq, _tq.Get.PaymentGatewayNotificationsCheck) } else if test, _ := cmd.Flags().GetBool("Notification"); test { err = tq.Do(_tq, _tq.Get.PaymentGatewayNotificationsGetNotification) } else if test, _ := cmd.Flags().GetBool("NotificationEvent"); test { err = tq.Do(_tq, _tq.Get.PaymentGatewayNotificationsGetNotificationEvent) } else { err = tq.Do(_tq, _tq.Get.PaymentGatewayNotificationsGetAllNotificationEvents) } return }, }
var Get_PaymentGatewayTransactionTypes_cmd = &cobra.Command{ Use: `PaymentGatewayTransactionTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Payment Gateway Transaction Type by id`, Long: `Get the details of a Payment Gateway Transaction Type by id. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PaymentGatewayTransactionTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PaymentGatewayTransactionTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PaymentGatewayTransactionTypesGet) } return }, }
var Get_PaymentHistory_cmd = &cobra.Command{ Use: `PaymentHistory`, Example: `{"ConstituentID":"string", "EndDate":"string", "IncludeAffiliates":"string", "Page":"string", "PageSize":"string", "PaymentTypeID":"string", "SortByDirection":"string", "SortByField":"string", "StartDate":"string", "TransactionID":"string"}`, Short: `Gets history information for payments by constituent`, Long: `Gets history information for payments by constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.PaymentHistoryGetAll) return }, }
var Get_PaymentMethodGroups_cmd = &cobra.Command{ Use: `PaymentMethodGroups`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a payment method group by id`, Long: `Get the details of a payment method group by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PaymentMethodGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PaymentMethodGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PaymentMethodGroupsGet) } return }, }
var Get_PaymentMethodUserGroups_cmd = &cobra.Command{ Use: `PaymentMethodUserGroups`, Example: `{"PaymentMethodUserGroupID":"string"}`, Short: `Get details of a payment method/user group mapping by id`, Long: `Get details of a payment method/user group mapping by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PaymentMethodUserGroupsGetAll) } else { err = tq.Do(_tq, _tq.Get.PaymentMethodUserGroupsGet) } return }, }
var Get_PaymentMethods_cmd = &cobra.Command{ Use: `PaymentMethods`, Example: `{"PaymentMethodID":"string"}`, Short: `Get details of a payment method`, Long: `Get details of a payment method.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PaymentMethodsGetAll) } else if test, _ := cmd.Flags().GetBool("Check"); test { err = tq.Do(_tq, _tq.Get.PaymentMethodsCheck) } else if test, _ := cmd.Flags().GetBool("TranslateMnemonic"); test { err = tq.Do(_tq, _tq.Get.PaymentMethodsTranslateMnemonic) } else { err = tq.Do(_tq, _tq.Get.PaymentMethodsGet) } return }, }
var Get_PaymentSignatures_cmd = &cobra.Command{ Use: `PaymentSignatures`, Example: `{"PaymentSignatureID":"string"}`, Short: `Get details of a payment signature`, Long: `Get details of a payment signature.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PaymentSignaturesGetAll) } else { err = tq.Do(_tq, _tq.Get.PaymentSignaturesGet) } return }, }
var Get_PaymentTypes_cmd = &cobra.Command{ Use: `PaymentTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a payment type by id`, Long: `Get the details of a payment type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PaymentTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PaymentTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PaymentTypesGet) } return }, }
var Get_Payments_cmd = &cobra.Command{ Use: `Payments`, Example: `{"ID":"string"}`, Short: `Get a single payment`, Long: `Get a single payment.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PaymentsGetAll) } else if test, _ := cmd.Flags().GetBool("AvailableForRefund"); test { err = tq.Do(_tq, _tq.Get.PaymentsAvailableForRefund) } else if test, _ := cmd.Flags().GetBool("OnAccountBalances"); test { err = tq.Do(_tq, _tq.Get.PaymentsGetOnAccountBalances) } else { err = tq.Do(_tq, _tq.Get.PaymentsGet) } return }, }
var Get_PerformanceGroups_cmd = &cobra.Command{ Use: `PerformanceGroups`, Example: `{"ID":"string"}`, Short: `Get details of a Performance Group`, Long: `Get details of a Performance Group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PerformanceGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PerformanceGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PerformanceGroupsGet) } return }, }
var Get_PerformancePackageModeOfSales_cmd = &cobra.Command{ Use: `PerformancePackageModeOfSales`, Example: `{"PerformancePackageModeOfSaleID":"string"}`, Short: `Get details of a performance package mode of sale`, Long: `Get details of a performance package mode of sale.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PerformancePackageModeOfSalesGetAll) } else { err = tq.Do(_tq, _tq.Get.PerformancePackageModeOfSalesGet) } return }, }
var Get_PerformancePriceLayers_cmd = &cobra.Command{ Use: `PerformancePriceLayers`, Example: `{"AsOfDateTime":"string", "PerformancePriceLayerID":"string"}`, Short: `Get details of a performance price layer`, Long: `Get details of a performance price layer.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Counts"); test { err = tq.Do(_tq, _tq.Get.PerformancePriceLayersGetCounts) } else if test, _ := cmd.Flags().GetBool("PriceCount"); test { err = tq.Do(_tq, _tq.Get.PerformancePriceLayersGetPriceCount) } else { err = tq.Do(_tq, _tq.Get.PerformancePriceLayersGet) } return }, }
var Get_PerformancePriceTypes_cmd = &cobra.Command{ Use: `PerformancePriceTypes`, Example: `{"AsOfDateTime":"string", "PerformancePriceTypeID":"string"}`, Short: `Get details of a performance price type`, Long: `Get details of a performance price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PerformancePriceTypesGetAll) } else { err = tq.Do(_tq, _tq.Get.PerformancePriceTypesGet) } return }, }
var Get_PerformancePrices_cmd = &cobra.Command{ Use: `PerformancePrices`, Example: `{"AsOfDateTime":"string", "PerformancePriceID":"string"}`, Short: `Get details of a performance price`, Long: `Get details of a performance price.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PerformancePricesGetAll) } else if test, _ := cmd.Flags().GetBool("AllWithEvents"); test { err = tq.Do(_tq, _tq.Get.PerformancePricesGetAllWithEvents) } else if test, _ := cmd.Flags().GetBool("Audit"); test { err = tq.Do(_tq, _tq.Get.PerformancePricesGetAudit) } else { err = tq.Do(_tq, _tq.Get.PerformancePricesGet) } return }, }
var Get_PerformanceStatuses_cmd = &cobra.Command{ Use: `PerformanceStatuses`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a performance status by id`, Long: `Get the details of a performance status by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PerformanceStatusesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PerformanceStatusesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PerformanceStatusesGet) } return }, }
var Get_PerformanceTypes_cmd = &cobra.Command{ Use: `PerformanceTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a performance type by id`, Long: `Get the details of a performance type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PerformanceTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PerformanceTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PerformanceTypesGet) } return }, }
var Get_Performances_cmd = &cobra.Command{ Use: `Performances`, Example: `{"PerformanceID":"string"}`, Short: `Get details of a performance`, Long: `Get details of a performance.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PerformancesGetAll) } else if test, _ := cmd.Flags().GetBool("AuditEntries"); test { err = tq.Do(_tq, _tq.Get.PerformancesGetAuditEntries) } else if test, _ := cmd.Flags().GetBool("PerformanceZoneAvailabilities"); test { err = tq.Do(_tq, _tq.Get.PerformancesGetPerformanceZoneAvailabilities) } else if test, _ := cmd.Flags().GetBool("PerformanceZoneAvailabilityWithConstituent"); test { err = tq.Do(_tq, _tq.Get.PerformancesGetPerformanceZoneAvailabilityWithConstituent) } else if test, _ := cmd.Flags().GetBool("Prices"); test { err = tq.Do(_tq, _tq.Get.PerformancesGetPrices) } else if test, _ := cmd.Flags().GetBool("SeatFees"); test { err = tq.Do(_tq, _tq.Get.PerformancesGetSeatFees) } else if test, _ := cmd.Flags().GetBool("SeatHoldDetails"); test { err = tq.Do(_tq, _tq.Get.PerformancesGetSeatHoldDetails) } else if test, _ := cmd.Flags().GetBool("SeatSummaries"); test { err = tq.Do(_tq, _tq.Get.PerformancesGetSeatSummaries) } else if test, _ := cmd.Flags().GetBool("Seats"); test { err = tq.Do(_tq, _tq.Get.PerformancesGetSeats) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PerformancesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PerformancesGet) } return }, }
var Get_PhilanthropyTypes_cmd = &cobra.Command{ Use: `PhilanthropyTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of philosophy type by id`, Long: `Get the details of philosophy type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PhilanthropyTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PhilanthropyTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PhilanthropyTypesGet) } return }, }
var Get_Philanthropy_cmd = &cobra.Command{ Use: `Philanthropy`, Example: `{"PhilanthropyEntryID":"string"}`, Short: `Get details of an philanthropyEntry`, Long: `Get details of an philanthropyEntry.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PhilanthropyGetAll) } else { err = tq.Do(_tq, _tq.Get.PhilanthropyGet) } return }, }
var Get_PhoneIndicators_cmd = &cobra.Command{ Use: `PhoneIndicators`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a phone indicator by id`, Long: `Get the details of a phone indicator by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PhoneIndicatorsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PhoneIndicatorsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PhoneIndicatorsGet) } return }, }
var Get_PhoneTypes_cmd = &cobra.Command{ Use: `PhoneTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a phone type by id`, Long: `Get the details of a phone type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PhoneTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PhoneTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PhoneTypesGet) } return }, }
var Get_Phones_cmd = &cobra.Command{ Use: `Phones`, Example: `{"PhoneID":"string"}`, Short: `Get details of a phone`, Long: `Get details of a phone.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PhonesGetAll) } else { err = tq.Do(_tq, _tq.Get.PhonesGet) } return }, }
var Get_PlanPriorities_cmd = &cobra.Command{ Use: `PlanPriorities`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a plan priority by id`, Long: `Get the details of a plan priority by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PlanPrioritiesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PlanPrioritiesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PlanPrioritiesGet) } return }, }
var Get_PlanSources_cmd = &cobra.Command{ Use: `PlanSources`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a plan source by id`, Long: `Get the details of a plan source by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PlanSourcesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PlanSourcesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PlanSourcesGet) } return }, }
var Get_PlanStatuses_cmd = &cobra.Command{ Use: `PlanStatuses`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a plan status by id`, Long: `Get the details of a plan status by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PlanStatusesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PlanStatusesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PlanStatusesGet) } return }, }
var Get_PlanTypes_cmd = &cobra.Command{ Use: `PlanTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a plan type by id`, Long: `Get the details of a plan type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PlanTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PlanTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PlanTypesGet) } return }, }
var Get_PlanWorkers_cmd = &cobra.Command{ Use: `PlanWorkers`, Example: `{"PlanWorkerID":"string"}`, Short: `Get details of a plan worker`, Long: `Get details of a plan worker.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PlanWorkersGetAll) } else { err = tq.Do(_tq, _tq.Get.PlanWorkersGet) } return }, }
var Get_Plans_cmd = &cobra.Command{ Use: `Plans`, Example: `{"PlanID":"string"}`, Short: `Get details of a plan`, Long: `Get details of a plan.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PlansGetAll) } else { err = tq.Do(_tq, _tq.Get.PlansGet) } return }, }
var Get_PledgeBilling_cmd = &cobra.Command{ Use: `PledgeBilling`, Example: `{"ID":"string"}`, Short: `Get status of a pledge billing run`, Long: `Get status of a pledge billing run. Job is finished processing when IsCompleted is true. Only billing runs using automated billing will be running after the response from a POST to Txn/PledgeBilling.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.PledgeBillingGetStatus) return }, }
var Get_PortfolioCustomElements_cmd = &cobra.Command{ Use: `PortfolioCustomElements`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a portfolio custom element by id`, Long: `Get the details of a portfolio custom element by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PortfolioCustomElementsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PortfolioCustomElementsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PortfolioCustomElementsGet) } return }, }
var Get_Portfolios_cmd = &cobra.Command{ Use: `Portfolios`, Example: `{"ConstituentID":"string", "Page":"string", "PageSize":"string", "PlanCustomColumns":"string", "PortfolioCustomColumns":"string", "PrimaryOnly":"string", "StatusIds":"string", "WorkerRoleIds":"string"}`, Short: `Get portfolio for a constituent`, Long: `Get portfolio for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("PortfolioEntry"); test { err = tq.Do(_tq, _tq.Get.PortfoliosGetPortfolioEntry) } else { err = tq.Do(_tq, _tq.Get.PortfoliosGet) } return }, }
var Get_Prefixes_cmd = &cobra.Command{ Use: `Prefixes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a prefix by id`, Long: `Get the details of a prefix by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PrefixesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PrefixesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PrefixesGet) } return }, }
var Get_Premieres_cmd = &cobra.Command{ Use: `Premieres`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a premiere by id`, Long: `Get the details of a premiere by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PremieresGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PremieresGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PremieresGet) } return }, }
var Get_PriceCategories_cmd = &cobra.Command{ Use: `PriceCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a price category by id`, Long: `Get the details of a price category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PriceCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PriceCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PriceCategoriesGet) } return }, }
var Get_PriceEvents_cmd = &cobra.Command{ Use: `PriceEvents`, Example: `{"PriceEventID":"string"}`, Short: `Get details of a price event`, Long: `Get details of a price event.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PriceEventsGetAll) } else if test, _ := cmd.Flags().GetBool("Dates"); test { err = tq.Do(_tq, _tq.Get.PriceEventsGetDates) } else { err = tq.Do(_tq, _tq.Get.PriceEventsGet) } return }, }
var Get_PriceLayerTypes_cmd = &cobra.Command{ Use: `PriceLayerTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a price layer type by id`, Long: `Get the details of a price layer type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PriceLayerTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PriceLayerTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PriceLayerTypesGet) } return }, }
var Get_PriceTemplates_cmd = &cobra.Command{ Use: `PriceTemplates`, Example: `{"PriceTemplateID":"string"}`, Short: `Get details of a price template`, Long: `Get details of a price template.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PriceTemplatesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PriceTemplatesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PriceTemplatesGet) } return }, }
var Get_PriceTypeCategories_cmd = &cobra.Command{ Use: `PriceTypeCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a price type category by id`, Long: `Get the details of a price type category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PriceTypeCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PriceTypeCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PriceTypeCategoriesGet) } return }, }
var Get_PriceTypeGroups_cmd = &cobra.Command{ Use: `PriceTypeGroups`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a price type group by id`, Long: `Get the details of a price type group by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PriceTypeGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PriceTypeGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PriceTypeGroupsGet) } return }, }
var Get_PriceTypeReasons_cmd = &cobra.Command{ Use: `PriceTypeReasons`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a price type reason by id`, Long: `Get the details of a price type reason by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PriceTypeReasonsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PriceTypeReasonsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PriceTypeReasonsGet) } return }, }
var Get_PriceTypeUserGroups_cmd = &cobra.Command{ Use: `PriceTypeUserGroups`, Example: `{"PriceTypeUserGroupID":"string"}`, Short: `Get details of a price type/user group mapping by id`, Long: `Get details of a price type/user group mapping by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PriceTypeUserGroupsGetAll) } else { err = tq.Do(_tq, _tq.Get.PriceTypeUserGroupsGet) } return }, }
var Get_PriceTypes_cmd = &cobra.Command{ Use: `PriceTypes`, Example: `{"PriceTypeID":"string"}`, Short: `Get details of a price type`, Long: `Get details of a price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PriceTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Reasons"); test { err = tq.Do(_tq, _tq.Get.PriceTypesGetReasons) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PriceTypesGetSummaries) } else if test, _ := cmd.Flags().GetBool("ValidPriceTypes"); test { err = tq.Do(_tq, _tq.Get.PriceTypesGetValidPriceTypes) } else if test, _ := cmd.Flags().GetBool("ValidZones"); test { err = tq.Do(_tq, _tq.Get.PriceTypesGetValidZones) } else { err = tq.Do(_tq, _tq.Get.PriceTypesGet) } return }, }
var Get_PricingRuleCategories_cmd = &cobra.Command{ Use: `PricingRuleCategories`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a pricing rule category by id`, Long: `Get the details of a pricing rule category by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PricingRuleCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PricingRuleCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PricingRuleCategoriesGet) } return }, }
var Get_PricingRuleMessageTypes_cmd = &cobra.Command{ Use: `PricingRuleMessageTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a pricing rule message type by id`, Long: `Get the details of a pricing rule message type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PricingRuleMessageTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PricingRuleMessageTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PricingRuleMessageTypesGet) } return }, }
var Get_PricingRuleSets_cmd = &cobra.Command{ Use: `PricingRuleSets`, Example: `{"PricingRuleSetID":"string"}`, Short: `Get details of a pricing rule set`, Long: `Get details of a pricing rule set.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PricingRuleSetsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PricingRuleSetsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PricingRuleSetsGet) } return }, }
var Get_PricingRuleTypes_cmd = &cobra.Command{ Use: `PricingRuleTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a pricing rule type by id`, Long: `Get the details of a pricing rule type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PricingRuleTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PricingRuleTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PricingRuleTypesGet) } return }, }
var Get_PricingRules_cmd = &cobra.Command{ Use: `PricingRules`, Example: `{"PricingRuleID":"string"}`, Short: `Get details of a pricing rule`, Long: `Get details of a pricing rule.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PricingRulesGetAll) } else if test, _ := cmd.Flags().GetBool("AllSummary"); test { err = tq.Do(_tq, _tq.Get.PricingRulesGetAllSummary) } else { err = tq.Do(_tq, _tq.Get.PricingRulesGet) } return }, }
var Get_Printers_cmd = &cobra.Command{ Use: `Printers`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a printer by id`, Long: `Get the details of a printer by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PrintersGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PrintersGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PrintersGet) } return }, }
var Get_ProductKeywords_cmd = &cobra.Command{ Use: `ProductKeywords`, Example: `{"KeywordIds":"string", "PackageIds":"string", "ProductionElementIds":"string", "ShowAll":"string"}`, Short: `Returns keywords for the requested production elements or packages`, Long: `Returns keywords for the requested production elements or packages. For Production Elements: If the keyword is found, returns the keyword and the lowest level at which it was found in the production hierarchy (Title, Production, Production Season, Performance) for the requested element. Optionally, all matching keywords anywhere above the requested element in the production hierarchy can be returned with the ShowAll parameter.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.ProductKeywordsGetKeywords) return }, }
var Get_ProductionSeasonMembershipOrganizations_cmd = &cobra.Command{ Use: `ProductionSeasonMembershipOrganizations`, Example: `{"ID":"string"}`, Short: `Get details of a specific production season membership organization`, Long: `Get details of a specific production season membership organization.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ProductionSeasonMembershipOrganizationsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ProductionSeasonMembershipOrganizationsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ProductionSeasonMembershipOrganizationsGet) } return }, }
var Get_ProductionSeasons_cmd = &cobra.Command{ Use: `ProductionSeasons`, Example: `{"ID":"string"}`, Short: `Get details of a specific production season`, Long: `Get details of a specific production season. Returns the full details for a single production season, including description and short description, season, first and last performance date, and the four ticket text lines.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ProductionSeasonsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ProductionSeasonsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ProductionSeasonsGet) } return }, }
var Get_Productions_cmd = &cobra.Command{ Use: `Productions`, Example: `{"ID":"string"}`, Short: `Get details of a specific production`, Long: `Get details of a specific production.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ProductionsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ProductionsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ProductionsGet) } return }, }
var Get_ProgramListings_cmd = &cobra.Command{ Use: `ProgramListings`, Example: `{"ProgramListingID":"string"}`, Short: `Get details of a program listing`, Long: `Get details of a program listing.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ProgramListingsGetAll) } else { err = tq.Do(_tq, _tq.Get.ProgramListingsGet) } return }, }
var Get_Programs_cmd = &cobra.Command{ Use: `Programs`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a program by id`, Long: `Get the details of a program by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ProgramsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ProgramsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ProgramsGet) } return }, }
var Get_Pronouns_cmd = &cobra.Command{ Use: `Pronouns`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: ``, Long: ``, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.PronounsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.PronounsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.PronounsGet) } return }, }
var Get_QualificationCategories_cmd = &cobra.Command{ Use: `QualificationCategories`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Qualification Category by id`, Long: `Get the details of a Qualification Category by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.QualificationCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.QualificationCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.QualificationCategoriesGet) } return }, }
var Get_Qualifications_cmd = &cobra.Command{ Use: `Qualifications`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Qualification by id`, Long: `Get the details of a Qualification by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.QualificationsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.QualificationsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.QualificationsGet) } return }, }
var Get_QueryElementFilters_cmd = &cobra.Command{ Use: `QueryElementFilters`, Example: `{"QueryElementFilterID":"string"}`, Short: `Get a specific query element filter`, Long: `Get a specific query element filter.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.QueryElementFiltersGetAll) } else if test, _ := cmd.Flags().GetBool("DataFor"); test { err = tq.Do(_tq, _tq.Get.QueryElementFiltersGetDataFor) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.QueryElementFiltersGetSummaries) } else { err = tq.Do(_tq, _tq.Get.QueryElementFiltersGet) } return }, }
var Get_QueryElementGroups_cmd = &cobra.Command{ Use: `QueryElementGroups`, Example: `{"QueryElementGroupID":"string"}`, Short: `Get the details of a query element group by id`, Long: `Get the details of a query element group by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.QueryElementGroupsGetAll) } else { err = tq.Do(_tq, _tq.Get.QueryElementGroupsGet) } return }, }
var Get_QueryElements_cmd = &cobra.Command{ Use: `QueryElements`, Example: `{"ID":"string"}`, Short: `Get details of a query element by id`, Long: `Get details of a query element by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.QueryElementsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.QueryElementsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.QueryElementsGet) } return }, }
var Get_RankTypes_cmd = &cobra.Command{ Use: `RankTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a rank type by id`, Long: `Get the details of a rank type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.RankTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.RankTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.RankTypesGet) } return }, }
var Get_Rankings_cmd = &cobra.Command{ Use: `Rankings`, Example: `{"RankingID":"string"}`, Short: `Get details of a ranking`, Long: `Get details of a ranking.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.RankingsGetAll) } else { err = tq.Do(_tq, _tq.Get.RankingsGet) } return }, }
var Get_ReceiptSettings_cmd = &cobra.Command{ Use: `ReceiptSettings`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Receipt Setting by id`, Long: `Get the details of a Receipt Setting by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ReceiptSettingsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ReceiptSettingsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ReceiptSettingsGet) } return }, }
var Get_ReferenceColumns_cmd = &cobra.Command{ Use: `ReferenceColumns`, Example: `{"MaintenanceMode":"string"}`, Short: `Get all reference columns`, Long: `Get all reference columns. For filtering on specific property value, pass the property name with value as query parameter. If the property is another non primitive object, pass PropertyName.Id and its value as query parameter.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ReferenceColumnsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ReferenceColumnsGetAll) } return }, }
var Get_ReferenceTableUserGroups_cmd = &cobra.Command{ Use: `ReferenceTableUserGroups`, Example: `{"ID":"string"}`, Short: `Get the details of a reference table/user group mapping by id`, Long: `Get the details of a reference table/user group mapping by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ReferenceTableUserGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ReferenceTableUserGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ReferenceTableUserGroupsGet) } return }, }
var Get_ReferenceTables_cmd = &cobra.Command{ Use: `ReferenceTables`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get details for a reference table by Id`, Long: `Get details for a reference table by Id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ReferenceTablesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ReferenceTablesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ReferenceTablesGet) } return }, }
var Get_RelationshipCategories_cmd = &cobra.Command{ Use: `RelationshipCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a relationship category by id`, Long: `Get the details of a relationship category by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.RelationshipCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.RelationshipCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.RelationshipCategoriesGet) } return }, }
var Get_Relationships_cmd = &cobra.Command{ Use: `Relationships`, Example: `{"ActiveOnly":"string", "AssociatedConstituentID":"string", "ConstituentID":"string", "EndActiveDate":"string", "IncludeAffiliations":"string", "StartActiveDate":"string"}`, Short: `Get all affiliations and associations of the specified constituent id or get all affiliations and associations of the specified associated constituent id`, Long: `Get all affiliations and associations of the specified constituent id or get all affiliations and associations of the specified associated constituent id. If both are specified get all the associations and affiliations between them.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.RelationshipsGetAll) return }, }
var Get_ReportRequests_cmd = &cobra.Command{ Use: `ReportRequests`, Example: `{"ID":"string"}`, Short: `Get a report request`, Long: `Get a report request.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ReportRequestsGetAll) } else if test, _ := cmd.Flags().GetBool("AllExpired"); test { err = tq.Do(_tq, _tq.Get.ReportRequestsGetAllExpired) } else if test, _ := cmd.Flags().GetBool("Queued"); test { err = tq.Do(_tq, _tq.Get.ReportRequestsGetQueued) } else { err = tq.Do(_tq, _tq.Get.ReportRequestsGet) } return }, }
var Get_ReportSchedules_cmd = &cobra.Command{ Use: `ReportSchedules`, Example: `{"ID":"string"}`, Short: `Get a report schedule`, Long: `Get a report schedule.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ReportSchedulesGetAll) } else { err = tq.Do(_tq, _tq.Get.ReportSchedulesGet) } return }, }
var Get_ReportUserGroups_cmd = &cobra.Command{ Use: `ReportUserGroups`, Example: `{"ID":"string"}`, Short: `Get the details of a report/user group mapping by id`, Long: `Get the details of a report/user group mapping by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ReportUserGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ReportUserGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ReportUserGroupsGet) } return }, }
var Get_Reports_cmd = &cobra.Command{ Use: `Reports`, Example: `{"ReportID":"string"}`, Short: `Get details of a report`, Long: `Get details of a report.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ReportsGetAll) } else if test, _ := cmd.Flags().GetBool("CustomData"); test { err = tq.Do(_tq, _tq.Get.ReportsGetCustomData) } else if test, _ := cmd.Flags().GetBool("ReportCategories"); test { err = tq.Do(_tq, _tq.Get.ReportsGetReportCategories) } else if test, _ := cmd.Flags().GetBool("ReportDefaults"); test { err = tq.Do(_tq, _tq.Get.ReportsGetReportDefaults) } else if test, _ := cmd.Flags().GetBool("ReportParameters"); test { err = tq.Do(_tq, _tq.Get.ReportsGetReportParameters) } else { err = tq.Do(_tq, _tq.Get.ReportsGet) } return }, }
var Get_ResearchTypes_cmd = &cobra.Command{ Use: `ResearchTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of research type by id`, Long: `Get the details of research type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ResearchTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ResearchTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ResearchTypesGet) } return }, }
var Get_Research_cmd = &cobra.Command{ Use: `Research`, Example: `{"ResearchEntryID":"string"}`, Short: `Get details of a research entry`, Long: `Get details of a research entry.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ResearchGetAll) } else { err = tq.Do(_tq, _tq.Get.ResearchGet) } return }, }
var Get_ResourceCategories_cmd = &cobra.Command{ Use: `ResourceCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Resource Category by id`, Long: `Get the details of a Resource Category by id. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ResourceCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ResourceCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ResourceCategoriesGet) } return }, }
var Get_ResourceSchedules_cmd = &cobra.Command{ Use: `ResourceSchedules`, Example: `{"ResourceScheduleID":"string"}`, Short: `Get a single resource schedule`, Long: `Get a single resource schedule.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ResourceSchedulesGetAll) } else { err = tq.Do(_tq, _tq.Get.ResourceSchedulesGet) } return }, }
var Get_ResourceTypes_cmd = &cobra.Command{ Use: `ResourceTypes`, Example: `{"ID":"string"}`, Short: `Get all resource types`, Long: `Get all resource types.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ResourceTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ResourceTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ResourceTypesGet) } return }, }
var Get_Resources_cmd = &cobra.Command{ Use: `Resources`, Example: `{"ID":"string"}`, Short: `Get a specific Resource`, Long: `Get a specific Resource.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ResourcesGetAll) } else if test, _ := cmd.Flags().GetBool("Details"); test { err = tq.Do(_tq, _tq.Get.ResourcesGetDetails) } else if test, _ := cmd.Flags().GetBool("HasUsages"); test { err = tq.Do(_tq, _tq.Get.ResourcesHasUsages) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ResourcesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ResourcesGet) } return }, }
var Get_SalesChannels_cmd = &cobra.Command{ Use: `SalesChannels`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a sales channel by id`, Long: `Get the details of a sales channel by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SalesChannelsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SalesChannelsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SalesChannelsGet) } return }, }
var Get_SalesLayoutButtonTypes_cmd = &cobra.Command{ Use: `SalesLayoutButtonTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a sales layout button type by id`, Long: `Get the details of a sales layout button type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SalesLayoutButtonTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SalesLayoutButtonTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SalesLayoutButtonTypesGet) } return }, }
var Get_SalesLayouts_cmd = &cobra.Command{ Use: `SalesLayouts`, Example: `{"SalesLayoutID":"string"}`, Short: `Get details of a sales layout setup`, Long: `Get details of a sales layout setup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("ForSale"); test { err = tq.Do(_tq, _tq.Get.SalesLayoutsGetForSale) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SalesLayoutsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SalesLayoutsGet) } return }, }
var Get_SalutationTypes_cmd = &cobra.Command{ Use: `SalutationTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a salutation type by id`, Long: `Get the details of a salutation type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SalutationTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SalutationTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SalutationTypesGet) } return }, }
var Get_Salutations_cmd = &cobra.Command{ Use: `Salutations`, Example: `{"SalutationID":"string"}`, Short: `Get details of a salutation`, Long: `Get details of a salutation.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SalutationsGetAll) } else if test, _ := cmd.Flags().GetBool("Generate"); test { err = tq.Do(_tq, _tq.Get.SalutationsGenerate) } else { err = tq.Do(_tq, _tq.Get.SalutationsGet) } return }, }
var Get_SchedulePatternTypes_cmd = &cobra.Command{ Use: `SchedulePatternTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Schedule Pattern by id`, Long: `Get the details of a Schedule Pattern by id. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SchedulePatternTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SchedulePatternTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SchedulePatternTypesGet) } return }, }
var Get_ScheduleTypes_cmd = &cobra.Command{ Use: `ScheduleTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Schedule Type by id`, Long: `Get the details of a Schedule Type by id. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ScheduleTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ScheduleTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ScheduleTypesGet) } return }, }
var Get_SeasonTypes_cmd = &cobra.Command{ Use: `SeasonTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a season type by id`, Long: `Get the details of a season type by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SeasonTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SeasonTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SeasonTypesGet) } return }, }
var Get_Seasons_cmd = &cobra.Command{ Use: `Seasons`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a season by id`, Long: `Get the details of a season by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SeasonsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SeasonsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SeasonsGet) } return }, }
var Get_SeatCodes_cmd = &cobra.Command{ Use: `SeatCodes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a seat code by id`, Long: `Get the details of a seat code by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SeatCodesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SeatCodesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SeatCodesGet) } return }, }
var Get_SeatStatuses_cmd = &cobra.Command{ Use: `SeatStatuses`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a seat status by id`, Long: `Get the details of a seat status by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SeatStatusesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SeatStatusesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SeatStatusesGet) } return }, }
var Get_Sections_cmd = &cobra.Command{ Use: `Sections`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a section by id`, Long: `Get the details of a section by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SectionsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SectionsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SectionsGet) } return }, }
var Get_SecurityBatchTypes_cmd = &cobra.Command{ Use: `SecurityBatchTypes`, Example: ``, Short: `Get all batch type/user group mappings valid for the context usergroup`, Long: `Get all batch type/user group mappings valid for the context usergroup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SecurityBatchTypesGetAll) return }, }
var Get_SecurityControlGroups_cmd = &cobra.Command{ Use: `SecurityControlGroups`, Example: ``, Short: `Get all control group/user group mappings valid for the context usergroup`, Long: `Get all control group/user group mappings valid for the context usergroup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SecurityControlGroupsGetAll) return }, }
var Get_SecurityHoldCodes_cmd = &cobra.Command{ Use: `SecurityHoldCodes`, Example: ``, Short: `Get all hold code/user group mappings valid for the context usergroup`, Long: `Get all hold code/user group mappings valid for the context usergroup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SecurityHoldCodesGetAll) return }, }
var Get_SecurityModesOfSale_cmd = &cobra.Command{ Use: `SecurityModesOfSale`, Example: ``, Short: `Get all mode of sale/user group mappings valid for the context usergroup`, Long: `Get all mode of sale/user group mappings valid for the context usergroup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SecurityModesOfSaleGetAll) return }, }
var Get_SecurityObjectPermissions_cmd = &cobra.Command{ Use: `SecurityObjectPermissions`, Example: `{"ConstituencyID":"string", "ObjectIds":"string", "Objectid":"string"}`, Short: `Get all the object permissions valid for the context usergroup`, Long: `Get all the object permissions valid for the context usergroup. Optionally filter by constituency id and/or object id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SecurityObjectPermissionsGetAll) return }, }
var Get_SecurityPaymentMethods_cmd = &cobra.Command{ Use: `SecurityPaymentMethods`, Example: `{"Amount":"string"}`, Short: `Get all payment method/user group mappings valid for the context usergroup`, Long: `Get all payment method/user group mappings valid for the context usergroup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SecurityPaymentMethodsGetAll) return }, }
var Get_SecurityPriceTypes_cmd = &cobra.Command{ Use: `SecurityPriceTypes`, Example: ``, Short: `Get all price type/user group mappings valid for the context usergroup`, Long: `Get all price type/user group mappings valid for the context usergroup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SecurityPriceTypesGetAll) return }, }
var Get_SecurityReferenceTables_cmd = &cobra.Command{ Use: `SecurityReferenceTables`, Example: ``, Short: `Get all the reference table/user group mappings valid for the context usergroup`, Long: `Get all the reference table/user group mappings valid for the context usergroup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SecurityReferenceTablesGetAll) return }, }
var Get_SecurityReports_cmd = &cobra.Command{ Use: `SecurityReports`, Example: ``, Short: `Get all report/user group mappings valid for the context usergroup`, Long: `Get all report/user group mappings valid for the context usergroup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SecurityReportsGetAll) return }, }
var Get_SecurityServiceResources_cmd = &cobra.Command{ Use: `SecurityServiceResources`, Example: ``, Short: `Get all service resource/user group mappings valid for the context usergroup`, Long: `Get all service resource/user group mappings valid for the context usergroup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SecurityServiceResourcesGetAll) return }, }
var Get_SecurityUserGroups_cmd = &cobra.Command{ Use: `SecurityUserGroups`, Example: `{"Application":"string", "UserName":"string"}`, Short: `Get all security user groups`, Long: `Get all security user groups.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("DefaultUserGroup"); test { err = tq.Do(_tq, _tq.Get.SecurityUserGroupsGetDefaultUserGroup) } else if test, _ := cmd.Flags().GetBool("ManagedGroups"); test { err = tq.Do(_tq, _tq.Get.SecurityUserGroupsGetManagedGroups) } else { err = tq.Do(_tq, _tq.Get.SecurityUserGroupsGetAll) } return }, }
var Get_ServiceResourceUserGroups_cmd = &cobra.Command{ Use: `ServiceResourceUserGroups`, Example: `{"ID":"string"}`, Short: `Get the details of a service resource/user group mapping by id`, Long: `Get the details of a service resource/user group mapping by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ServiceResourceUserGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ServiceResourceUserGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ServiceResourceUserGroupsGet) } return }, }
var Get_ServiceResources_cmd = &cobra.Command{ Use: `ServiceResources`, Example: `{"MaintenanceMode":"string"}`, Short: `Get all service resources`, Long: `Get all service resources. For filtering on specific property value, pass the property name with value as query parameter. If the property is another non primitive object, pass PropertyName.Id and its value as query parameter.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ServiceResourcesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ServiceResourcesGetAll) } return }, }
var Get_Session_cmd = &cobra.Command{ Use: `Session`, Example: `{"SessionKey":"string"}`, Short: `Returns details summarizing a web session's state`, Long: `Returns details summarizing a web session's state. Includes counts of cart products, the login status, MOS and Source`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Default"); test { err = tq.Do(_tq, _tq.Get.SessionGetDefault) } else if test, _ := cmd.Flags().GetBool("DeliveryMethods"); test { err = tq.Do(_tq, _tq.Get.SessionGetDeliveryMethods) } else if test, _ := cmd.Flags().GetBool("Expiration"); test { err = tq.Do(_tq, _tq.Get.SessionGetExpiration) } else if test, _ := cmd.Flags().GetBool("OnAccountBalances"); test { err = tq.Do(_tq, _tq.Get.SessionGetOnAccountBalances) } else if test, _ := cmd.Flags().GetBool("OrderSearch"); test { err = tq.Do(_tq, _tq.Get.SessionOrderSearch) } else if test, _ := cmd.Flags().GetBool("Variable"); test { err = tq.Do(_tq, _tq.Get.SessionGetVariable) } else if test, _ := cmd.Flags().GetBool("Variables"); test { err = tq.Do(_tq, _tq.Get.SessionGetVariables) } else { err = tq.Do(_tq, _tq.Get.SessionGet) } return }, }
var Get_SourceGroups_cmd = &cobra.Command{ Use: `SourceGroups`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a source group by id`, Long: `Get the details of a source group by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SourceGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SourceGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SourceGroupsGet) } return }, }
var Get_Sources_cmd = &cobra.Command{ Use: `Sources`, Example: `{"SourceID":"string"}`, Short: `Get details of a Source`, Long: `Get details of a Source.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SourcesGetSummaries) } else if test, _ := cmd.Flags().GetBool("WebExpiring"); test { err = tq.Do(_tq, _tq.Get.SourcesGetWebExpiring) } else { err = tq.Do(_tq, _tq.Get.SourcesGet) } return }, }
var Get_SpecialActivities_cmd = &cobra.Command{ Use: `SpecialActivities`, Example: `{"SpecialActivityID":"string"}`, Short: `Get details of an activity record`, Long: `Get details of an activity record.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SpecialActivitiesGetAll) } else { err = tq.Do(_tq, _tq.Get.SpecialActivitiesGet) } return }, }
var Get_SpecialActivityStatuses_cmd = &cobra.Command{ Use: `SpecialActivityStatuses`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Special Activity Status by id`, Long: `Get the details of a Special Activity Status by id. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SpecialActivityStatusesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SpecialActivityStatusesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SpecialActivityStatusesGet) } return }, }
var Get_SpecialActivityTypes_cmd = &cobra.Command{ Use: `SpecialActivityTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a Special Activity Type by id`, Long: `Get the details of a Special Activity Type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SpecialActivityTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SpecialActivityTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SpecialActivityTypesGet) } return }, }
var Get_States_cmd = &cobra.Command{ Use: `States`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a state by id`, Long: `Get the details of a state by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.StatesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.StatesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.StatesGet) } return }, }
var Get_StepTypes_cmd = &cobra.Command{ Use: `StepTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a step type by id`, Long: `Get the details of a step type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.StepTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.StepTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.StepTypesGet) } return }, }
var Get_Steps_cmd = &cobra.Command{ Use: `Steps`, Example: `{"StepID":"string"}`, Short: `Get details of a step`, Long: `Get details of a step.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.StepsGetAll) } else if test, _ := cmd.Flags().GetBool("AllDocumentSummaries"); test { err = tq.Do(_tq, _tq.Get.StepsGetAllDocumentSummaries) } else if test, _ := cmd.Flags().GetBool("AllDocuments"); test { err = tq.Do(_tq, _tq.Get.StepsGetAllDocuments) } else { err = tq.Do(_tq, _tq.Get.StepsGet) } return }, }
var Get_SubLineItemStatuses_cmd = &cobra.Command{ Use: `SubLineItemStatuses`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a sub line item status by id`, Long: `Get the details of a sub line item status by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SubLineItemStatusesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SubLineItemStatusesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SubLineItemStatusesGet) } return }, }
var Get_SubLineItems_cmd = &cobra.Command{ Use: `SubLineItems`, Example: `{"ConstituentID":"string", "IncludeAffiliations":"string", "IncludePackageBaseSubLineitems":"string", "OrderEndDate":"string", "OrderID":"string", "OrderStartDate":"string", "PerformanceEndDate":"string", "PerformanceStartDate":"string", "PerformanceTypeIds":"string", "SubLineItemStatusIds":"string"}`, Short: `Returns sub line item summary data for a constituent`, Long: `Returns sub line item summary data for a constituent`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.SubLineItemsGetSubLineItemSummaries) return }, }
var Get_Suffixes_cmd = &cobra.Command{ Use: `Suffixes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a suffix by id`, Long: `Get the details of a suffix by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SuffixesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SuffixesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SuffixesGet) } return }, }
var Get_SurveyQuestions_cmd = &cobra.Command{ Use: `SurveyQuestions`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a survey question by id`, Long: `Get the details of a survey question by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SurveyQuestionsGetAll) } else if test, _ := cmd.Flags().GetBool("DataFor"); test { err = tq.Do(_tq, _tq.Get.SurveyQuestionsGetDataFor) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SurveyQuestionsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SurveyQuestionsGet) } return }, }
var Get_SurveyResponses_cmd = &cobra.Command{ Use: `SurveyResponses`, Example: `{"SurveyResponseID":"string"}`, Short: `Get details of a survey response`, Long: `Get details of a survey response.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.SurveyResponsesGetAll) } else { err = tq.Do(_tq, _tq.Get.SurveyResponsesGet) } return }, }
var Get_SystemDefaults_cmd = &cobra.Command{ Use: `SystemDefaults`, Example: `{"MaintenanceMode":"string"}`, Short: `Get all system defaults`, Long: `Get all system defaults. For filtering on specific property value, pass the property name with value as query parameter. If the property is another non primitive object, pass PropertyName.Id and its value as query parameter.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Default"); test { err = tq.Do(_tq, _tq.Get.SystemDefaultsGetDefault) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.SystemDefaultsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.SystemDefaultsGetAll) } return }, }
var Get_TemplateCategories_cmd = &cobra.Command{ Use: `TemplateCategories`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a template category by id`, Long: `Get the details of a template category by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.TemplateCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.TemplateCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.TemplateCategoriesGet) } return }, }
var Get_TemplatePriceTypes_cmd = &cobra.Command{ Use: `TemplatePriceTypes`, Example: `{"TemplatePriceTypeID":"string"}`, Short: `Get details of a template price type`, Long: `Get details of a template price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.TemplatePriceTypesGetAll) } else { err = tq.Do(_tq, _tq.Get.TemplatePriceTypesGet) } return }, }
var Get_TemplatePrices_cmd = &cobra.Command{ Use: `TemplatePrices`, Example: `{"TemplatePriceID":"string"}`, Short: `Get details of a template price`, Long: `Get details of a template price.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.TemplatePricesGetAll) } else { err = tq.Do(_tq, _tq.Get.TemplatePricesGet) } return }, }
var Get_TemplateTypes_cmd = &cobra.Command{ Use: `TemplateTypes`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a template type by id`, Long: `Get the details of a template type by id. To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.TemplateTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.TemplateTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.TemplateTypesGet) } return }, }
var Get_Templates_cmd = &cobra.Command{ Use: `Templates`, Example: `{"TemplateID":"string"}`, Short: `Get the details of a template by id`, Long: `Get the details of a template by id`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.TemplatesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.TemplatesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.TemplatesGet) } return }, }
var Get_Theaters_cmd = &cobra.Command{ Use: `Theaters`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a theater by id`, Long: `Get the details of a theater by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.TheatersGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.TheatersGetSummaries) } else { err = tq.Do(_tq, _tq.Get.TheatersGet) } return }, }
var Get_TicketHistory_cmd = &cobra.Command{ Use: `TicketHistory`, Example: `{"ConstituentID":"string", "IncludeAffiliations":"string", "OrderEndDate":"string", "OrderStartDate":"string", "PerformanceEndDate":"string", "PerformanceID":"string", "PerformanceStartDate":"string", "ProductionSeasonID":"string", "SeasonID":"string"}`, Short: `Gets history information for tickets`, Long: `Gets history information for tickets`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.TicketHistoryGetAll) return }, }
var Get_TimeSlots_cmd = &cobra.Command{ Use: `TimeSlots`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a time slot by id`, Long: `Get the details of a time slot by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.TimeSlotsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.TimeSlotsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.TimeSlotsGet) } return }, }
var Get_Titles_cmd = &cobra.Command{ Use: `Titles`, Example: `{"ID":"string"}`, Short: `Get details of a specific title`, Long: `Get details of a specific title.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.TitlesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.TitlesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.TitlesGet) } return }, }
var Get_TransactionHistory_cmd = &cobra.Command{ Use: `TransactionHistory`, Example: `{"ConstituentID":"string", "EndDate":"string", "IncludeAffiliations":"string", "Page":"string", "PageSize":"string", "PaymentID":"string", "ReferenceID":"string", "SortByDirection":"string", "SortByField":"string", "StartDate":"string"}`, Short: `Get details of all transaction histories for the specified constituent id and all its visible affiliations' transaction histories as well`, Long: `Get details of all transaction histories for the specified constituent id and all its visible affiliations' transaction histories as well. To exclude transaction histories of the visible affiliations pass includeAffiliations=false. This resource is paged. Pass filters such as transaction reference id, payment id, or start and end date to limit the results. Results can also be sorted.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.TransactionHistoryGetAll) return }, }
var Get_TriPOSCloudConfigurations_cmd = &cobra.Command{ Use: `TriPOSCloudConfigurations`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a TriPOS Cloud configuration by id`, Long: `Get the details of a TriPOS Cloud configuration by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.TriPOSCloudConfigurationsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.TriPOSCloudConfigurationsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.TriPOSCloudConfigurationsGet) } return }, }
var Get_UpgradeCategories_cmd = &cobra.Command{ Use: `UpgradeCategories`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of an Upgrade Category by id`, Long: `Get the details of an Upgrade Category by id. To get the resource in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.UpgradeCategoriesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.UpgradeCategoriesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.UpgradeCategoriesGet) } return }, }
var Get_UpgradeLogs_cmd = &cobra.Command{ Use: `UpgradeLogs`, Example: `{"UpgradeLogID":"string"}`, Short: `Returns an upgradeLog for the given id`, Long: `Returns an upgradeLog for the given id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.UpgradeLogsGetAll) } else { err = tq.Do(_tq, _tq.Get.UpgradeLogsGet) } return }, }
var Get_UserGroups_cmd = &cobra.Command{ Use: `UserGroups`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a user group by id`, Long: `Get the details of a user group by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.UserGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.UserGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.UserGroupsGet) } return }, }
var Get_UserPreferences_cmd = &cobra.Command{ Use: `UserPreferences`, Example: `{"Key":"string"}`, Short: `Get a specific user preference by key`, Long: `Get a specific user preference by key.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.UserPreferencesGetAll) } else { err = tq.Do(_tq, _tq.Get.UserPreferencesGet) } return }, }
var Get_Users_cmd = &cobra.Command{ Use: `Users`, Example: `{"UserName":"string"}`, Short: `Get the details of a user for the specified username`, Long: `Get the details of a user for the specified username.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("ActiveDirectoryUser"); test { err = tq.Do(_tq, _tq.Get.UsersGetActiveDirectoryUser) } else if test, _ := cmd.Flags().GetBool("UserInformationForActiveDirectoryUser"); test { err = tq.Do(_tq, _tq.Get.UsersGetUserInformationForActiveDirectoryUser) } else if test, _ := cmd.Flags().GetBool("UsersForUserGroup"); test { err = tq.Do(_tq, _tq.Get.UsersGetUsersForUserGroup) } else { err = tq.Do(_tq, _tq.Get.UsersGet) } return }, }
var Get_WebContentTypes_cmd = &cobra.Command{ Use: `WebContentTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get a specific web content type`, Long: `Get a specific web content type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.WebContentTypesGetAll) } else if test, _ := cmd.Flags().GetBool("DataFor"); test { err = tq.Do(_tq, _tq.Get.WebContentTypesGetDataFor) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.WebContentTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.WebContentTypesGet) } return }, }
var Get_WebContents_cmd = &cobra.Command{ Use: `WebContents`, Example: `{"ContentTypeIds":"string", "PackageIds":"string", "ProductionElementIds":"string", "ShowAll":"string"}`, Short: `Returns web content for the requested production elements or packages`, Long: `Returns web content for the requested production elements or packages. The result can be filtered by content types. At least one package id or production element id is required. If the content type is found, returns the content value at the lowest level at which it was found in the production hierarchy (Title, Production, Production Season, Performance) for the requested element. Optionally, all matching content anywhere above the requested element in the production hierarchy can be returned with the ShowAll parameter.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Get.WebContentsGetWebContents) return }, }
var Get_WebLogins_cmd = &cobra.Command{ Use: `WebLogins`, Example: `{"WebLoginID":"string"}`, Short: `Get details of a weblogin`, Long: `Get details of a weblogin.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.WebLoginsGetAll) } else if test, _ := cmd.Flags().GetBool("LoginCredentials"); test { err = tq.Do(_tq, _tq.Get.WebLoginsGetLoginCredentials) } else if test, _ := cmd.Flags().GetBool("Search"); test { err = tq.Do(_tq, _tq.Get.WebLoginsSearch) } else { err = tq.Do(_tq, _tq.Get.WebLoginsGet) } return }, }
var Get_WorkerQualifications_cmd = &cobra.Command{ Use: `WorkerQualifications`, Example: `{"WorkerQualificationID":"string"}`, Short: `Get a single WorkerQualification by Id`, Long: `Get a single WorkerQualification by Id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.WorkerQualificationsGetAll) } else { err = tq.Do(_tq, _tq.Get.WorkerQualificationsGet) } return }, }
var Get_WorkerRoles_cmd = &cobra.Command{ Use: `WorkerRoles`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a worker role by id`, Long: `Get the details of a worker role by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.WorkerRolesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.WorkerRolesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.WorkerRolesGet) } return }, }
var Get_WorkerTypes_cmd = &cobra.Command{ Use: `WorkerTypes`, Example: `{"Filter":"string", "ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a worker type by id`, Long: `Get the details of a worker type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP).`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.WorkerTypesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.WorkerTypesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.WorkerTypesGet) } return }, }
var Get_Workers_cmd = &cobra.Command{ Use: `Workers`, Example: `{"WorkerID":"string"}`, Short: `Get details of a worker`, Long: `Get details of a worker.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.WorkersGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.WorkersGetSummaries) } else { err = tq.Do(_tq, _tq.Get.WorkersGet) } return }, }
var Get_ZoneGroups_cmd = &cobra.Command{ Use: `ZoneGroups`, Example: `{"ID":"string", "MaintenanceMode":"string"}`, Short: `Get the details of a zone group by id`, Long: `Get the details of a zone group by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ZoneGroupsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ZoneGroupsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ZoneGroupsGet) } return }, }
var Get_ZoneMaps_cmd = &cobra.Command{ Use: `ZoneMaps`, Example: `{"ID":"string"}`, Short: `Get details of a specific zone map`, Long: `Get details of a specific zone map.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ZoneMapsGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ZoneMapsGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ZoneMapsGet) } return }, }
var Get_Zones_cmd = &cobra.Command{ Use: `Zones`, Example: `{"ZoneID":"string", "ZoneMapID":"string"}`, Short: `Get details of a specific zone`, Long: `Get details of a specific zone.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("All"); test { err = tq.Do(_tq, _tq.Get.ZonesGetAll) } else if test, _ := cmd.Flags().GetBool("Summaries"); test { err = tq.Do(_tq, _tq.Get.ZonesGetSummaries) } else { err = tq.Do(_tq, _tq.Get.ZonesGet) } return }, }
var Get_cmd = &cobra.Command{ Use: "get", Aliases: []string{"get", "retrieve", "g", "r"}, Short: "Retrieve entities from Tessitura", }
var Post_AccountTypes_cmd = &cobra.Command{ Use: `AccountTypes`, Example: `{"CardLength":"string", "CardPrefix":"string", "CardtypeIndicator":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditMask":"string", "Id":123, "Inactive":true, "Mod10Indicator":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new account type`, Long: `Create a new account type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AccountTypesCreate) return }, }
var Post_Accounts_cmd = &cobra.Command{ Use: `Accounts`, Example: `{"AccountNumber":"string", "CardExpiryMonth":123, "CardExpiryYear":123, "ConstituentId":123, "ExclusiveToControlledBatchId":123, "Inactive":true, "Name":"string", "PaymentMethodGroupId":123, "ReturnAccountIfAccountExists":true, "TransactionOrigin":"string", "VantivEncryptedCard":{"Version":"string"}}`, Short: `Create a credit card account`, Long: `Create a credit card account, storing the card number. Will create and store a token if tokenization is enabled.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("DirectDebitAccount"); test { err = tq.Do(_tq, _tq.Post.AccountsCreateDirectDebitAccount) } else if test, _ := cmd.Flags().GetBool("SepaAccount"); test { err = tq.Do(_tq, _tq.Post.AccountsCreateSepaAccount) } else if test, _ := cmd.Flags().GetBool("VantivEncryptedCardAccount"); test { err = tq.Do(_tq, _tq.Post.AccountsCreateVantivEncryptedCardAccount) } else { err = tq.Do(_tq, _tq.Post.AccountsCreateCardNumberAccount) } return }, }
var Post_ActionTypes_cmd = &cobra.Command{ Use: `ActionTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "LetterIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new action type`, Long: `Create a new action type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ActionTypesCreate) return }, }
var Post_Actions_cmd = &cobra.Command{ Use: `Actions`, Example: `{"ActionDate":"2000-01-01T00:00:00.000Z", "ActionType":{"Id":123}, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "Issue":{"Id":123}, "LetterPrintedDate":"2000-01-01T00:00:00.000Z", "Notes":"string", "Resolved":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create an issue action for a Constituent`, Long: `Create an issue action for a Constituent`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ActionsCreate) return }, }
var Post_ActivityCategories_cmd = &cobra.Command{ Use: `ActivityCategories`, Example: `{"AutoClose":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new activity category`, Long: `Create a new activity category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ActivityCategoriesCreate) return }, }
var Post_ActivityTypes_cmd = &cobra.Command{ Use: `ActivityTypes`, Example: `{"Category":{"Id":123}, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "PerfIndicator":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new activity type`, Long: `Create a new activity type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ActivityTypesCreate) return }, }
var Post_AddressTypes_cmd = &cobra.Command{ Use: `AddressTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new address type`, Long: `Create a new address type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AddressTypesCreate) return }, }
var Post_Addresses_cmd = &cobra.Command{ Use: `Addresses`, Example: `{"AddressType":{"Id":123}, "AffiliatedConstituent":{"Id":123}, "AltSalutationType":{"Id":123}, "City":"string", "Constituent":{"Id":123}, "Country":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DeliveryPoint":"string", "EditIndicator":true, "EndDate":"2000-01-01T00:00:00.000Z", "GeoArea":123, "Id":123, "Inactive":true, "IsFromAffiliation":true, "Label":true, "Months":"string", "NcoaAction":123, "NcoaSession":123, "PostalCode":"string", "PostalCodeFormatted":"string", "PrimaryIndicator":true, "StartDate":"2000-01-01T00:00:00.000Z", "State":{"Id":123}, "Street1":"string", "Street1Address":{"Number":"string", "Street":"string"}, "Street2":"string", "Street3":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new address for a Constituent by sending an XML or JSON representation of an Address object using HTTP POST`, Long: `Create a new address for a Constituent by sending an XML or JSON representation of an Address object using HTTP POST.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AddressesCreate) return }, }
var Post_AffiliationInfo_cmd = &cobra.Command{ Use: `AffiliationInfo`, Example: `{"AffiliationType":{"Id":123}, "ConstituentId":123, "EditIndicator":true, "EndDate":"2000-01-01T00:00:00.000Z", "Id":123, "Inactive":true, "IsAllowedToTransact":true, "IsIncludedInSearchResults":true, "NameIndicator":123, "Note":"string", "PrimaryIndicator":true, "ProtectionType":{"Id":123}, "Rank":123, "RelatedConstituentFirstName":"string", "RelatedConstituentGender":{"Id":123}, "RelatedConstituentId":123, "RelatedConstituentInactive":true, "RelatedConstituentLastName":"string", "RelatedConstituentMiddleName":"string", "RelatedConstituentNameStatusDescription":"string", "RelatedConstituentNameStatusId":123, "RelatedConstituentPrefix":{"Id":123}, "RelatedConstituentShortDisplayName":"string", "RelatedConstituentSortName":"string", "RelatedConstituentSuffix":{"Id":123}, "RelatedConstituentType":{"Id":123}, "Salary":123.456, "StartDate":"2000-01-01T00:00:00.000Z", "Title":"string"}`, Short: `Create affiliation between a group constituent and its related constituent`, Long: `Create affiliation between a group constituent and its related constituent. If the related constituent does not exist then create the related constituent as well before creating the affiliation.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AffiliationInfoPostAffiliation) return }, }
var Post_AffiliationTypes_cmd = &cobra.Command{ Use: `AffiliationTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "IsAllowedToTransactDefault":true, "IsIncludedInSearchResultsDefault":true, "RelationshipCategory":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseSalary":true, "UseTitle":true}`, Short: `Create a new affiliation type`, Long: `Create a new affiliation type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AffiliationTypesCreate) return }, }
var Post_Affiliations_cmd = &cobra.Command{ Use: `Affiliations`, Example: `{"AddressId":123, "AffiliatedName":"string", "AffiliationType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "ElectronicAddressId":123, "EndDate":"2000-01-01T00:00:00.000Z", "GroupConstituent":{"Id":123}, "GroupConstituentName":"string", "GroupConstituentSortName":"string", "Id":123, "Inactive":true, "IndividualConstituent":{"Id":123}, "IndividualConstituentName":"string", "IndividualConstituentSortName":"string", "IsAllowedToTransact":true, "IsIncludedInSearchResults":true, "NameIndicator":123, "Note":"string", "PrimaryIndicator":true, "Salary":123.456, "SalutationId":123, "StartDate":"2000-01-01T00:00:00.000Z", "Title":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new affiliation`, Long: `Create a new affiliation.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AffiliationsCreate) return }, }
var Post_AliasTypes_cmd = &cobra.Command{ Use: `AliasTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new alias type`, Long: `Create a new alias type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AliasTypesCreate) return }, }
var Post_Aliases_cmd = &cobra.Command{ Use: `Aliases`, Example: `{"AliasFirstName":"string", "AliasLastName":"string", "AliasType":{"Id":123}, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new alias`, Long: `Create a new alias.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AliasesCreate) return }, }
var Post_AnalyticsReports_cmd = &cobra.Command{ Use: `AnalyticsReports`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Division":{"Id":"string"}, "Id":123, "Inactive":true, "ReportPath":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create SSRS Reports for display in Analytics`, Long: `Create SSRS Reports for display in Analytics.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AnalyticsReportsCreate) return }, }
var Post_AppealCategories_cmd = &cobra.Command{ Use: `AppealCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new appeal category`, Long: `Create a new appeal category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AppealCategoriesCreate) return }, }
var Post_Artists_cmd = &cobra.Command{ Use: `Artists`, Example: `{"Bio":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "FirstName":"string", "Id":123, "LastName":"string", "MiddleName":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "VoiceId":123}`, Short: `Create a new artist`, Long: `Create a new artist.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ArtistsCreate) return }, }
var Post_AssetTypes_cmd = &cobra.Command{ Use: `AssetTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new asset type`, Long: `Create a new asset type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AssetTypesCreate) return }, }
var Post_Assets_cmd = &cobra.Command{ Use: `Assets`, Example: `{"AcquisitionDateTime":"2000-01-01T00:00:00.000Z", "AssetType":{"Id":123}, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "EstimatedValue":123.456, "Id":123, "Notes":"string", "SaleDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create an asset for a constituent`, Long: `Create an asset for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AssetsCreate) return }, }
var Post_AssociationTypes_cmd = &cobra.Command{ Use: `AssociationTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "IsIncludedInSearchResultsDefault":true, "ReciprocalType":{"Id":123}, "RelationshipCategory":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseBirthDate":true, "UseGender":true}`, Short: `Create a new association type`, Long: `Create a new association type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AssociationTypesCreate) return }, }
var Post_Associations_cmd = &cobra.Command{ Use: `Associations`, Example: `{"AssociatedConstituent":{"Id":123}, "AssociatedName":"string", "AssociationType":{"Id":123}, "BirthDate":"2000-01-01T00:00:00.000Z", "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "EndDate":"2000-01-01T00:00:00.000Z", "Gender":{"Id":123}, "Id":123, "Inactive":true, "IsIncludedInSearchResults":true, "Note":"string", "ReciprocalAssociation":{"Id":123}, "StartDate":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new association`, Long: `Create a new association.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AssociationsCreate) return }, }
var Post_Attributes_cmd = &cobra.Command{ Use: `Attributes`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "Keyword":{"Id":123}, "KeywordConstituentType":{"Inactive":true, "Rank":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Value":"string"}`, Short: `Create a new attribute`, Long: `Create a new attribute.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.AttributesCreate) return }, }
var Post_Authenticate_cmd = &cobra.Command{ Use: `Authenticate`, Example: `{"Application":"string", "MachineLocation":"string", "Password":"string", "UserGroup":"string", "UserName":"string"}`, Short: `Authenticate the provided credentials`, Long: `Authenticate the provided credentials`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("AuthenticateWindows"); test { err = tq.Do(_tq, _tq.Post.AuthenticateAuthenticateWindows) } else if test, _ := cmd.Flags().GetBool("GenerateToken"); test { err = tq.Do(_tq, _tq.Post.AuthenticateGenerateToken) } else if test, _ := cmd.Flags().GetBool("GenerateTokenWindows"); test { err = tq.Do(_tq, _tq.Post.AuthenticateGenerateTokenWindows) } else if test, _ := cmd.Flags().GetBool("ValidateToken"); test { err = tq.Do(_tq, _tq.Post.AuthenticateValidateToken) } else { err = tq.Do(_tq, _tq.Post.AuthenticateAuthenticate) } return }, }
var Post_Authorization_cmd = &cobra.Command{ Use: `Authorization`, Example: `{"AllowPartialAuth":true, "Amount":123.456, "AuthorizationCode":"string", "BillingAddress":{"AddressId":123, "Country":"string", "PostalCode":"string", "Street1":"string"}, "Card":{"AccountId":123, "CardHolderName":"string", "CardNumber":"string", "Cvv2":"string", "ExpirationDate":"string", "TessituraMerchantServicesData":"string", "Track1":"string", "Track2":"string"}, "ConstituentId":123, "DeliveryDate":"2000-01-01T00:00:00.000Z", "IsECommerce":true, "IsRecurring":true, "PaymentId":123, "PaymentMethodId":123, "ReferenceNumber":"string", "ReturnUrl":"string", "ShopperIp":"string", "StoreAccount":true, "ThreeDSecureData":{"EciIndicatorType":"string", "MpiSessionId":"string", "SecureTransactionId":"string", "SecureTransactionSecurity":"string", "VerAuthValue":"string", "VerCertificateSerialCardAcceptor":"string", "VerCertificateSerialCardHolder":"string", "VerHashResult":"string"}, "TransactionOrigin":"string", "UserData":"string"}`, Short: `Authorize a payment using a manually keyed`, Long: `Authorize a payment using a manually keyed, swiped or encrypted card data, including payments made using the Tessitura Merchant Services Payment Component.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Confirm"); test { err = tq.Do(_tq, _tq.Post.AuthorizationConfirm) } else if test, _ := cmd.Flags().GetBool("ConfirmPayByLink"); test { err = tq.Do(_tq, _tq.Post.AuthorizationConfirmPayByLink) } else if test, _ := cmd.Flags().GetBool("Finalize"); test { err = tq.Do(_tq, _tq.Post.AuthorizationFinalize) } else if test, _ := cmd.Flags().GetBool("Link"); test { err = tq.Do(_tq, _tq.Post.AuthorizationLink) } else if test, _ := cmd.Flags().GetBool("Reverse"); test { err = tq.Do(_tq, _tq.Post.AuthorizationReverse) } else { err = tq.Do(_tq, _tq.Post.AuthorizationAuthorize) } return }, }
var Post_BatchMaintenance_cmd = &cobra.Command{ Use: `BatchMaintenance`, Example: `{"AmtPosted":123.456, "BatchType":{"Id":123}, "CloseDateTime":"2000-01-01T00:00:00.000Z", "ClosedBy":"string", "CntlIndicator":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Notes":"string", "NumAccCc":123, "NumRejCc":123, "OpenLoc":"string", "Owner":"string", "PostId":123, "PostedBy":"string", "PostedDateTime":"2000-01-01T00:00:00.000Z", "Status":"string", "TallyPlAmount":123.456, "TallyReAmount":123.456, "UniqueTag":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Batch`, Long: `Create a new Batch`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.BatchMaintenanceCreate) return }, }
var Post_BatchTypeGroups_cmd = &cobra.Command{ Use: `BatchTypeGroups`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new batch type group`, Long: `Create a new batch type group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.BatchTypeGroupsCreate) return }, }
var Post_BatchTypes_cmd = &cobra.Command{ Use: `BatchTypes`, Example: `{"BatchTypeGroup":{"Id":123}, "BusinessUnit":{"Id":123}, "Category":123, "CntlIndicator":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new batch type`, Long: `Create a new batch type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.BatchTypesCreate) return }, }
var Post_Batch_cmd = &cobra.Command{ Use: `Batch`, Example: `{"Requests":[{"Id":123}, ...]}`, Short: ``, Long: ``, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.BatchSample) return }, }
var Post_BillingSchedules_cmd = &cobra.Command{ Use: `BillingSchedules`, Example: `{"BillAmounts":"string", "BillDates":"string", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "LongDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Billing Schedule`, Long: `Create a new Billing Schedule.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.BillingSchedulesCreate) return }, }
var Post_BillingTypes_cmd = &cobra.Command{ Use: `BillingTypes`, Example: `{"AutoBillingIndicator":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Billing Type`, Long: `Create a new Billing Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.BillingTypesCreate) return }, }
var Post_BookingCategories_cmd = &cobra.Command{ Use: `BookingCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Booking Category`, Long: `Create a new Booking Category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.BookingCategoriesCreate) return }, }
var Post_BookingTemplates_cmd = &cobra.Command{ Use: `BookingTemplates`, Example: `{"Assignments":[{"Id":123}, ...], "Category":{"Id":123}, "ConfirmationText":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Notes":"string", "OverrideTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Booking Template`, Long: `Create a new Booking Template`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.BookingTemplatesCreate) return }, }
var Post_Bookings_cmd = &cobra.Command{ Use: `Bookings`, Example: `{"Assignments":[{"Id":123}, ...], "BookingSource":123, "Category":{"Id":123}, "ConfirmationText":"string", "Context":{}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultCount":123, "DefaultDateTime":"2000-01-01T00:00:00.000Z", "DefaultDuration":123, "Description":"string", "EditIndicator":true, "Id":123, "Notes":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Booking`, Long: `Create a new Booking`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("AddDocument"); test { err = tq.Do(_tq, _tq.Post.BookingsAddDocument) } else if test, _ := cmd.Flags().GetBool("FromTemplate"); test { err = tq.Do(_tq, _tq.Post.BookingsCreateFromTemplate) } else { err = tq.Do(_tq, _tq.Post.BookingsCreate) } return }, }
var Post_BulkCopySets_cmd = &cobra.Command{ Use: `BulkCopySets`, Example: `{"AvailableForSaleIndicator":true, "ControlGroup":{"Id":123}, "CopyCredits":true, "CopyNotes":true, "CopyOffers":true, "CopyPriceEvents":true, "CopyPrices":true, "CreateFriday":true, "CreateFromDateTime":"2000-01-01T00:00:00.000Z", "CreateLocation":"string", "CreateMode":"string", "CreateMonday":true, "CreateSaturday":true, "CreateSunday":true, "CreateThursday":true, "CreateToDateTime":"2000-01-01T00:00:00.000Z", "CreateTuesday":true, "CreateWednesday":true, "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultRelativeDates":"string", "Id":123, "Inactive":true, "OverrideOnSale":true, "PackageCode":"string", "PackageCodeSeed":123, "PackageModeOfSaleRelativeDates":"string", "PerformanceCode":"string", "PerformanceCodeSeed":123, "PerformanceDescription":"string", "PerformanceModeOfSaleRelativeDates":"string", "PerformanceStatus":{"Id":123}, "PerformanceTime":"string", "PerformanceType":{"Id":123}, "PriceEventRelativeDates":"string", "PriceTypeRelativeDates":"string", "ProductionSeason":{"Id":123}, "PublishRelativeDates":"string", "ReferenceDay":"2000-01-01T00:00:00.000Z", "ReferencePerformanceId":123, "ReferenceSeasonString":"string", "SetDescription":"string", "SetType":123, "ShortName":"string", "TimeSlot":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Creates a new bulk copy set`, Long: `Creates a new bulk copy set.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("CopyDay"); test { err = tq.Do(_tq, _tq.Post.BulkCopySetsCopyDay) } else if test, _ := cmd.Flags().GetBool("CopyEvent"); test { err = tq.Do(_tq, _tq.Post.BulkCopySetsCopyEvent) } else if test, _ := cmd.Flags().GetBool("ReplaceExclusions"); test { err = tq.Do(_tq, _tq.Post.BulkCopySetsReplaceExclusions) } else { err = tq.Do(_tq, _tq.Post.BulkCopySetsCreate) } return }, }
var Post_BulkDailyCopyExclusions_cmd = &cobra.Command{ Use: `BulkDailyCopyExclusions`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DoNotCopy":true, "Id":123, "IncludeWithoutCopy":true, "PackageId":123, "PerformanceId":123, "SetId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Creates a bulk daily copy exclusion`, Long: `Creates a bulk daily copy exclusion.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.BulkDailyCopyExclusionsCreate) return }, }
var Post_BusinessUnits_cmd = &cobra.Command{ Use: `BusinessUnits`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new business unit`, Long: `Create a new business unit.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.BusinessUnitsCreate) return }, }
var Post_CampaignDesignations_cmd = &cobra.Command{ Use: `CampaignDesignations`, Example: `{"Campaign":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "Designation":{"Id":123}, "EditIndicator":true, "GoalAmount":123.456, "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new association between a Designation and a Campaign`, Long: `Create a new association between a Designation and a Campaign.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.CampaignDesignationsCreate) return }, }
var Post_CampaignFunds_cmd = &cobra.Command{ Use: `CampaignFunds`, Example: `{"Campaign":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "EndDateTime":"2000-01-01T00:00:00.000Z", "Fund":{"Id":123}, "GoalAmount":123.456, "Id":123, "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Fund association to a Campaign`, Long: `Create a new Fund association to a Campaign.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.CampaignFundsCreate) return }, }
var Post_CardReaderTypes_cmd = &cobra.Command{ Use: `CardReaderTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Card Reader Type`, Long: `Create a new Card Reader Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.CardReaderTypesCreate) return }, }
var Post_Cart_cmd = &cobra.Command{ Use: `Cart`, Example: `{"BookingId":123, "SessionKey":"string"}`, Short: `Attach an existing booking to the cart`, Long: `Attach an existing booking to the cart.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("AddContribution"); test { err = tq.Do(_tq, _tq.Post.CartAddContribution) } else if test, _ := cmd.Flags().GetBool("AddFee"); test { err = tq.Do(_tq, _tq.Post.CartAddUpdateFee) } else if test, _ := cmd.Flags().GetBool("AddGiftCertificate"); test { err = tq.Do(_tq, _tq.Post.CartAddGiftCertificate) } else if test, _ := cmd.Flags().GetBool("AddNFSPackagePerformanceItem"); test { err = tq.Do(_tq, _tq.Post.CartAddNFSPackagePerformanceItem) } else if test, _ := cmd.Flags().GetBool("AddOnAccount"); test { err = tq.Do(_tq, _tq.Post.CartAddOnAccount) } else if test, _ := cmd.Flags().GetBool("AddPackageItem"); test { err = tq.Do(_tq, _tq.Post.CartAddPackageItem) } else if test, _ := cmd.Flags().GetBool("AddPaymentPlan"); test { err = tq.Do(_tq, _tq.Post.CartAddPaymentPlan) } else if test, _ := cmd.Flags().GetBool("AddPaymentPlanBasedOnBillingSchedule"); test { err = tq.Do(_tq, _tq.Post.CartAddPaymentPlanBasedOnBillingSchedule) } else if test, _ := cmd.Flags().GetBool("AddPaymentPlanInstallments"); test { err = tq.Do(_tq, _tq.Post.CartAddPaymentPlanInstallments) } else if test, _ := cmd.Flags().GetBool("AddSubPackageItem"); test { err = tq.Do(_tq, _tq.Post.CartAddSubPackageItem) } else if test, _ := cmd.Flags().GetBool("ApplyCashPayment"); test { err = tq.Do(_tq, _tq.Post.CartApplyCashPayment) } else if test, _ := cmd.Flags().GetBool("ApplyCheckPayment"); test { err = tq.Do(_tq, _tq.Post.CartApplyCheckPayment) } else if test, _ := cmd.Flags().GetBool("ApplyGiftCertificate"); test { err = tq.Do(_tq, _tq.Post.CartApplyGiftCertificate) } else if test, _ := cmd.Flags().GetBool("ApplyInvoicePayment"); test { err = tq.Do(_tq, _tq.Post.CartApplyInvoicePayment) } else if test, _ := cmd.Flags().GetBool("ApplyOnAccountPayment"); test { err = tq.Do(_tq, _tq.Post.CartApplyOnAccountPayment) } else if test, _ := cmd.Flags().GetBool("ApplyOtherPayment"); test { err = tq.Do(_tq, _tq.Post.CartApplyOtherPayment) } else if test, _ := cmd.Flags().GetBool("Authorize"); test { err = tq.Do(_tq, _tq.Post.CartAuthorize) } else if test, _ := cmd.Flags().GetBool("Checkout"); test { err = tq.Do(_tq, _tq.Post.CartCheckout) } else if test, _ := cmd.Flags().GetBool("CheckoutWithCard"); test { err = tq.Do(_tq, _tq.Post.CartCheckoutWithCard) } else if test, _ := cmd.Flags().GetBool("PreviewPaymentPlanBasedOnBillingSchedule"); test { err = tq.Do(_tq, _tq.Post.CartPreviewPaymentPlanBasedOnBillingSchedule) } else if test, _ := cmd.Flags().GetBool("Price"); test { err = tq.Do(_tq, _tq.Post.CartPrice) } else if test, _ := cmd.Flags().GetBool("PrintEmail"); test { err = tq.Do(_tq, _tq.Post.CartPrintEmail) } else if test, _ := cmd.Flags().GetBool("PrintPrintStrings"); test { err = tq.Do(_tq, _tq.Post.CartPrintPrintStrings) } else if test, _ := cmd.Flags().GetBool("PrintTicketElements"); test { err = tq.Do(_tq, _tq.Post.CartPrintTicketElements) } else if test, _ := cmd.Flags().GetBool("ReserveTickets"); test { err = tq.Do(_tq, _tq.Post.CartReserveTickets) } else if test, _ := cmd.Flags().GetBool("ReserveTicketsForLineItem"); test { err = tq.Do(_tq, _tq.Post.CartReserveTicketsForLineItem) } else if test, _ := cmd.Flags().GetBool("ReturnTicket"); test { err = tq.Do(_tq, _tq.Post.CartReturnTicket) } else if test, _ := cmd.Flags().GetBool("ReturnTicketWithSeat"); test { err = tq.Do(_tq, _tq.Post.CartReturnTicketWithSeat) } else if test, _ := cmd.Flags().GetBool("Validate"); test { err = tq.Do(_tq, _tq.Post.CartValidate) } else if test, _ := cmd.Flags().GetBool("ValidateLimits"); test { err = tq.Do(_tq, _tq.Post.CartValidateLimits) } else { err = tq.Do(_tq, _tq.Post.CartAddBooking) } return }, }
var Post_Colors_cmd = &cobra.Command{ Use: `Colors`, Example: `{"ColorValue":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new color`, Long: `Create a new color.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ColorsCreate) return }, }
var Post_Composers_cmd = &cobra.Command{ Use: `Composers`, Example: `{"Bio":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "FirstName":"string", "Id":123, "Inactive":true, "LastName":"string", "MiddleName":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new composer`, Long: `Create a new composer.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ComposersCreate) return }, }
var Post_Constituencies_cmd = &cobra.Command{ Use: `Constituencies`, Example: `{"ConstituencyType":{"Id":123}, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "EndDate":"2000-01-01T00:00:00.000Z", "Id":123, "StartDate":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new constituency`, Long: `Create a new constituency.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ConstituenciesCreate) return }, }
var Post_ConstituencyTypes_cmd = &cobra.Command{ Use: `ConstituencyTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Rank":123, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new constituency type`, Long: `Create a new constituency type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ConstituencyTypesCreate) return }, }
var Post_ConstituentDocuments_cmd = &cobra.Command{ Use: `ConstituentDocuments`, Example: `{"Category":{"Id":123}, "ConstituentId":123, "Contents":"AA==", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "FileName":"string", "Id":123, "Notes":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create document for a constituent`, Long: `Create document for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ConstituentDocumentsCreate) return }, }
var Post_ConstituentGroups_cmd = &cobra.Command{ Use: `ConstituentGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new constituent group`, Long: `Create a new constituent group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ConstituentGroupsCreate) return }, }
var Post_ConstituentInactives_cmd = &cobra.Command{ Use: `ConstituentInactives`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new constituent inactive`, Long: `Create a new constituent inactive.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ConstituentInactivesCreate) return }, }
var Post_ConstituentProtectionTypes_cmd = &cobra.Command{ Use: `ConstituentProtectionTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new constituent protection type`, Long: `Create a new constituent protection type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ConstituentProtectionTypesCreate) return }, }
var Post_ConstituentTypeAffiliates_cmd = &cobra.Command{ Use: `ConstituentTypeAffiliates`, Example: `{"AffiliationType":{"Id":123}, "ConstituentType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "HouseholdPrimary":true, "Id":123, "Rank":123, "ShowWithGroup":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new constituent type affiliate`, Long: `Create a new constituent type affiliate.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ConstituentTypeAffiliatesCreate) return }, }
var Post_ConstituentTypes_cmd = &cobra.Command{ Use: `ConstituentTypes`, Example: `{"AddressTypeId":123, "ConstituentGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultAffiliatedConstituentTypeId":123, "DefaultAffiliationTypeId":123, "DefaultIndicator":true, "DefaultSalutationId":123, "Description":"string", "ElectronicAddressTypeId":123, "GiftAidIndicator":true, "Id":123, "Inactive":true, "LoginTypeId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new constituent type`, Long: `Create a new constituent type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ConstituentTypesCreate) return }, }
var Post_Constituents_cmd = &cobra.Command{ Use: `Constituents`, Example: `{"Addresses":[{"Id":123}, ...], "ConstituentType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DisplayName":"string", "ElectronicAddresses":[{"Id":123}, ...], "EmarketIndicator":{"Id":123}, "FirstName":"string", "Gender":{"Id":123}, "Id":123, "Inactive":{"Id":123}, "InactiveReason":{"Id":123}, "LastActivityDate":"2000-01-01T00:00:00.000Z", "LastGiftDate":"2000-01-01T00:00:00.000Z", "LastName":"string", "LastTicketDate":"2000-01-01T00:00:00.000Z", "MailIndicator":{"Id":123}, "MiddleName":"string", "NameStatus":{"Id":123}, "OriginalSource":{"Id":123}, "PhoneIndicator":{"Id":123}, "PhoneNumbers":[{"Id":123}, ...], "Prefix":{"Id":123}, "ProtectionType":{"Id":123}, "Salutations":[{"Id":123}, ...], "SortName":"string", "Suffix":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new constituent with addresses`, Long: `Create a new constituent with addresses, electronicAddresses, salutations and phones.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("ConstituentUsingSnapshot"); test { err = tq.Do(_tq, _tq.Post.ConstituentsCreateConstituentUsingSnapshot) } else if test, _ := cmd.Flags().GetBool("ConvertGroupToIndividual"); test { err = tq.Do(_tq, _tq.Post.ConstituentsConvertGroupToIndividual) } else if test, _ := cmd.Flags().GetBool("ConvertIndividualToHousehold"); test { err = tq.Do(_tq, _tq.Post.ConstituentsConvertIndividualToHousehold) } else if test, _ := cmd.Flags().GetBool("ConvertIndividualToOrganization"); test { err = tq.Do(_tq, _tq.Post.ConstituentsConvertIndividualToOrganization) } else if test, _ := cmd.Flags().GetBool("SchedulePurge"); test { err = tq.Do(_tq, _tq.Post.ConstituentsSchedulePurge) } else if test, _ := cmd.Flags().GetBool("SearchByCardNumber"); test { err = tq.Do(_tq, _tq.Post.ConstituentsSearchByCardNumber) } else if test, _ := cmd.Flags().GetBool("SwapConstituentA1A2"); test { err = tq.Do(_tq, _tq.Post.ConstituentsSwapConstituentA1A2) } else if test, _ := cmd.Flags().GetBool("UnschedulePurge"); test { err = tq.Do(_tq, _tq.Post.ConstituentsUnschedulePurge) } else { err = tq.Do(_tq, _tq.Post.ConstituentsCreateConstituent) } return }, }
var Post_ContactPermissionCategories_cmd = &cobra.Command{ Use: `ContactPermissionCategories`, Example: `{"AskFrequencyMonths":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new contact permission category`, Long: `Create a new contact permission category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContactPermissionCategoriesCreate) return }, }
var Post_ContactPermissionTypes_cmd = &cobra.Command{ Use: `ContactPermissionTypes`, Example: `{"Category":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultValueForAdd":"string", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Presenter":true, "Rank":123, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new contact permission type`, Long: `Create a new contact permission type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContactPermissionTypesCreate) return }, }
var Post_ContactPermissions_cmd = &cobra.Command{ Use: `ContactPermissions`, Example: `{"Answer":"string", "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "LastAskedDateTime":"2000-01-01T00:00:00.000Z", "ShouldAsk":true, "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new contact permission`, Long: `Create a new contact permission`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("ForTransaction"); test { err = tq.Do(_tq, _tq.Post.ContactPermissionsForTransaction) } else { err = tq.Do(_tq, _tq.Post.ContactPermissionsCreate) } return }, }
var Post_ContactPointCategories_cmd = &cobra.Command{ Use: `ContactPointCategories`, Example: `{"ContactPointKey":"string", "ContactPointTable":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new contact point category`, Long: `Create a new contact point category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContactPointCategoriesCreate) return }, }
var Post_ContactPointCategoryPurposes_cmd = &cobra.Command{ Use: `ContactPointCategoryPurposes`, Example: `{"ContactPointCategory":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Purpose":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new contact point category purpose`, Long: `Create a new contact point category purpose.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContactPointCategoryPurposesCreate) return }, }
var Post_ContactPointPurposeCategories_cmd = &cobra.Command{ Use: `ContactPointPurposeCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new contact point purpose category`, Long: `Create a new contact point purpose category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContactPointPurposeCategoriesCreate) return }, }
var Post_ContactPointPurposeMaps_cmd = &cobra.Command{ Use: `ContactPointPurposeMaps`, Example: `{"ContactPoint":{"Id":123}, "ContactPointCategory":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "Purpose":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new contact point purpose`, Long: `Create a new contact point purpose.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContactPointPurposeMapsCreate) return }, }
var Post_ContactPointPurposes_cmd = &cobra.Command{ Use: `ContactPointPurposes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "PurposeCategory":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new contact point purpose`, Long: `Create a new contact point purpose.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContactPointPurposesCreate) return }, }
var Post_ContactTypes_cmd = &cobra.Command{ Use: `ContactTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new contact type`, Long: `Create a new contact type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContactTypesCreate) return }, }
var Post_ContributionDesignations_cmd = &cobra.Command{ Use: `ContributionDesignations`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "LetterText":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new contribution designation`, Long: `Create a new contribution designation.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContributionDesignationsCreate) return }, }
var Post_ContributionImportSets_cmd = &cobra.Command{ Use: `ContributionImportSets`, Example: `{"AccountMatchKeyword":{"Id":123}, "AcknowledgmentLetterMode":123, "BatchType":{"Id":123}, "BillingSchedule":{"Id":123}, "BillingType":{"Id":123}, "Campaign":{"Id":123}, "ContributionDateTime":"2000-01-01T00:00:00.000Z", "ContributionPayMode":123, "CreateLocation":"string", "CreatePotentialDuplicate":true, "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CrediteeMode":123, "CrediteeType":{"Id":123}, "DefaultConstituentType":{"Id":123}, "DefaultCountryCode":"string", "DefaultHouseholdConstituentType":{"Id":123}, "DefaultOriginalSource":{"Id":123}, "Description":"string", "Designation":{"Id":123}, "FilePath":"string", "FormatFile":"string", "Fund":{"Id":123}, "Id":123, "ImportRefNoLocation":123, "Inactive":true, "PaymentMethod":{"Id":123}, "SalesChannel":{"Id":123}, "Source":{"Id":123}, "StripPhoneFormatting":true, "TransactAsHousehold":true, "TransactAsHouseholdCreditee":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Worker":{"Id":123}}`, Short: `Create a new contributionImportSet`, Long: `Create a new contributionImportSet.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContributionImportSetsCreate) return }, }
var Post_Contributions_cmd = &cobra.Command{ Use: `Contributions`, Example: `{"AccountId":123, "AppealId":123, "BatchId":123, "BillingAccount":"string", "BillingTypeId":123, "BusinessUnitId":123, "Campaign":{"Id":123}, "Cancel":"string", "Channel":{"Id":123}, "Constituent":{"Id":123}, "ContributionAmount":123.456, "ContributionDateTime":"2000-01-01T00:00:00.000Z", "ContributionDesignation":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Custom0":"string", "Custom1":"string", "Custom2":"string", "Custom3":"string", "Custom4":"string", "Custom5":"string", "Custom6":"string", "Custom7":"string", "Custom8":"string", "Custom9":"string", "EditIndicator":true, "Fund":{"Id":123}, "Id":123, "Initiator":{"Id":123}, "KindGiftDescription":"string", "KindGiftTransferDateTime":"2000-01-01T00:00:00.000Z", "MatchIndicator":"string", "MatchingContributionId":123, "MediaType":{"Id":123}, "MirrorLock":123, "Notes":"string", "PaymentEndDateTime":"2000-01-01T00:00:00.000Z", "PaymentStartDateTime":"2000-01-01T00:00:00.000Z", "Plan":{"Id":123}, "PledgeStatusId":123, "ReceivedAmount":123.456, "Solicitor":"string", "SourceId":123, "Type":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `This resource is currently strictly for interceptor plugin use`, Long: `This resource is currently strictly for interceptor plugin use. This is called any time a new contribution is saved from the contribution editor in the client application. Only Id (ref_no) is provided in the request content.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ContributionsCreate) return }, }
var Post_ControlGroupUserGroups_cmd = &cobra.Command{ Use: `ControlGroupUserGroups`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "EditIndicator":true, "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string"}`, Short: `Create a new control group/user group mapping`, Long: `Create a new control group/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ControlGroupUserGroupsCreate) return }, }
var Post_ControlGroups_cmd = &cobra.Command{ Use: `ControlGroups`, Example: `{"CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Permission":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new control group`, Long: `Create a new control group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ControlGroupsCreate) return }, }
var Post_CoreIdentity_cmd = &cobra.Command{ Use: `CoreIdentity`, Example: `{"Body":"string", "Headers":[{"Name":"string", "Value":"string"}, ...], "Method":"string", "Path":"string", "QueryParameters":[{"Name":"string", "Value":"string"}, ...]}`, Short: ``, Long: ``, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.CoreIdentitySign) return }, }
var Post_Countries_cmd = &cobra.Command{ Use: `Countries`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DecimalSeparator":"string", "Description":"string", "Id":123, "Inactive":true, "IsoAlpha2Code":"string", "IsoAlpha3Code":"string", "PhoneCode":"string", "PhoneEditstring":"string", "PhoneMask":"string", "PhoneValidLengths":"string", "ReqCity":true, "ReqPcode":true, "ShortDesc":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseAvs":"string", "UseStateField":"string", "ZipEditstring":"string", "ZipMask":"string", "ZipValidLengths":"string"}`, Short: `Create a new country`, Long: `Create a new country.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.CountriesCreate) return }, }
var Post_CrediteeTypes_cmd = &cobra.Command{ Use: `CrediteeTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CreditMembershipIndicator":true, "Description":"string", "GiftAidIndicator":true, "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new crediteeType`, Long: `Create a new crediteeType.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.CrediteeTypesCreate) return }, }
var Post_CurrencyTypes_cmd = &cobra.Command{ Use: `CurrencyTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Rate":123.456, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new currency type`, Long: `Create a new currency type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.CurrencyTypesCreate) return }, }
var Post_CustomDefaultCategories_cmd = &cobra.Command{ Use: `CustomDefaultCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new custom default category`, Long: `Create a new custom default category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.CustomDefaultCategoriesCreate) return }, }
var Post_CustomDefaults_cmd = &cobra.Command{ Use: `CustomDefaults`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CustomDefaultCategory":{"Id":123}, "DefaultValue":"string", "Description":"string", "FieldName":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new custom default`, Long: `Create a new custom default.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.CustomDefaultsCreate) return }, }
var Post_Custom_cmd = &cobra.Command{ Use: `Custom`, Example: `{"ParameterValues":[{"Name":"string", "Value":"string"}, ...], "Parameters":"string", "ProcedureId":123, "ProcedureName":"string"}`, Short: `Executes a local procedure defined in TR_LOCAL_PROCEDURE`, Long: `Executes a local procedure defined in TR_LOCAL_PROCEDURE. This will only return a collection of the first result set in a registered procedure. For the result set, null values in each data row are not returned as properties.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("ExecuteLocalProcedureWithMultipleResultSets"); test { err = tq.Do(_tq, _tq.Post.CustomExecuteLocalProcedureWithMultipleResultSets) } else { err = tq.Do(_tq, _tq.Post.CustomExecuteLocalProcedure) } return }, }
var Post_DeliveryMethods_cmd = &cobra.Command{ Use: `DeliveryMethods`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "PrintAtHome":true, "RequireAddress":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new delivery method`, Long: `Create a new delivery method.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.DeliveryMethodsCreate) return }, }
var Post_DesignationCodes_cmd = &cobra.Command{ Use: `DesignationCodes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new designation code`, Long: `Create a new designation code.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.DesignationCodesCreate) return }, }
var Post_Diagnostics_cmd = &cobra.Command{ Use: `Diagnostics`, Example: `{"ServerName":"string"}`, Short: `Check connection information`, Long: `Check connection information.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.DiagnosticsCheck) return }, }
var Post_DirectDebitAccountTypes_cmd = &cobra.Command{ Use: `DirectDebitAccountTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new direct debit account type`, Long: `Create a new direct debit account type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.DirectDebitAccountTypesCreate) return }, }
var Post_DiscountTypes_cmd = &cobra.Command{ Use: `DiscountTypes`, Example: `{"Amount":123.456, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "PercentIndicator":true, "RespectMinimumPrice":true, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new discount type`, Long: `Create a new discount type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.DiscountTypesCreate) return }, }
var Post_DocumentCategories_cmd = &cobra.Command{ Use: `DocumentCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "ParentTableName":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new documentCategory`, Long: `Create a new documentCategory.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.DocumentCategoriesCreate) return }, }
var Post_DonationLevels_cmd = &cobra.Command{ Use: `DonationLevels`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "ProgramType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new donation level`, Long: `Create a new donation level.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.DonationLevelsCreate) return }, }
var Post_EMV_cmd = &cobra.Command{ Use: `EMV`, Example: `{"Amount":123.456, "BillingAddress":{"AddressId":123, "Country":"string", "PostalCode":"string", "Street1":"string"}, "ConstituentId":123, "IsMoto":true, "MachineId":123, "PaymentId":123, "StoreAccount":true, "TransactionOrigin":"string", "UserData":"string"}`, Short: `Authorize a payment via a Payment Express HIT`, Long: `Authorize a payment via a Payment Express HIT, TriPOSCloud, or Adyen device.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Lane"); test { err = tq.Do(_tq, _tq.Post.EMVCreateLane) } else if test, _ := cmd.Flags().GetBool("Signature"); test { err = tq.Do(_tq, _tq.Post.EMVSignature) } else if test, _ := cmd.Flags().GetBool("Token"); test { err = tq.Do(_tq, _tq.Post.EMVTokenCreate) } else { err = tq.Do(_tq, _tq.Post.EMVAuthorization) } return }, }
var Post_ElectronicAddressTypes_cmd = &cobra.Command{ Use: `ElectronicAddressTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "IsEmail":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new electronic address type`, Long: `Create a new electronic address type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ElectronicAddressTypesCreate) return }, }
var Post_ElectronicAddresses_cmd = &cobra.Command{ Use: `ElectronicAddresses`, Example: `{"Address":"string", "AffiliatedConstituent":{"Id":123}, "AllowHtmlFormat":true, "AllowMarketing":true, "AltSalutationType":{"Id":123}, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "ElectronicAddressType":{"Id":123}, "EndDate":"2000-01-01T00:00:00.000Z", "Id":123, "Inactive":true, "IsEmail":true, "IsFromAffiliation":true, "Months":"string", "PrimaryIndicator":true, "StartDate":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new electronic address`, Long: `Create a new electronic address.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Move"); test { err = tq.Do(_tq, _tq.Post.ElectronicAddressesMove) } else { err = tq.Do(_tq, _tq.Post.ElectronicAddressesCreate) } return }, }
var Post_EmailProfiles_cmd = &cobra.Command{ Use: `EmailProfiles`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EmailBcc":"string", "EmailCc":"string", "EmailDefaultSubject":"string", "EmailFrom":"string", "Id":123, "Inactive":true, "SMTPPassword":"string", "SMTPPort":123, "SMTPServer":"string", "SMTPUserName":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseSsl":true}`, Short: `Create a new email profile`, Long: `Create a new email profile`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.EmailProfilesCreate) return }, }
var Post_EmailResponses_cmd = &cobra.Command{ Use: `EmailResponses`, Example: `{"ConstituentId":123, "DownloadNumber":123, "EventDateTime":"2000-01-01T00:00:00.000Z", "EventName":"string"}`, Short: `Updates an appeal with customer data in response to an email event`, Long: `Updates an appeal with customer data in response to an email event. EventName should be one of open, click, hard-bounce, soft-bounce or opt-out.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.EmailResponsesUpdateAppeal) return }, }
var Post_Emails_cmd = &cobra.Command{ Use: `Emails`, Example: `{"Attachments":[{"Name":"string"}, ...], "DuplicateBodyAsAttachment":true, "DuplicateBodyAttachmentName":"string", "EmailProfileId":123, "EmbeddedImages":[{"MediaType":"string", "Name":"string"}, ...], "FromAddress":"string", "HtmlBody":"string", "PlainTextBody":"string", "RecipientAddress":"string", "Subject":"string"}`, Short: `Sends an email via SMTP`, Long: `Sends an email via SMTP`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("SendConstituentInfo"); test { err = tq.Do(_tq, _tq.Post.EmailsSendConstituentInfo) } else if test, _ := cmd.Flags().GetBool("SendLoginCredentials"); test { err = tq.Do(_tq, _tq.Post.EmailsSendLoginCredentials) } else if test, _ := cmd.Flags().GetBool("SendOrderConfirmation"); test { err = tq.Do(_tq, _tq.Post.EmailsSendOrderConfirmation) } else if test, _ := cmd.Flags().GetBool("SendTickets"); test { err = tq.Do(_tq, _tq.Post.EmailsSendTickets) } else { err = tq.Do(_tq, _tq.Post.EmailsSend) } return }, }
var Post_EmarketIndicators_cmd = &cobra.Command{ Use: `EmarketIndicators`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new emarket indicator`, Long: `Create a new emarket indicator.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.EmarketIndicatorsCreate) return }, }
var Post_Eras_cmd = &cobra.Command{ Use: `Eras`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new era`, Long: `Create a new era.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ErasCreate) return }, }
var Post_Facilities_cmd = &cobra.Command{ Use: `Facilities`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultBestSeatMapId":123, "DefaultZoneMapId":123, "Description":"string", "Id":123, "SeatMap":{"Id":123}, "Theater":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Facility`, Long: `Create a new Facility.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.FacilitiesCreate) return }, }
var Post_Genders_cmd = &cobra.Command{ Use: `Genders`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultPrefix":{"Id":123}, "Description":"string", "Id":123, "Inactive":true, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new gender`, Long: `Create a new gender.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.GendersCreate) return }, }
var Post_GiftAidContactMethods_cmd = &cobra.Command{ Use: `GiftAidContactMethods`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new gift aid contact method`, Long: `Create a new gift aid contact method.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.GiftAidContactMethodsCreate) return }, }
var Post_GiftAidDeclarations_cmd = &cobra.Command{ Use: `GiftAidDeclarations`, Example: `{"ConfirmDateTime":"2000-01-01T00:00:00.000Z", "Constituent":{"Id":123}, "ContactMethod":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DocumentStatus":{"Id":123}, "EligibleIndicator":true, "EndDateTime":"2000-01-01T00:00:00.000Z", "GiftAidType":{"Id":123}, "Id":123, "IneligibleReason":{"Id":123}, "Notes":"string", "ReceivedDateTime":"2000-01-01T00:00:00.000Z", "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Creates a Gift Aid Declaration`, Long: `Creates a Gift Aid Declaration.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.GiftAidDeclarationsCreate) return }, }
var Post_GiftAidDocumentStatuses_cmd = &cobra.Command{ Use: `GiftAidDocumentStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new gift aid document status`, Long: `Create a new gift aid document status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.GiftAidDocumentStatusesCreate) return }, }
var Post_GiftAidIneligibleReasons_cmd = &cobra.Command{ Use: `GiftAidIneligibleReasons`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new gift aid ineligible reason`, Long: `Create a new gift aid ineligible reason.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.GiftAidIneligibleReasonsCreate) return }, }
var Post_GiftAidRates_cmd = &cobra.Command{ Use: `GiftAidRates`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Rate":123.456, "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new gift aid rate`, Long: `Create a new gift aid rate.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.GiftAidRatesCreate) return }, }
var Post_GiftAidStatuses_cmd = &cobra.Command{ Use: `GiftAidStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new gift aid status`, Long: `Create a new gift aid status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.GiftAidStatusesCreate) return }, }
var Post_GiftAidTypes_cmd = &cobra.Command{ Use: `GiftAidTypes`, Example: `{"CharityClaimsRef":"string", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new gift aid type`, Long: `Create a new gift aid type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.GiftAidTypesCreate) return }, }
var Post_GiftCertificates_cmd = &cobra.Command{ Use: `GiftCertificates`, Example: `{"BatchId":123, "LockForBatch":true, "Number":"string", "PaymentMethodId":123}`, Short: `Get transaction details for a gift certificate and lock it for redemption in a specific batch`, Long: `Get transaction details for a gift certificate and lock it for redemption in a specific batch.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Unlock"); test { err = tq.Do(_tq, _tq.Post.GiftCertificatesUnlock) } else { err = tq.Do(_tq, _tq.Post.GiftCertificatesTransactionDetailsForRedemption) } return }, }
var Post_HoldCodeCategories_cmd = &cobra.Command{ Use: `HoldCodeCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Hold Code Category`, Long: `Create a new Hold Code Category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.HoldCodeCategoriesCreate) return }, }
var Post_HoldCodeUserGroups_cmd = &cobra.Command{ Use: `HoldCodeUserGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "HoldCode":{"Id":123}, "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string"}`, Short: `Create a new hold code/user group mapping`, Long: `Create a new hold code/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.HoldCodeUserGroupsCreate) return }, }
var Post_HoldCodes_cmd = &cobra.Command{ Use: `HoldCodes`, Example: `{"BlackoutIndicator":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Legend":"string", "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a Hold Code`, Long: `Create a Hold Code.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.HoldCodesCreate) return }, }
var Post_InactiveReasons_cmd = &cobra.Command{ Use: `InactiveReasons`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new inactive reason`, Long: `Create a new inactive reason.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.InactiveReasonsCreate) return }, }
var Post_IntegrationDefaults_cmd = &cobra.Command{ Use: `IntegrationDefaults`, Example: `{"AccessId":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultValue":"string", "Description":"string", "FieldName":"string", "Id":123, "Integration":{"Id":123}, "Organization":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Integration Default`, Long: `Create a new Integration Default.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.IntegrationDefaultsCreate) return }, }
var Post_Integrations_cmd = &cobra.Command{ Use: `Integrations`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new action type`, Long: `Create a new action type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.IntegrationsCreate) return }, }
var Post_InterestCategories_cmd = &cobra.Command{ Use: `InterestCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new interest category`, Long: `Create a new interest category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.InterestCategoriesCreate) return }, }
var Post_InterestTypes_cmd = &cobra.Command{ Use: `InterestTypes`, Example: `{"Category":{"Id":123}, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "SearchIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UsedIn":"string"}`, Short: `Create a new interest type`, Long: `Create a new interest type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.InterestTypesCreate) return }, }
var Post_Interests_cmd = &cobra.Command{ Use: `Interests`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "InterestType":{"Id":123}, "Selected":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Weight":123}`, Short: `Create a new interest associating an interest type to a constituent`, Long: `Create a new interest associating an interest type to a constituent. For bulk interest edits, consider the CRM/Interests/CreateOrUpdate batching resource which allows multiple interests to be created, updated, or removed in a single request.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Or"); test { err = tq.Do(_tq, _tq.Post.InterestsCreateOrUpdate) } else { err = tq.Do(_tq, _tq.Post.InterestsCreate) } return }, }
var Post_Internal_cmd = &cobra.Command{ Use: `Internal`, Example: `{"AddressType":{"Id":123}, "AffiliatedConstituent":{"Id":123}, "AllowTelemarketing1":true, "AllowTelemarketing2":true, "AllowTelemarketing3":true, "AltSalutationType":{"Id":123}, "City":"string", "Constituent":{"Id":123}, "Country":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DayEveningIndicator1":"string", "DayEveningIndicator2":"string", "DayEveningIndicator3":"string", "DeliveryPoint":"string", "EditIndicator":true, "EditIndicator1":true, "EditIndicator2":true, "EditIndicator3":true, "EndDate":"2000-01-01T00:00:00.000Z", "GeoArea":123, "Id":123, "Inactive":true, "Label":true, "Months":"string", "NcoaAction":123, "NcoaSession":123, "PhoneId1":123, "PhoneId2":123, "PhoneId3":123, "PhoneNumber1":"string", "PhoneNumber1Formatted":"string", "PhoneNumber2":"string", "PhoneNumber2Formatted":"string", "PhoneNumber3":"string", "PhoneNumber3Formatted":"string", "PhoneSearch1":"string", "PhoneSearch2":"string", "PhoneSearch3":"string", "PostalCode":"string", "PostalCodeFormatted":"string", "PrimaryIndicator":true, "StartDate":"2000-01-01T00:00:00.000Z", "State":{"Id":123}, "Street1":"string", "Street2":"string", "Street3":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UpdatedDateTime1":"2000-01-01T00:00:00.000Z", "UpdatedDateTime2":"2000-01-01T00:00:00.000Z", "UpdatedDateTime3":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new address along with the phones and attach all the phones to the address`, Long: `Create a new address along with the phones and attach all the phones to the address. By default first phone is of phone type 1, second phone is of phone type 2 and third phone is of phone type 3.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.InternalCreate) return }, }
var Post_InventoryContactPermissionTypes_cmd = &cobra.Command{ Use: `InventoryContactPermissionTypes`, Example: `{"ContactPermissionType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ProductionElementId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create an inventoryContactPermissionType`, Long: `Create an inventoryContactPermissionType.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.InventoryContactPermissionTypesCreate) return }, }
var Post_InventoryWebContents_cmd = &cobra.Command{ Use: `InventoryWebContents`, Example: `{"ContentType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ProductionElementId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Value":"string"}`, Short: `Create an inventoryWebContent`, Long: `Create an inventoryWebContent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.InventoryWebContentsCreate) return }, }
var Post_InvoiceBilling_cmd = &cobra.Command{ Use: `InvoiceBilling`, Example: `{"AppealId":123, "BatchTypeId":123, "BillingTypeId":123, "BusinessUnitId":123, "CutoffDateTime":"2000-01-01T00:00:00.000Z", "ElectronicAddressPurposeId":123, "ElectronicAddressTypeId":123, "EndDateTime":"2000-01-01T00:00:00.000Z", "InvoiceEndDateTime":"2000-01-01T00:00:00.000Z", "InvoiceStartDateTime":"2000-01-01T00:00:00.000Z", "IsLabel":true, "ListId":123, "MailDateTime":"2000-01-01T00:00:00.000Z", "MailTypeId":123, "MaxNumberOfBillsToPrint":123, "MediaTypeId":123, "MinAmount":123.456, "MinNumberOfBillsToPrint":123, "NewSourceDescription":"string", "PaymentMethodGroupId":123, "PaymentMethodId":123, "RespectElectronicAddressMarketingFlag":true, "SalutationTypeId":123, "ShouldCollectAll":true, "ShouldUpdate":true, "StartDateTime":"2000-01-01T00:00:00.000Z", "UserId":"string"}`, Short: `Invoice billing`, Long: `Invoice billing`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.InvoiceBillingBillInvoices) return }, }
var Post_Issues_cmd = &cobra.Command{ Use: `Issues`, Example: `{"ActivityType":{"Id":123}, "Constituent":{"Id":123}, "ContactType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "HasReminder":true, "Id":123, "IssueDate":"2000-01-01T00:00:00.000Z", "Notes":"string", "Origin":{"Id":123}, "PackageId":123, "PerformanceId":123, "ResolvedIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UrgentIndicator":true}`, Short: `Create an issue for a Constituent`, Long: `Create an issue for a Constituent`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.IssuesCreate) return }, }
var Post_KeywordCategories_cmd = &cobra.Command{ Use: `KeywordCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new keyword category`, Long: `Create a new keyword category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.KeywordCategoriesCreate) return }, }
var Post_Keywords_cmd = &cobra.Command{ Use: `Keywords`, Example: `{"Category":{"Id":123}, "ConstituentType":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CustomDefaultValue":"string", "CustomId":123, "CustomLimit":123, "CustomRequired":true, "DataType":"string", "Description":"string", "DetailColumn":"string", "DetailTable":"string", "EditIndicator":true, "EditMask":"string", "ExtendedDescription":"string", "FrequentUpdateDate":"2000-01-01T00:00:00.000Z", "HelpText":"string", "Id":123, "KeyColumn":"string", "KeywordUse":"string", "MultipleValue":true, "ParentKeyColumn":"string", "ParentTable":"string", "PrimaryGroupDefault":"string", "ReferenceDescriptionColumn":"string", "ReferenceIdColumn":"string", "ReferenceSort":"string", "ReferenceTable":"string", "ReferenceWhere":"string", "SortOrder":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseForSearch":true, "ValuesCodedIndicator":true}`, Short: `Create a new keyword`, Long: `Create a new keyword.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.KeywordsCreate) return }, }
var Post_Languages_cmd = &cobra.Command{ Use: `Languages`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new language`, Long: `Create a new language.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.LanguagesCreate) return }, }
var Post_ListCategories_cmd = &cobra.Command{ Use: `ListCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new list category`, Long: `Create a new list category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ListCategoriesCreate) return }, }
var Post_Lists_cmd = &cobra.Command{ Use: `Lists`, Example: `{"AffiliatedIndividuals":123, "AnalyticsIndicator":true, "Category":{"Id":123}, "ConstituentCount":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Criteria":[{"Id":123}, ...], "Description":"string", "EditIndicator":true, "EditMode":"string", "Generate":true, "Households":123, "Id":123, "Inactive":true, "Individuals":123, "IsDynamic":true, "LastUsedDateTime":"2000-01-01T00:00:00.000Z", "ListSql":"string", "Organizations":123, "OutputSet":{"Id":123}, "RelationshipOptions":{"AffiliatedGroupInactive":true, "AffiliatedGroupTypes":"string", "AffiliatedGroupUseDates":true, "AffiliatedIndividualInactive":true, "AffiliatedIndividualTypes":"string", "AffiliatedIndividualUseDates":true, "AssociatedInactive":true, "AssociatedTypes":"string", "AssociatedUseDates":true, "CreateLocation":"string", "CreatedBy":"string", "KeepOrReplaceOriginal":"string", "ReplaceIndividuals":"string", "UpdatedBy":"string"}, "TMSIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a List`, Long: `Create a List.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Generate"); test { err = tq.Do(_tq, _tq.Post.ListsGenerate) } else if test, _ := cmd.Flags().GetBool("Results"); test { err = tq.Do(_tq, _tq.Post.ListsResults) } else if test, _ := cmd.Flags().GetBool("Search"); test { err = tq.Do(_tq, _tq.Post.ListsSearch) } else { err = tq.Do(_tq, _tq.Post.ListsCreate) } return }, }
var Post_LoginTypes_cmd = &cobra.Command{ Use: `LoginTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new login type`, Long: `Create a new login type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.LoginTypesCreate) return }, }
var Post_MachineSettings_cmd = &cobra.Command{ Use: `MachineSettings`, Example: `{"CardReaderHost":"string", "CardReaderPort":123, "CardReaderType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Inactive":true, "MerchantId":"string", "PXStation":"string", "PXUserKey":"string", "PXUserName":"string", "TessituraPaymentsPosDevice":"string", "TessituraPaymentsPosDeviceModel":"string", "TnspaySoftwareTerminal":true, "TriPOSCloudConfiguration":{"Id":123}, "TriposLane":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "WorkstationName":"string"}`, Short: `Create a new Machine Setting`, Long: `Create a new Machine Setting.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.MachineSettingsCreate) return }, }
var Post_MailIndicators_cmd = &cobra.Command{ Use: `MailIndicators`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new mail indicator`, Long: `Create a new mail indicator.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.MailIndicatorsCreate) return }, }
var Post_MediaTypes_cmd = &cobra.Command{ Use: `MediaTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "GenerateCost":123.456, "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new media type`, Long: `Create a new media type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.MediaTypesCreate) return }, }
var Post_MembershipLevelCategories_cmd = &cobra.Command{ Use: `MembershipLevelCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new membership level category`, Long: `Create a new membership level category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.MembershipLevelCategoriesCreate) return }, }
var Post_Memberships_cmd = &cobra.Command{ Use: `Memberships`, Example: `{"CalcCampaignId":123, "CalcConstituentId":123, "CalcContributionAmount":123.456, "CalcContributionDate":"2000-01-01T00:00:00.000Z", "CalcExpirationDate":"2000-01-01T00:00:00.000Z", "CalcInitialDate":"2000-01-01T00:00:00.000Z", "CrediteeId":123, "DeclineBenefits":"string", "MembershipLevelOverride":"string", "MembershipOrganizationId":123, "RealOrMirror":"string", "RenewUpgradeIndicator":"string"}`, Short: `This returns a result of calculated changes to a constituent membership`, Long: `This returns a result of calculated changes to a constituent membership. This resource makes no actual changes and only returns calculated membership data for information purposes. NOTE: As part of the upcoming changes to membership functionality, this resource will change significantly in an upcoming major Tessitura release and likely break code that references it. Please make a note that code that references it will need to be revisited as part of that upgrade process.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.MembershipsCalculate) return }, }
var Post_ModeOfSaleCategories_cmd = &cobra.Command{ Use: `ModeOfSaleCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Sequence":123, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new mode of sale category`, Long: `Create a new mode of sale category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ModeOfSaleCategoriesCreate) return }, }
var Post_ModeOfSaleOffers_cmd = &cobra.Command{ Use: `ModeOfSaleOffers`, Example: `{"AppealId":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "MaxSeats":123, "ModeOfSaleId":123, "OverrideDefaultPriceTypeIndicator":true, "PackageId":123, "PerformanceId":123, "PriceTypeId":123, "Rank":123, "SourceId":123, "StartDateTime":"2000-01-01T00:00:00.000Z", "Terms":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new mode of sale offer`, Long: `Create a new mode of sale offer.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ModeOfSaleOffersCreate) return }, }
var Post_ModeOfSalePriceTypes_cmd = &cobra.Command{ Use: `ModeOfSalePriceTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "Id":123, "ModeOfSale":{"Id":123}, "PriceType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new mode of sale price type`, Long: `Create a new mode of sale price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ModeOfSalePriceTypesCreate) return }, }
var Post_ModeOfSaleSurveyQuestions_cmd = &cobra.Command{ Use: `ModeOfSaleSurveyQuestions`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ModeOfSale":{"Id":123}, "Question":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new mode of sale survey question`, Long: `Create a new mode of sale survey question.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ModeOfSaleSurveyQuestionsCreate) return }, }
var Post_ModeOfSaleUserGroups_cmd = &cobra.Command{ Use: `ModeOfSaleUserGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "Id":123, "ModeOfSale":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string"}`, Short: `Create a new mode of sale/user group mapping`, Long: `Create a new mode of sale/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ModeOfSaleUserGroupsCreate) return }, }
var Post_ModesOfSale_cmd = &cobra.Command{ Use: `ModesOfSale`, Example: `{"AllowUnseatedPaidInd":true, "Category":{"Id":123}, "CategoryRequired":true, "ClearSourceNoInd":true, "ClearSourceOnReload":true, "ConfirmationMode":true, "ConstLinkRequired":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultAckFormatId":123, "DefaultChannelId":123, "DefaultDeliveryMethodId":123, "DefaultHeaderFormatId":123, "DefaultSalesLayoutId":123, "Description":"string", "EditDate":true, "EditSourceOnReload":true, "GeneralPublicInd":true, "HaboDays":123, "HaboForeign":true, "HoldUntilDate":"2000-01-01T00:00:00.000Z", "HoldUntilDays":123, "HoldUntilMethod":"string", "Id":123, "Inactive":true, "MustBePaidInd":true, "MustBeSeatedInd":true, "MustBeTicketedInd":true, "PricingRuleSetId":123, "SampleForGeneralPublic":123, "SampleForKnownConstituent":123, "SliAutoDeleteInd":true, "StartPkgOrPerf":"string", "SubsSummaryRequired":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new mode of sale`, Long: `Create a new mode of sale.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ModesOfSaleCreate) return }, }
var Post_NScanAccessAreas_cmd = &cobra.Command{ Use: `NScanAccessAreas`, Example: `{"AreaCode":"string", "ConstituencyIds":"string", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Inactive":true, "KeywordId":123, "KeywordValue":"string", "ListId":123, "MaxEntries":123, "MembershipLevelIds":"string", "PerformanceIds":"string", "PriceTypeIds":"string", "PriceZoneIds":"string", "PromptQuantity":true, "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new NScan Access Area`, Long: `Create a new NScan Access Area.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.NScanAccessAreasCreate) return }, }
var Post_NameStatuses_cmd = &cobra.Command{ Use: `NameStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new name status`, Long: `Create a new name status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.NameStatusesCreate) return }, }
var Post_ObjectPermissions_cmd = &cobra.Command{ Use: `ObjectPermissions`, Example: `{"ApplicationObject":{"Id":123}, "CanCreate":"string", "CanDelete":"string", "CanEdit":"string", "CanView":"string", "Constituency":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroup":{"Id":"string"}}`, Short: `Create a new object permission`, Long: `Create a new object permission.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ObjectPermissionsCreate) return }, }
var Post_OrderBilling_cmd = &cobra.Command{ Use: `OrderBilling`, Example: `{"AppealId":123, "BatchTypeId":123, "BillingTypeId":123, "CutoffDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "ListId":123, "MaxNumberOfBillsToPrint":123, "MediaTypeId":123, "MinAmount":123.456, "MinNumberOfBillsToPrint":123, "ModesOfSale":"string", "NewSourceDescription":"string", "OrderEndDateTime":"2000-01-01T00:00:00.000Z", "OrderStartDateTime":"2000-01-01T00:00:00.000Z", "PaymentMethodGroupId":123, "PerformanceEndDateTime":"2000-01-01T00:00:00.000Z", "PerformanceStartDateTime":"2000-01-01T00:00:00.000Z", "Seasons":"string", "ShouldUpdate":true, "StartDateTime":"2000-01-01T00:00:00.000Z", "UserId":"string"}`, Short: `Order billing`, Long: `Order billing`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.OrderBillingBillOrders) return }, }
var Post_OrderCategories_cmd = &cobra.Command{ Use: `OrderCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new order category`, Long: `Create a new order category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.OrderCategoriesCreate) return }, }
var Post_Orders_cmd = &cobra.Command{ Use: `Orders`, Example: `{"AcceptingRollovers":true, "AccountId":123, "AltAddressId":123, "AltElectronicAddressId":123, "AppealId":123, "AppliedMessageRules":"string", "BatchId":123, "BusinessUnitId":123, "CategoryId":123, "ChannelId":123, "ConstituentId":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Custom0":"string", "Custom1":"string", "Custom2":"string", "Custom3":"string", "Custom4":"string", "Custom5":"string", "Custom6":"string", "Custom7":"string", "Custom8":"string", "Custom9":"string", "DeliveryDate":"2000-01-01T00:00:00.000Z", "DeliveryMethodId":123, "HoldUntilDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "InitiatorId":123, "LineItems":[{"Id":123}, ...], "Messages":[{"Id":123}, ...], "MirrorLock":123, "ModeOfSaleId":123, "Notes":"string", "OrderDateTime":"2000-01-01T00:00:00.000Z", "ReloadPricingRules":true, "Solicitor":"string", "SourceId":123, "TotalDue":123.456, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "VirtualConstituencies":"string"}`, Short: `This resource is currently only for interceptor plugin use`, Long: `This resource is currently only for interceptor plugin use. This is called any time a new order is saved via the API or from the client application. Only OrderId is provided in the request content. This resource will be invoked from a cart checkout.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("OrdersForDelivery"); test { err = tq.Do(_tq, _tq.Post.OrdersGetOrdersForDelivery) } else if test, _ := cmd.Flags().GetBool("Price"); test { err = tq.Do(_tq, _tq.Post.OrdersPrice) } else if test, _ := cmd.Flags().GetBool("PrintTicketElements"); test { err = tq.Do(_tq, _tq.Post.OrdersPrintTicketElements) } else { err = tq.Do(_tq, _tq.Post.OrdersCreate) } return }, }
var Post_Organizations_cmd = &cobra.Command{ Use: `Organizations`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "LicenseeAccountCode":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new organization`, Long: `Create a new organization.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.OrganizationsCreate) return }, }
var Post_OriginalSources_cmd = &cobra.Command{ Use: `OriginalSources`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new original source`, Long: `Create a new original source.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.OriginalSourcesCreate) return }, }
var Post_Origins_cmd = &cobra.Command{ Use: `Origins`, Example: `{"ActivityType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new origin`, Long: `Create a new origin.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.OriginsCreate) return }, }
var Post_OutputSets_cmd = &cobra.Command{ Use: `OutputSets`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "ElementGroups":[{"IncludePrimaryAffiliation":true, "IsSingleRow":true, "KeywordId":123}, ...], "Id":123, "LastUsedDateTime":"2000-01-01T00:00:00.000Z", "TMSIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create an Output Set`, Long: `Create an Output Set.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.OutputSetsCreate) return }, }
var Post_PackagePriceTypes_cmd = &cobra.Command{ Use: `PackagePriceTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "PackageId":123, "PriceTypeId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new package price type`, Long: `Create a new package price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PackagePriceTypesCreate) return }, }
var Post_PackageTypes_cmd = &cobra.Command{ Use: `PackageTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new package type`, Long: `Create a new package type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PackageTypesCreate) return }, }
var Post_PackageWebContents_cmd = &cobra.Command{ Use: `PackageWebContents`, Example: `{"ContentType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "PackageId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Value":"string"}`, Short: `Create a packageWebContent`, Long: `Create a packageWebContent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PackageWebContentsCreate) return }, }
var Post_Packages_cmd = &cobra.Command{ Use: `Packages`, Example: `{"ArtistIds":"string", "BusinessUnitId":123, "ConstituentId":123, "FullTextSearch":"string", "MatchAllPerformances":true, "ModeOfSaleId":123, "PackageEndDate":"2000-01-01T00:00:00.000Z", "PackageFacilityIds":"string", "PackageKeywordAndOr":"string", "PackageKeywordIds":"string", "PackageStartDate":"2000-01-01T00:00:00.000Z", "PackageTypeIds":"string", "PerformanceEndDate":"2000-01-01T00:00:00.000Z", "PerformanceFacilityIds":"string", "PerformanceKeywordAndOr":"string", "PerformanceKeywordIds":"string", "PerformanceStartDate":"2000-01-01T00:00:00.000Z", "SeasonIds":"string"}`, Short: `Search for packages`, Long: `Search for packages`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PackagesSearch) return }, }
var Post_PaymentComponent_cmd = &cobra.Command{ Use: `PaymentComponent`, Example: `{"Amount":123.456, "CardBrandsToInclude":["", ...], "ComponentVersion":"string", "ConstituentId":123, "MerchantId":"string", "ShowStoredCards":true}`, Short: `This request is used to configure a transaction and retrieve the JavaScript location for implementing the Tessitura Merchant Services Payment Component`, Long: `This request is used to configure a transaction and retrieve the JavaScript location for implementing the Tessitura Merchant Services Payment Component. For complete documentation on how to implement the Payment Component, please visit https://bitbucket.org/TN_WebShare/tessituramerchantservicesintegrationsample`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PaymentComponentGetPaymentComponent) return }, }
var Post_PaymentGatewayAccounts_cmd = &cobra.Command{ Use: `PaymentGatewayAccounts`, Example: `{"ConstituentId":123, "ReferenceNumber":"string"}`, Short: `Generate a payment card token from a ReferenceNumber obtained from a previous Authorization request (Vantiv only)`, Long: `Generate a payment card token from a ReferenceNumber obtained from a previous Authorization request (Vantiv only)`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("StoreToken"); test { err = tq.Do(_tq, _tq.Post.PaymentGatewayAccountsStoreToken) } else { err = tq.Do(_tq, _tq.Post.PaymentGatewayAccountsCreateAccount) } return }, }
var Post_PaymentGatewayActivities_cmd = &cobra.Command{ Use: `PaymentGatewayActivities`, Example: `{"AccountId":123, "AccountNumber":"string", "ActivityData":"string", "Amount":123.456, "AuthCode":"string", "AvsAddress":"string", "AvsPostalcode":"string", "AvsResultCode":"string", "BalanceAmount":123.456, "BalanceCurrencyCode":"string", "ConstituentId":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CvvResultCode":"string", "EcommerceIndicator":"string", "EmvApplicationIdentifier":"string", "EmvApplicationName":"string", "EmvCryptogram":"string", "EmvHostResponseCode":"string", "EmvHostResponseMessage":"string", "EmvPinVerified":"string", "EntryMethod":"string", "ExpirationDate":"string", "Id":123, "MerchantId":"string", "Name":"string", "NetworkTransactionId":"string", "Origin":"string", "PaymentGatewayTransactionType":{"Id":123}, "PaymentId":123, "PaymentMethodGroupId":123, "PaymentMethodId":123, "ProviderCommunicationDurationMs":123, "ProviderTransactionDateTime":"2000-01-01T00:00:00.000Z", "ReferenceNumber":"string", "ResponseCode":"string", "ResponseMessage":"string", "Success":"string", "TerminalIdentifier":"string", "TotalDurationMs":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserData":"string"}`, Short: `Create a new Payment Gateway Activity`, Long: `Create a new Payment Gateway Activity`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PaymentGatewayActivitiesCreate) return }, }
var Post_PaymentGatewayCredentials_cmd = &cobra.Command{ Use: `PaymentGatewayCredentials`, Example: `{"ConstituentId":123, "MerchantId":"string"}`, Short: ``, Long: ``, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PaymentGatewayCredentialsGetCredential) return }, }
var Post_PaymentGatewayNotifications_cmd = &cobra.Command{ Use: `PaymentGatewayNotifications`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EventType":"string", "Id":123, "Payload":"string", "ProcessedDate":"2000-01-01T00:00:00.000Z", "ReceivedDate":"2000-01-01T00:00:00.000Z", "Reference":"string", "Topic":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new notification event`, Long: `Create a new notification event.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PaymentGatewayNotificationsCreateNotificationEvent) return }, }
var Post_PaymentGatewayTransactionTypes_cmd = &cobra.Command{ Use: `PaymentGatewayTransactionTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Payment Gateway Transaction Type`, Long: `Create a new Payment Gateway Transaction Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PaymentGatewayTransactionTypesCreate) return }, }
var Post_PaymentMethodGroups_cmd = &cobra.Command{ Use: `PaymentMethodGroups`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "MerchantId":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new payment method group`, Long: `Create a new payment method group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PaymentMethodGroupsCreate) return }, }
var Post_PaymentMethodUserGroups_cmd = &cobra.Command{ Use: `PaymentMethodUserGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "IncomeIndicator":true, "MaxRefund":123.456, "PaymentMethod":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string"}`, Short: `Create a new payment method/user group mapping`, Long: `Create a new payment method/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PaymentMethodUserGroupsCreate) return }, }
var Post_PaymentMethods_cmd = &cobra.Command{ Use: `PaymentMethods`, Example: `{"AccountType":{"Id":123}, "AuthIndicator":true, "BusinessUnitId":123, "CanRefund":true, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CurrencyTypeId":123, "DefaultIndicator":true, "Description":"string", "GiftAidIndicator":true, "GlAccountId":"string", "Id":123, "Inactive":true, "Income":true, "MerchantId":"string", "MerchantIdForSwipe":"string", "NoCopiesOnAuth":123, "NoCopiesOnSave":123, "OpenCashDrawer":true, "PaymentMethodGroup":{"Id":123}, "PaymentType":{"Id":123}, "ReceiptFormatId":123, "RequireCheckIndicator":true, "RequireCvv":true, "RequirePostalCode":"string", "ShortDesc":"string", "StoreTenderedAmount":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseWithCardReader":true}`, Short: `Create a new payment method`, Long: `Create a new payment method.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PaymentMethodsCreate) return }, }
var Post_PaymentSignatures_cmd = &cobra.Command{ Use: `PaymentSignatures`, Example: `{"Id":123}`, Short: `Create a new payment signature`, Long: `Create a new payment signature.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("PostForOrder"); test { err = tq.Do(_tq, _tq.Post.PaymentSignaturesPostForOrder) } else { err = tq.Do(_tq, _tq.Post.PaymentSignaturesCreate) } return }, }
var Post_PaymentTypes_cmd = &cobra.Command{ Use: `PaymentTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new payment type`, Long: `Create a new payment type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PaymentTypesCreate) return }, }
var Post_Payments_cmd = &cobra.Command{ Use: `Payments`, Example: `{"Increment":123}`, Short: `Reserves a payment id generated per the request's required "increment" parameter`, Long: `Reserves a payment id generated per the request's required "increment" parameter. Increment number must be greater than 0.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PaymentsReserveIds) return }, }
var Post_PerformanceGroups_cmd = &cobra.Command{ Use: `PerformanceGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "DisplayByZone":true, "Facility":{"Id":123}, "FixedSeatIndicator":true, "Id":123, "Season":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ZoneMap":{"Id":123}}`, Short: `Create a new Performance Group`, Long: `Create a new Performance Group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PerformanceGroupsCreate) return }, }
var Post_PerformancePackageModeOfSales_cmd = &cobra.Command{ Use: `PerformancePackageModeOfSales`, Example: `{"AutoAttend":"string", "ETicketReleaseDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ModeOfSaleId":123, "PackageId":123, "PerformanceId":123, "PrintIndicator":true, "PrintOnAutoAttend":true, "SeatIndicator":true, "StartDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new performance package mode of sale`, Long: `Create a new performance package mode of sale.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PerformancePackageModeOfSalesCreate) return }, }
var Post_PerformancePriceLayers_cmd = &cobra.Command{ Use: `PerformancePriceLayers`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultDesignationCodeId":123, "DefaultGlAccountId":123, "DefaultResaleAccountId":123, "Description":"string", "EffectiveDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "PerformanceId":123, "PerformancePriceTypes":[{"Id":123}, ...], "PriceLayerType":{"Id":123}, "TemplateId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new performance price layer`, Long: `Create a new performance price layer.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("PostSummaries"); test { err = tq.Do(_tq, _tq.Post.PerformancePriceLayersPostSummaries) } else if test, _ := cmd.Flags().GetBool("Search"); test { err = tq.Do(_tq, _tq.Post.PerformancePriceLayersSearch) } else if test, _ := cmd.Flags().GetBool("SearchSummaries"); test { err = tq.Do(_tq, _tq.Post.PerformancePriceLayersSearchSummaries) } else { err = tq.Do(_tq, _tq.Post.PerformancePriceLayersCreate) } return }, }
var Post_PerformancePriceTypes_cmd = &cobra.Command{ Use: `PerformancePriceTypes`, Example: `{"BaseIndicator":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DesignationCodeId":123, "EffectiveDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "GlAccountId":123, "Id":123, "IsWithinDateRange":true, "PerformanceId":123, "PerformancePriceLayerId":123, "PerformancePrices":[{"Id":123}, ...], "PriceTypeId":123, "ResaleAccountId":123, "StartDateTime":"2000-01-01T00:00:00.000Z", "TicketDesignId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new performance price type`, Long: `Create a new performance price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PerformancePriceTypesCreate) return }, }
var Post_PerformancePrices_cmd = &cobra.Command{ Use: `PerformancePrices`, Example: `{"EditIndicator":true, "EffectiveDateTime":"2000-01-01T00:00:00.000Z", "Enabled":true, "HasEvents":true, "Id":123, "IsPriceBasedOnCurrentEvent":true, "MinPrice":123.456, "PerformanceId":123, "PerformancePriceTypeId":123, "Price":123.456, "ZoneId":123}`, Short: `Create a new performance price`, Long: `Create a new performance price.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PerformancePricesCreate) return }, }
var Post_PerformanceStatuses_cmd = &cobra.Command{ Use: `PerformanceStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new performance status`, Long: `Create a new performance status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PerformanceStatusesCreate) return }, }
var Post_PerformanceTypes_cmd = &cobra.Command{ Use: `PerformanceTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ValidCountryList":"string"}`, Short: `Create a new performance type`, Long: `Create a new performance type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PerformanceTypesCreate) return }, }
var Post_Performances_cmd = &cobra.Command{ Use: `Performances`, Example: `{"PerformanceID":"string", "HoldCodeId":123, "HoldUntilDate":"2000-01-01T00:00:00.000Z", "ReplaceMode":123, "SeatID":"string"}`, Short: `Apply a single hold on a performance seat`, Long: `Apply a single hold on a performance seat.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Copy"); test { err = tq.Do(_tq, _tq.Post.PerformancesCopy) } else if test, _ := cmd.Flags().GetBool("Reschedule"); test { err = tq.Do(_tq, _tq.Post.PerformancesReschedule) } else if test, _ := cmd.Flags().GetBool("Search"); test { err = tq.Do(_tq, _tq.Post.PerformancesSearch) } else if test, _ := cmd.Flags().GetBool("SeatHolds"); test { err = tq.Do(_tq, _tq.Post.PerformancesUpdateSeatHolds) } else { err = tq.Do(_tq, _tq.Post.PerformancesApplySingleHold) } return }, }
var Post_PhilanthropyTypes_cmd = &cobra.Command{ Use: `PhilanthropyTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new philosophy type`, Long: `Create a new philosophy type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PhilanthropyTypesCreate) return }, }
var Post_Philanthropy_cmd = &cobra.Command{ Use: `Philanthropy`, Example: `{"Activity":"string", "Amount":123.456, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DonatedTo":"string", "DonatedToConstituent":{"Id":123}, "DonationDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "PhilanthropyType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create an philanthropyEntry for a constituent`, Long: `Create an philanthropyEntry for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PhilanthropyCreate) return }, }
var Post_PhoneIndicators_cmd = &cobra.Command{ Use: `PhoneIndicators`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new phone indicator`, Long: `Create a new phone indicator.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PhoneIndicatorsCreate) return }, }
var Post_PhoneTypes_cmd = &cobra.Command{ Use: `PhoneTypes`, Example: `{"AllowMarketing":true, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DayEveningIndicator":"string", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new phone type`, Long: `Create a new phone type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PhoneTypesCreate) return }, }
var Post_Phones_cmd = &cobra.Command{ Use: `Phones`, Example: `{"Address":{"Id":123}, "AllowTelemarketing":true, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DayEveningIndicator":"string", "EditIndicator":true, "Id":123, "Inactive":true, "PhoneFormatted":"string", "PhoneNumber":"string", "PhoneSearch":"string", "PhoneType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new phone`, Long: `Create a new phone.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PhonesCreate) return }, }
var Post_PlanPriorities_cmd = &cobra.Command{ Use: `PlanPriorities`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Ranking":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new plan priority`, Long: `Create a new plan priority.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PlanPrioritiesCreate) return }, }
var Post_PlanSources_cmd = &cobra.Command{ Use: `PlanSources`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new plan source`, Long: `Create a new plan source.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PlanSourcesCreate) return }, }
var Post_PlanStatuses_cmd = &cobra.Command{ Use: `PlanStatuses`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Rank":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new plan status`, Long: `Create a new plan status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PlanStatusesCreate) return }, }
var Post_PlanTypes_cmd = &cobra.Command{ Use: `PlanTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new plan type`, Long: `Create a new plan type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PlanTypesCreate) return }, }
var Post_PlanWorkers_cmd = &cobra.Command{ Use: `PlanWorkers`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "Plan":{"Id":123}, "PrimaryIndicator":true, "Role":{"Id":123}, "ShowInPortfolio":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Worker":{"Id":123}}`, Short: `Create a new plan worker`, Long: `Create a new plan worker.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PlanWorkersCreate) return }, }
var Post_Plans_cmd = &cobra.Command{ Use: `Plans`, Example: `{"AskAmount":123.456, "Campaign":{"Id":123}, "CompleteByDateTime":"2000-01-01T00:00:00.000Z", "Constituent":{"Id":123}, "ContributionAmount":123.456, "ContributionDesignation":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CustomDataItems":[{"DataType":"string", "Description":"string", "EditIndicator":true, "Index":123, "IsDropdown":true, "KeywordId":123, "Name":"string", "Value":"string"}, ...], "EditIndicator":true, "Fund":{"Id":123}, "GoalAmount":123.456, "HasOpenSteps":true, "HasSteps":true, "Id":123, "LastStepDate":"2000-01-01T00:00:00.000Z", "LastStepType":{"Id":123}, "LastWorkerDisplayName":"string", "NextStepDate":"2000-01-01T00:00:00.000Z", "NextStepType":{"Id":123}, "Notes":"string", "OriginalSource":{"Id":123}, "PlanAssociates":"string", "PrimaryWorker":{"Id":123}, "Priority":{"Id":123}, "Probability":123.456, "RecordedAmount":123.456, "StartDateTime":"2000-01-01T00:00:00.000Z", "Status":{"Id":123}, "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new plan`, Long: `Create a new plan.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PlansCreate) return }, }
var Post_PledgeBilling_cmd = &cobra.Command{ Use: `PledgeBilling`, Example: `{"AcknowledgementLetterId":123, "AppealId":123, "BatchTypeId":123, "BillingTypeId":123, "CampaignId":123, "CutoffDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "FundIds":"string", "IsLabel":true, "ListId":123, "MailDateTime":"2000-01-01T00:00:00.000Z", "MailTypeId":123, "MaxNumberOfBillsToPrint":123, "MediaTypeId":123, "MinAmount":123.456, "MinNumberOfBillsToPrint":123, "NewSourceDescription":"string", "PaymentMethodGroupId":123, "SalutationTypeId":123, "ShouldUpdate":true, "StartDateTime":"2000-01-01T00:00:00.000Z", "UserId":"string"}`, Short: `This is not intended for use outside of the Tessitura application`, Long: `This is not intended for use outside of the Tessitura application. There is no standard way to return billing details for a run. For a given campaign, funds, bill types etc., It raises bills for all those scheduled payments that have due date between given start and end dates. It also checks to see that a bill was not raised after a given 'cut off date'.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PledgeBillingBillPledges) return }, }
var Post_PortfolioCustomElements_cmd = &cobra.Command{ Use: `PortfolioCustomElements`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataType":123, "Description":"string", "Id":123, "Inactive":true, "SqlQuery":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new portfolio custom element`, Long: `Create a new portfolio custom element.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PortfolioCustomElementsCreate) return }, }
var Post_Prefixes_cmd = &cobra.Command{ Use: `Prefixes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new prefix`, Long: `Create a new prefix.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PrefixesCreate) return }, }
var Post_Premieres_cmd = &cobra.Command{ Use: `Premieres`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new premiere`, Long: `Create a new premiere.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PremieresCreate) return }, }
var Post_PriceCategories_cmd = &cobra.Command{ Use: `PriceCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Rank":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new price category`, Long: `Create a new price category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PriceCategoriesCreate) return }, }
var Post_PriceLayerTypes_cmd = &cobra.Command{ Use: `PriceLayerTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "ExcludeFromRules":true, "Id":123, "Inactive":true, "PriceCategory":{"Id":123}, "Rank":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new price layer type`, Long: `Create a new price layer type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PriceLayerTypesCreate) return }, }
var Post_PriceTemplates_cmd = &cobra.Command{ Use: `PriceTemplates`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultDesignationCode":{"Id":123}, "DefaultGlAccount":{"Id":123}, "DefaultPriceLayerType":{"Id":123}, "DefaultResaleAccount":{"Id":123}, "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Name":"string", "PriceCategory":{"Id":123}, "TemplatePriceTypes":[{"Id":123}, ...], "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ZoneMap":{"Id":123}}`, Short: `Create a new price template`, Long: `Create a new price template.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PriceTemplatesCreate) return }, }
var Post_PriceTypeCategories_cmd = &cobra.Command{ Use: `PriceTypeCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new price type category`, Long: `Create a new price type category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PriceTypeCategoriesCreate) return }, }
var Post_PriceTypeGroups_cmd = &cobra.Command{ Use: `PriceTypeGroups`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new price type group`, Long: `Create a new price type group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PriceTypeGroupsCreate) return }, }
var Post_PriceTypeReasons_cmd = &cobra.Command{ Use: `PriceTypeReasons`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "ShortDescription":"string", "TicketText":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new price type reason`, Long: `Create a new price type reason.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PriceTypeReasonsCreate) return }, }
var Post_PriceTypeUserGroups_cmd = &cobra.Command{ Use: `PriceTypeUserGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "PriceType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string"}`, Short: `Create a new price typ/user group mapping`, Long: `Create a new price typ/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PriceTypeUserGroupsCreate) return }, }
var Post_PriceTypes_cmd = &cobra.Command{ Use: `PriceTypes`, Example: `{"AliasDescription":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultTicketDesign":{"Id":123}, "Description":"string", "EditIndicator":true, "EditableIndicator":true, "Id":123, "Inactive":true, "PriceTypeCategory":{"Id":123}, "PriceTypeGroup":{"Id":123}, "ReasonIndicator":true, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new price type`, Long: `Create a new price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PriceTypesCreate) return }, }
var Post_PricingRuleCategories_cmd = &cobra.Command{ Use: `PricingRuleCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new pricing rule category`, Long: `Create a new pricing rule category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PricingRuleCategoriesCreate) return }, }
var Post_PricingRuleMessageTypes_cmd = &cobra.Command{ Use: `PricingRuleMessageTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new pricing rule message type`, Long: `Create a new pricing rule message type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PricingRuleMessageTypesCreate) return }, }
var Post_PricingRuleSets_cmd = &cobra.Command{ Use: `PricingRuleSets`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Rules":[{"Id":123}, ...], "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new pricing rule set`, Long: `Create a new pricing rule set.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PricingRuleSetsCreate) return }, }
var Post_PricingRules_cmd = &cobra.Command{ Use: `PricingRules`, Example: `{"Appeals":"string", "ApplyOncePerOrder":true, "ApplyToLowestCommonNumberOfSeats":true, "Constituencies":"string", "ConstituentAttribute":123, "ConstituentAttributeOperator":{"Id":123}, "ConstituentAttributeValue1":"string", "ConstituentAttributeValue2":"string", "ConstituentExclusionListId":123, "ConstituentListId":123, "ConstituentRankType":123, "ConstituentRankingOperator":{"Id":123}, "ConstituentRankingValue1":123, "ConstituentRankingValue2":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "DiscountAmount":123.456, "DiscountIsPercent":true, "DiscountPercentRound":123, "DiscountPriceTypeId":123, "EditIndicator":true, "EndDateTime":"2000-01-01T00:00:00.000Z", "ExcludeGeneralPublic":true, "Id":123, "Inactive":true, "MaxSeats":123, "Messages":[{"Id":123}, ...], "OverTheLimitDateTime":"2000-01-01T00:00:00.000Z", "PromotedAppeals":"string", "PromotedSources":"string", "QualifyingPackage":"string", "QualifyingPerformance":"string", "QualifyingPriceType1":"string", "QualifyingPriceType2":"string", "QualifyingProductionSeason":"string", "QualifyingSeasonPackageType":"string", "QualifyingSeatCount1Value1":123, "QualifyingSeatCount1Value2":123, "QualifyingSeatCount2Value1":123, "QualifyingSeatCount2Value2":123, "QualifyingZone":"string", "RespectMinimumPrice":true, "ResultMaximumSeats":123, "ResultMaximumSeats2":123, "ResultPackage":"string", "ResultPerformance":"string", "ResultPriceType":"string", "ResultProductionSeason":"string", "ResultSeasonPackageType":"string", "ResultSeatCount":123, "ResultZone":"string", "RuleAction":123, "RuleCategory":{"Id":123}, "RuleType":{"Id":123}, "Sources":"string", "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new pricing rule`, Long: `Create a new pricing rule.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PricingRulesCreate) return }, }
var Post_Printers_cmd = &cobra.Command{ Use: `Printers`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "MaxCol":123, "MaxRow":123, "MaxX2val":123, "MaxY2val":123, "Type":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new printer`, Long: `Create a new printer.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PrintersCreate) return }, }
var Post_ProductionSeasonMembershipOrganizations_cmd = &cobra.Command{ Use: `ProductionSeasonMembershipOrganizations`, Example: `{"AllowMultipleEntry":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "MembershipOrganization":{"Id":123}, "ProductionSeason":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new production season membership organization`, Long: `Create a new production season membership organization.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ProductionSeasonMembershipOrganizationsCreate) return }, }
var Post_ProductionSeasons_cmd = &cobra.Command{ Use: `ProductionSeasons`, Example: `{"ArtistIds":"string", "BusinessUnitId":123, "ConstituentId":123, "FacilityIds":"string", "FullTextSearch":"string", "KeywordAndOr":"string", "KeywordIds":"string", "MatchAllPerformances":true, "ModeOfSaleId":123, "PerformanceEndDate":"2000-01-01T00:00:00.000Z", "PerformanceStartDate":"2000-01-01T00:00:00.000Z", "SeasonIds":"string"}`, Short: `Search for production seasons`, Long: `Search for production seasons Returns production seasons matching the specified search criteria.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ProductionSeasonsSearch) return }, }
var Post_Products_cmd = &cobra.Command{ Use: `Products`, Example: `{"PackageIds":"string", "PackageTypeIds":"string", "PerformanceIds":"string", "ProductionSeasonIds":"string"}`, Short: `Get product descriptions`, Long: `Get product descriptions`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Search"); test { err = tq.Do(_tq, _tq.Post.ProductsSearch) } else { err = tq.Do(_tq, _tq.Post.ProductsDescribe) } return }, }
var Post_ProgramListings_cmd = &cobra.Command{ Use: `ProgramListings`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DonationLevel":{"Id":123}, "EditIndicator":true, "Id":123, "ProgramName":"string", "ProgramType":{"Id":123}, "SortName":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new program listing`, Long: `Create a new program listing.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ProgramListingsCreate) return }, }
var Post_Programs_cmd = &cobra.Command{ Use: `Programs`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new program`, Long: `Create a new program.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ProgramsCreate) return }, }
var Post_Pronouns_cmd = &cobra.Command{ Use: `Pronouns`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: ``, Long: ``, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.PronounsCreate) return }, }
var Post_QualificationCategories_cmd = &cobra.Command{ Use: `QualificationCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Qualification Category`, Long: `Create a new Qualification Category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.QualificationCategoriesCreate) return }, }
var Post_Qualifications_cmd = &cobra.Command{ Use: `Qualifications`, Example: `{"Category":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Qualification`, Long: `Create a new Qualification.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.QualificationsCreate) return }, }
var Post_QueryElementFilters_cmd = &cobra.Command{ Use: `QueryElementFilters`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataType":123, "Description":"string", "EndOfDay":true, "FilterElement":"string", "Group":{"Id":123}, "Id":123, "ReferenceDescriptionColumn":"string", "ReferenceIdColumn":"string", "ReferenceSort":"string", "ReferenceTable":"string", "ReferenceWhere":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a query element filter`, Long: `Create a query element filter.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.QueryElementFiltersCreate) return }, }
var Post_QueryElementGroups_cmd = &cobra.Command{ Use: `QueryElementGroups`, Example: `{"Category":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataFrom":"string", "DataWhere":"string", "Description":"string", "Id":123, "IsVirtual":true, "NumberOfParameters":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new query element group`, Long: `Create a new query element group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.QueryElementGroupsCreate) return }, }
var Post_QueryElements_cmd = &cobra.Command{ Use: `QueryElements`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataSelect":"string", "Description":"string", "Group":{"Id":123}, "Id":123, "Inactive":true, "IsSingleRow":true, "KeywordId":123, "PrimaryGroupDefault":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new query element`, Long: `Create a new query element.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.QueryElementsCreate) return }, }
var Post_RankTypes_cmd = &cobra.Command{ Use: `RankTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new rank type`, Long: `Create a new rank type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.RankTypesCreate) return }, }
var Post_Rankings_cmd = &cobra.Command{ Use: `Rankings`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "Rank":123, "RankType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new ranking`, Long: `Create a new ranking.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.RankingsCreate) return }, }
var Post_ReceiptSettings_cmd = &cobra.Command{ Use: `ReceiptSettings`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EmailFooter":"string", "EmailHeader":"string", "EmailSubject":"string", "Id":123, "Inactive":true, "PrintFooter":"string", "PrintHeader":"string", "ReceiptEmailProfile":{"Id":123}, "TicketEmailProfile":{"Id":123}, "TicketEmailSubject":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Receipt Setting`, Long: `Create a new Receipt Setting.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ReceiptSettingsCreate) return }, }
var Post_RecordAttendance_cmd = &cobra.Command{ Use: `RecordAttendance`, Example: `{"OverrideDoorsOpen":true, "ProfileId":123, "TicketNo":123}`, Short: `Records attendance for a given ticket number`, Long: `Records attendance for a given ticket number.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.RecordAttendanceRecordTicket) return }, }
var Post_ReferenceTableUserGroups_cmd = &cobra.Command{ Use: `ReferenceTableUserGroups`, Example: `{"CanEdit":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ReferenceTable":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string"}`, Short: `Create a new reference table/user group mapping`, Long: `Create a new reference table/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ReferenceTableUserGroupsCreate) return }, }
var Post_Registration_cmd = &cobra.Command{ Use: `Registration`, Example: `{"Address":{"AddressTypeId":123, "City":"string", "CountryId":123, "PostalCode":"string", "StateId":"string", "Street1":"string", "Street2":"string", "Street3":"string"}, "Affiliates":[{"AffiliationTypeId":123, "ConstituentTypeId":123, "FirstName":"string", "LastName":"string", "MiddleName":"string", "NameIndicator":123, "NameStatusId":123, "Note":"string", "SortName":"string", "Title":"string"}, ...], "ConstituentTypeId":123, "ElectronicAddress":{"Address":"string", "AllowHtmlFormat":true, "AllowMarketing":true, "ElectronicAddressTypeId":123}, "EmarketIndicatorId":123, "FirstName":"string", "GenderId":123, "LastName":"string", "MailIndicatorId":123, "MiddleName":"string", "NameStatusId":123, "OriginalSourceId":123, "PhoneIndicatorId":123, "Phones":[{"AllowTelemarketing":true, "DayEveningIndicator":"string", "PhoneNumber":"string", "PhoneTypeId":123}, ...], "PrefixId":123, "Salutation":{"BusinessTitle":"string", "EnvelopeSalutation1":"string", "EnvelopeSalutation2":"string", "LetterSalutation":"string", "SalutationTypeId":123}, "SortName":"string", "SourceId":123, "SuffixId":123, "WebLogin":{"Login":"string", "LoginTypeId":123, "Password":"string"}, "SessionKey":"string"}`, Short: `This is a combined resource for registering a new constituent with logging into the current session`, Long: `This is a combined resource for registering a new constituent with logging into the current session. This resource combines a workflow of multiple API actions into a single request. This is primarily designed for creating a constituent with a primary electronic address, a primary login, and logging into the session using the provide login. Creates a new constituent and login. Affiliates can be specified for the constituent to create a household account. The login must be unique for the login type. The electronic address for this constituent must be primary. The primary indicator on ElectronicAddress is unused in this request. The session will be logged in with the new login after successful registration.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.RegistrationRegister) return }, }
var Post_RelationshipCategories_cmd = &cobra.Command{ Use: `RelationshipCategories`, Example: `{"CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new relationship category`, Long: `Create a new relationship category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.RelationshipCategoriesCreate) return }, }
var Post_ReportRequests_cmd = &cobra.Command{ Use: `ReportRequests`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DeletedIndicator":true, "EmailBody":"string", "EmailRecipients":"string", "EmailSubject":"string", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "OutputOption":"string", "Parameters":[{"ParameterId":123, "ReportId":"string", "RequestId":123, "Value":"string"}, ...], "PublicIndicator":true, "QueueStatus":"string", "ReportId":"string", "ReportType":123, "RequestDateTime":"2000-01-01T00:00:00.000Z", "ResultCode":"string", "ResultText":"string", "ScheduleId":123, "Type":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "UserId":"string"}`, Short: `Creates the report request`, Long: `Creates the report request.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("GenerateScheduled"); test { err = tq.Do(_tq, _tq.Post.ReportRequestsGenerateScheduled) } else { err = tq.Do(_tq, _tq.Post.ReportRequestsCreate) } return }, }
var Post_ReportSchedules_cmd = &cobra.Command{ Use: `ReportSchedules`, Example: `{"DayOfWeek":123, "DayWeekNumber":123, "EndDate":"2000-01-01T00:00:00.000Z", "EndTime":"2000-01-01T00:00:00.000Z", "Interval":123, "StartDate":"2000-01-01T00:00:00.000Z", "StartTime":"2000-01-01T00:00:00.000Z", "Type":"string"}`, Short: `Verify the next run for a schedule's recurrence pattern by passing the pattern`, Long: `Verify the next run for a schedule's recurrence pattern by passing the pattern. Returns its calculated next run date/time.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Save"); test { err = tq.Do(_tq, _tq.Post.ReportSchedulesSave) } else { err = tq.Do(_tq, _tq.Post.ReportSchedulesCalculateNextRun) } return }, }
var Post_ReportUserGroups_cmd = &cobra.Command{ Use: `ReportUserGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ReportId":"string", "RunRight":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "ViewRight":"string"}`, Short: `Create a new report/user group mapping`, Long: `Create a new report/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ReportUserGroupsCreate) return }, }
var Post_Reports_cmd = &cobra.Command{ Use: `Reports`, Example: `{"ParameterName":"string", "ReportId":"string", "WhereDependencies":[{"ParameterId":"string"}, ...]}`, Short: `Get parameter values for a report parameter`, Long: `Get parameter values for a report parameter.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ReportsGetParameterValues) return }, }
var Post_ResearchTypes_cmd = &cobra.Command{ Use: `ResearchTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new research type`, Long: `Create a new research type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ResearchTypesCreate) return }, }
var Post_Research_cmd = &cobra.Command{ Use: `Research`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "ResearchDate":"2000-01-01T00:00:00.000Z", "ResearchSource":"string", "ResearchType":{"Id":123}, "Researcher":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a research entry for a constituent`, Long: `Create a research entry for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ResearchCreate) return }, }
var Post_ResourceCategories_cmd = &cobra.Command{ Use: `ResourceCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Resource Category`, Long: `Create a new Resource Category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ResourceCategoriesCreate) return }, }
var Post_ResourceSchedules_cmd = &cobra.Command{ Use: `ResourceSchedules`, Example: `{"BookingAssignmentId":123, "ConstituentId":123, "Count":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "OverrideConflicts":true, "RecurrenceDayOfWeek":"string", "RecurrenceEndDate":"2000-01-01T00:00:00.000Z", "RecurrenceInterval":123, "RecurrenceOrdinal":123, "RecurrencePattern":123, "ResourceId":123, "StartDateTime":"2000-01-01T00:00:00.000Z", "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a Busy or Available resource schedule`, Long: `Create a Busy or Available resource schedule. Booking Assignment Schedules must be created in a booking.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ResourceSchedulesCreate) return }, }
var Post_ResourceTypes_cmd = &cobra.Command{ Use: `ResourceTypes`, Example: `{"CanBeShared":true, "Category":{"Id":123}, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "HasCapacity":true, "Id":123, "Inactive":true, "RequireAvailability":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new resource type`, Long: `Create a new resource type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ResourceTypesCreate) return }, }
var Post_Resources_cmd = &cobra.Command{ Use: `Resources`, Example: `{"Capacity":123, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultConfirmationText":"string", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Notes":"string", "ResourceType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a Resource`, Long: `Create a Resource.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("FindAvailableResources"); test { err = tq.Do(_tq, _tq.Post.ResourcesFindAvailableResources) } else if test, _ := cmd.Flags().GetBool("ScheduleOccurrences"); test { err = tq.Do(_tq, _tq.Post.ResourcesGetScheduleOccurrences) } else { err = tq.Do(_tq, _tq.Post.ResourcesCreate) } return }, }
var Post_SalesChannels_cmd = &cobra.Command{ Use: `SalesChannels`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new sales channel`, Long: `Create a new sales channel.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SalesChannelsCreate) return }, }
var Post_SalesLayoutButtonTypes_cmd = &cobra.Command{ Use: `SalesLayoutButtonTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new sales layout button type`, Long: `Create a new sales layout button type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SalesLayoutButtonTypesCreate) return }, }
var Post_SalesLayouts_cmd = &cobra.Command{ Use: `SalesLayouts`, Example: `{"Columns":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "PaymentMethods":[{"Id":123}, ...], "PriceTypes":[{"Id":123}, ...], "PrimaryIndicator":true, "Rows":123, "SalesLayoutButtons":[{"Id":123}, ...], "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new sales layout setup`, Long: `Create a new sales layout setup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SalesLayoutsCreate) return }, }
var Post_SalutationTypes_cmd = &cobra.Command{ Use: `SalutationTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new salutation type`, Long: `Create a new salutation type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SalutationTypesCreate) return }, }
var Post_Salutations_cmd = &cobra.Command{ Use: `Salutations`, Example: `{"BusinessTitle":"string", "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "EditIndicator":true, "EnvelopeSalutation1":"string", "EnvelopeSalutation2":"string", "Id":123, "IsFromAffiliation":true, "Label":true, "LetterSalutation":"string", "SalutationType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new salutation`, Long: `Create a new salutation.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SalutationsCreate) return }, }
var Post_SchedulePatternTypes_cmd = &cobra.Command{ Use: `SchedulePatternTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Schedule Pattern`, Long: `Create a new Schedule Pattern.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SchedulePatternTypesCreate) return }, }
var Post_ScheduleTypes_cmd = &cobra.Command{ Use: `ScheduleTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Schedule Type`, Long: `Create a new Schedule Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ScheduleTypesCreate) return }, }
var Post_SeasonTypes_cmd = &cobra.Command{ Use: `SeasonTypes`, Example: `{"BusinessUnit":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new season type`, Long: `Create a new season type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SeasonTypesCreate) return }, }
var Post_Seasons_cmd = &cobra.Command{ Use: `Seasons`, Example: `{"ConfirmationNoticeFormat":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "Description":"string", "DisplayInSeasonOverview":true, "EndDateTime":"2000-01-01T00:00:00.000Z", "FYear":123, "Id":123, "Inactive":true, "RenewalNoticeFormat":123, "StartDateTime":"2000-01-01T00:00:00.000Z", "SubscriptionFund1":123, "SubscriptionFund2":123, "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "YearlySeason":123}`, Short: `Create a new season`, Long: `Create a new season.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SeasonsCreate) return }, }
var Post_SeatCodes_cmd = &cobra.Command{ Use: `SeatCodes`, Example: `{"BackColor":123, "Context":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "DisplayLetter":"string", "ForeColor":123, "Id":123, "Inactive":true, "IsSeat":123, "TicketText":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new seat code`, Long: `Create a new seat code.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SeatCodesCreate) return }, }
var Post_SeatStatuses_cmd = &cobra.Command{ Use: `SeatStatuses`, Example: `{"BackColor":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "ForeColor":123, "Id":123, "Inactive":true, "StatusCode":"string", "StatusLegend":"string", "StatusPriority":123, "Tck":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new seat status`, Long: `Create a new seat status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SeatStatusesCreate) return }, }
var Post_Sections_cmd = &cobra.Command{ Use: `Sections`, Example: `{"AdditionalText":"string", "AdditionalText2":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "PrintDesc":"string", "PrintSequence":123, "SectionLegend":"string", "ShortDesc":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new section`, Long: `Create a new section.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SectionsCreate) return }, }
var Post_ServiceResourceUserGroups_cmd = &cobra.Command{ Use: `ServiceResourceUserGroups`, Example: `{"CanCreate":true, "CanDelete":true, "CanRead":true, "CanUpdate":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ServiceResource":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string"}`, Short: `Create a new service resource/user group mapping`, Long: `Create a new service resource/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ServiceResourceUserGroupsCreate) return }, }
var Post_Session_cmd = &cobra.Command{ Use: `Session`, Example: `{"SessionKey":"string", "Name":"string", "Value":"string"}`, Short: `Add a new session variable to specified session`, Long: `Add a new session variable to specified session.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("BusinessFacingSession"); test { err = tq.Do(_tq, _tq.Post.SessionCreateBusinessFacingSession) } else if test, _ := cmd.Flags().GetBool("LoadOrder"); test { err = tq.Do(_tq, _tq.Post.SessionLoadOrder) } else if test, _ := cmd.Flags().GetBool("Login"); test { err = tq.Do(_tq, _tq.Post.SessionLogin) } else if test, _ := cmd.Flags().GetBool("LoginAsGuest"); test { err = tq.Do(_tq, _tq.Post.SessionLoginAsGuest) } else if test, _ := cmd.Flags().GetBool("LoginUsingConstituentInfo"); test { err = tq.Do(_tq, _tq.Post.SessionLoginUsingConstituentInfo) } else if test, _ := cmd.Flags().GetBool("LoginUsingEmail"); test { err = tq.Do(_tq, _tq.Post.SessionLoginUsingEmail) } else if test, _ := cmd.Flags().GetBool("LoginUsingExternal"); test { err = tq.Do(_tq, _tq.Post.SessionLoginUsingExternal) } else if test, _ := cmd.Flags().GetBool("LoginUsingToken"); test { err = tq.Do(_tq, _tq.Post.SessionLoginUsingToken) } else if test, _ := cmd.Flags().GetBool("Logout"); test { err = tq.Do(_tq, _tq.Post.SessionLogout) } else if test, _ := cmd.Flags().GetBool("PromoCode"); test { err = tq.Do(_tq, _tq.Post.SessionGetPromoCode) } else if test, _ := cmd.Flags().GetBool("Reprint"); test { err = tq.Do(_tq, _tq.Post.SessionReprint) } else if test, _ := cmd.Flags().GetBool("SendLoginCredentials"); test { err = tq.Do(_tq, _tq.Post.SessionSendLoginCredentials) } else if test, _ := cmd.Flags().GetBool("Session"); test { err = tq.Do(_tq, _tq.Post.SessionCreateSession) } else if test, _ := cmd.Flags().GetBool("TransferSession"); test { err = tq.Do(_tq, _tq.Post.SessionTransferSession) } else if test, _ := cmd.Flags().GetBool("WebLogin"); test { err = tq.Do(_tq, _tq.Post.SessionCreateWebLogin) } else { err = tq.Do(_tq, _tq.Post.SessionAddVariable) } return }, }
var Post_SourceGroups_cmd = &cobra.Command{ Use: `SourceGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new source group`, Long: `Create a new source group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SourceGroupsCreate) return }, }
var Post_SpecialActivities_cmd = &cobra.Command{ Use: `SpecialActivities`, Example: `{"ConstituentId":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Notes":"string", "NumberOfAttendees":123, "Performance":"string", "SpecialActivityDateTime":"2000-01-01T00:00:00.000Z", "Status":{"Id":123}, "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "WorkerConstituentId":123}`, Short: `Create a new activity record`, Long: `Create a new activity record.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SpecialActivitiesCreate) return }, }
var Post_SpecialActivityStatuses_cmd = &cobra.Command{ Use: `SpecialActivityStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Special Activity Status`, Long: `Create a new Special Activity Status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SpecialActivityStatusesCreate) return }, }
var Post_SpecialActivityTypes_cmd = &cobra.Command{ Use: `SpecialActivityTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Special Activity Type`, Long: `Create a new Special Activity Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SpecialActivityTypesCreate) return }, }
var Post_States_cmd = &cobra.Command{ Use: `States`, Example: `{"Country":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "StateCode":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new state`, Long: `Create a new state.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.StatesCreate) return }, }
var Post_StepTypes_cmd = &cobra.Command{ Use: `StepTypes`, Example: `{"AllowAttachments":"string", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseAssociate":"string", "UseCompletedOnDateTime":"string", "UseDueDateTime":"string", "UseNote":"string", "UseWarningDays":"string", "UseWorker":"string"}`, Short: `Create a new step type`, Long: `Create a new step type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.StepTypesCreate) return }, }
var Post_Steps_cmd = &cobra.Command{ Use: `Steps`, Example: `{"Associate":{"Id":123}, "CompletedOnDateTime":"2000-01-01T00:00:00.000Z", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "DueDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "NewValue":"string", "Notes":"string", "OldValue":"string", "Plan":{"Id":123}, "Priority":123, "StepDateTime":"2000-01-01T00:00:00.000Z", "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "WarningDays":123, "Worker":{"Id":123}}`, Short: `Create a new step`, Long: `Create a new step.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("AddDocument"); test { err = tq.Do(_tq, _tq.Post.StepsAddDocument) } else { err = tq.Do(_tq, _tq.Post.StepsCreate) } return }, }
var Post_SubLineItemStatuses_cmd = &cobra.Command{ Use: `SubLineItemStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Priority":123, "StatusCode":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new sub line item status`, Long: `Create a new sub line item status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SubLineItemStatusesCreate) return }, }
var Post_Suffixes_cmd = &cobra.Command{ Use: `Suffixes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new suffix`, Long: `Create a new suffix.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SuffixesCreate) return }, }
var Post_SurveyQuestions_cmd = &cobra.Command{ Use: `SurveyQuestions`, Example: `{"AskType":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataType":123, "DefaultValue":"string", "Id":123, "Inactive":true, "Question":"string", "ReferenceTable":"string", "ReferenceTableDescriptionColumn":"string", "ReferenceTableIdColumn":"string", "ReferenceTableSort":"string", "ReferenceTableWhereClause":"string", "Required":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new survey question`, Long: `Create a new survey question.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SurveyQuestionsCreate) return }, }
var Post_SurveyResponses_cmd = &cobra.Command{ Use: `SurveyResponses`, Example: `{"Answer":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "OrderId":123, "QuestionId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new survey response`, Long: `Create a new survey response.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.SurveyResponsesCreate) return }, }
var Post_TemplateCategories_cmd = &cobra.Command{ Use: `TemplateCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new template category`, Long: `Create a new template category`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.TemplateCategoriesCreate) return }, }
var Post_TemplatePriceTypes_cmd = &cobra.Command{ Use: `TemplatePriceTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DesignationCode":{"Id":123}, "GlAccount":{"Id":123}, "Id":123, "PriceTemplate":{"Id":123}, "PriceType":{"Id":123}, "ResaleAccount":{"Id":123}, "TemplatePrices":[{"Id":123}, ...], "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new template price type`, Long: `Create a new template price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Batch"); test { err = tq.Do(_tq, _tq.Post.TemplatePriceTypesBatchCreate) } else { err = tq.Do(_tq, _tq.Post.TemplatePriceTypesCreate) } return }, }
var Post_TemplatePrices_cmd = &cobra.Command{ Use: `TemplatePrices`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Enabled":true, "Id":123, "MinPrice":123.456, "Price":123.456, "TemplatePriceType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Zone":{"Id":123}}`, Short: `Create a new template price`, Long: `Create a new template price.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Batch"); test { err = tq.Do(_tq, _tq.Post.TemplatePricesBatchCreate) } else { err = tq.Do(_tq, _tq.Post.TemplatePricesCreate) } return }, }
var Post_Templates_cmd = &cobra.Command{ Use: `Templates`, Example: `{"Category":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "IsHtmlBody":true, "TemplateBody":"string", "TemplateSubject":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new template`, Long: `Create a new template`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("ConstituentInfo"); test { err = tq.Do(_tq, _tq.Post.TemplatesGetConstituentInfo) } else if test, _ := cmd.Flags().GetBool("LoginCredentials"); test { err = tq.Do(_tq, _tq.Post.TemplatesGetLoginCredentials) } else if test, _ := cmd.Flags().GetBool("OrderConfirmation"); test { err = tq.Do(_tq, _tq.Post.TemplatesGetOrderConfirmation) } else if test, _ := cmd.Flags().GetBool("RenderConstituentInfo"); test { err = tq.Do(_tq, _tq.Post.TemplatesRenderConstituentInfo) } else if test, _ := cmd.Flags().GetBool("RenderLoginCredentials"); test { err = tq.Do(_tq, _tq.Post.TemplatesRenderLoginCredentials) } else if test, _ := cmd.Flags().GetBool("RenderOrderConfirmation"); test { err = tq.Do(_tq, _tq.Post.TemplatesRenderOrderConfirmation) } else if test, _ := cmd.Flags().GetBool("RenderTickets"); test { err = tq.Do(_tq, _tq.Post.TemplatesRenderTickets) } else if test, _ := cmd.Flags().GetBool("Tickets"); test { err = tq.Do(_tq, _tq.Post.TemplatesGetTickets) } else { err = tq.Do(_tq, _tq.Post.TemplatesCreate) } return }, }
var Post_Theaters_cmd = &cobra.Command{ Use: `Theaters`, Example: `{"City":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataWindowDefinition":"string", "Description":"string", "DrivingDirections":"string", "Id":123, "Inactive":true, "MaximumNumberOfSeats":123, "Phone":"string", "PostalCode":"string", "State":"string", "Street":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new theater`, Long: `Create a new theater.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.TheatersCreate) return }, }
var Post_TimeSlots_cmd = &cobra.Command{ Use: `TimeSlots`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EndTime":"2000-01-01T00:00:00.000Z", "Id":123, "Inactive":true, "StartTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new time slot`, Long: `Create a new time slot.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.TimeSlotsCreate) return }, }
var Post_TriPOSCloudConfigurations_cmd = &cobra.Command{ Use: `TriPOSCloudConfigurations`, Example: `{"ConfigSetting":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new TriPOS Cloud configuration`, Long: `Create a new TriPOS Cloud configuration.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.TriPOSCloudConfigurationsCreate) return }, }
var Post_UpgradeCategories_cmd = &cobra.Command{ Use: `UpgradeCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new Upgrade Category`, Long: `Create a new Upgrade Category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.UpgradeCategoriesCreate) return }, }
var Post_UpgradeLogs_cmd = &cobra.Command{ Use: `UpgradeLogs`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "HotFixNumber":123, "Id":123, "ReleaseDescription":"string", "ScriptId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UpgradeCategorySummary":{"Id":123}, "Version":"string"}`, Short: `Saves the given upgradeLog`, Long: `Saves the given upgradeLog.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.UpgradeLogsCreate) return }, }
var Post_UserPreferences_cmd = &cobra.Command{ Use: `UserPreferences`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Key":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Value":"string"}`, Short: `Create a new user preference`, Long: `Create a new user preference.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("SaveBatch"); test { err = tq.Do(_tq, _tq.Post.UserPreferencesSaveBatch) } else { err = tq.Do(_tq, _tq.Post.UserPreferencesCreate) } return }, }
var Post_Users_cmd = &cobra.Command{ Use: `Users`, Example: `{"NewPassword":"string", "OldPassword":"string", "UserName":"string"}`, Short: `Allows for changing of a user's password`, Long: `Allows for changing of a user's password`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.UsersChangePassword) return }, }
var Post_ValidateWebLogin_cmd = &cobra.Command{ Use: `ValidateWebLogin`, Example: `{"LoginName":"string", "LoginTypeId":123, "Password":"string"}`, Short: `Validate a web login`, Long: `Validate a web login.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ValidateWebLoginCreate) return }, }
var Post_WebContentTypes_cmd = &cobra.Command{ Use: `WebContentTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditMask":"string", "FullTextSearchIndicator":true, "Id":123, "Inactive":true, "LastContentUseUpdateDateTime":"2000-01-01T00:00:00.000Z", "Limit":123, "ReferenceDescriptionColumn":"string", "ReferenceIdColumn":"string", "ReferenceSort":"string", "ReferenceTable":"string", "ReferenceWhere":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseWebApi":true}`, Short: `Create a Web Content Type`, Long: `Create a Web Content Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.WebContentTypesCreate) return }, }
var Post_WebLogins_cmd = &cobra.Command{ Use: `WebLogins`, Example: `{"Constituent":{"Id":123}, "ConstituentUpdateDate":"2000-01-01T00:00:00.000Z", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Email":{"Id":123}, "FailedAttempts":123, "Id":123, "Inactive":true, "LastLoginDate":"2000-01-01T00:00:00.000Z", "LockedDate":"2000-01-01T00:00:00.000Z", "Login":"string", "LoginType":{"Id":123}, "PrimaryIndicator":true, "TemporaryIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new weblogin`, Long: `Create a new weblogin.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.WebLoginsCreate) return }, }
var Post_WorkerQualifications_cmd = &cobra.Command{ Use: `WorkerQualifications`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Qualification":{"Id":123}, "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a WorkerQualification`, Long: `Create a WorkerQualification.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.WorkerQualificationsCreate) return }, }
var Post_WorkerRoles_cmd = &cobra.Command{ Use: `WorkerRoles`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "ShowInPortfolioDefault":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new worker role`, Long: `Create a new worker role.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.WorkerRolesCreate) return }, }
var Post_WorkerTypes_cmd = &cobra.Command{ Use: `WorkerTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new worker type`, Long: `Create a new worker type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.WorkerTypesCreate) return }, }
var Post_Workers_cmd = &cobra.Command{ Use: `Workers`, Example: `{"ConstituentId":123, "ConstituentInactive":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "FirstName":"string", "Id":123, "Inactive":true, "LastName":"string", "Prefix":{"Id":123}, "ShortDisplayName":"string", "SortName":"string", "Suffix":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "WorkerType":{"Id":123}}`, Short: `Create a new worker`, Long: `Create a new worker.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.WorkersCreate) return }, }
var Post_ZoneGroups_cmd = &cobra.Command{ Use: `ZoneGroups`, Example: `{"AliasDescription":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Rank":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new zone group`, Long: `Create a new zone group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ZoneGroupsCreate) return }, }
var Post_ZoneMaps_cmd = &cobra.Command{ Use: `ZoneMaps`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "SeatMap":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Create a new zone map`, Long: `Create a new zone map.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Post.ZoneMapsCreate) return }, }
var Post_Zones_cmd = &cobra.Command{ Use: `Zones`, Example: `{"Abbreviation":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EndTime":"string", "Id":123, "Rank":123, "ShortDescription":"string", "StartTime":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ZoneGroup":{"Id":123}, "ZoneLegend":"string", "ZoneMapId":123, "ZoneTime":"string"}`, Short: `Create a new zone`, Long: `Create a new zone.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Search"); test { err = tq.Do(_tq, _tq.Post.ZonesSearch) } else { err = tq.Do(_tq, _tq.Post.ZonesCreate) } return }, }
var Post_cmd = &cobra.Command{ Use: "create", Aliases: []string{"post", "create", "c"}, Short: "Create entities in Tessitura", }
var Put_AccountTypes_cmd = &cobra.Command{ Use: `AccountTypes`, Example: `{"CardLength":"string", "CardPrefix":"string", "CardtypeIndicator":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditMask":"string", "Id":123, "Inactive":true, "Mod10Indicator":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing account type`, Long: `Update an existing account type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AccountTypesUpdate) return }, }
var Put_Accounts_cmd = &cobra.Command{ Use: `Accounts`, Example: `{"AccountID":"string", "CardExpiryMonth":123, "CardExpiryYear":123, "Inactive":true, "Name":"string", "PaymentMethodGroupId":123, "TransactionOrigin":"string"}`, Short: `Update expiration date or name on a credit card account or token`, Long: `Update expiration date or name on a credit card account or token. Will also tokenize the credit card if tokenization is enabled. PaymentMethodGroupId is ignored if the account already has a PaymentMethodGroupId assigned. This value cannot be updated. If tokenizing a non-tokenized card, PaymentMethodGroupId is required if one has not already been assigned to the account.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("DirectDebitAccount"); test { err = tq.Do(_tq, _tq.Put.AccountsUpdateDirectDebitAccount) } else if test, _ := cmd.Flags().GetBool("SepaAccount"); test { err = tq.Do(_tq, _tq.Put.AccountsUpdateSepaAccount) } else { err = tq.Do(_tq, _tq.Put.AccountsUpdateCardNumberAccount) } return }, }
var Put_ActionTypes_cmd = &cobra.Command{ Use: `ActionTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "LetterIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing action type`, Long: `Update an existing action type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ActionTypesUpdate) return }, }
var Put_Actions_cmd = &cobra.Command{ Use: `Actions`, Example: `{"ActionID":"string", "ActionDate":"2000-01-01T00:00:00.000Z", "ActionType":{"Id":123}, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "Issue":{"Id":123}, "LetterPrintedDate":"2000-01-01T00:00:00.000Z", "Notes":"string", "Resolved":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Update an issue action for a Constituent`, Long: `Update an issue action for a Constituent`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ActionsUpdate) return }, }
var Put_ActivityCategories_cmd = &cobra.Command{ Use: `ActivityCategories`, Example: `{"AutoClose":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing activity category`, Long: `Update an existing activity category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ActivityCategoriesUpdate) return }, }
var Put_ActivityTypes_cmd = &cobra.Command{ Use: `ActivityTypes`, Example: `{"Category":{"Id":123}, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "PerfIndicator":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing activity type`, Long: `Update an existing activity type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ActivityTypesUpdate) return }, }
var Put_AddressTypes_cmd = &cobra.Command{ Use: `AddressTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing address type`, Long: `Update an existing address type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AddressTypesUpdate) return }, }
var Put_Addresses_cmd = &cobra.Command{ Use: `Addresses`, Example: `{"AddressType":{"Id":123}, "AffiliatedConstituent":{"Id":123}, "AltSalutationType":{"Id":123}, "City":"string", "Constituent":{"Id":123}, "Country":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DeliveryPoint":"string", "EditIndicator":true, "EndDate":"2000-01-01T00:00:00.000Z", "GeoArea":123, "Id":123, "Inactive":true, "IsFromAffiliation":true, "Label":true, "Months":"string", "NcoaAction":123, "NcoaSession":123, "PostalCode":"string", "PostalCodeFormatted":"string", "PrimaryIndicator":true, "StartDate":"2000-01-01T00:00:00.000Z", "State":{"Id":123}, "Street1":"string", "Street1Address":{"Number":"string", "Street":"string"}, "Street2":"string", "Street3":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "AddressID":"string"}`, Short: `Update an address for a Constituent by sending an XML or JSON representation of an existing Address object using HTTP PUT`, Long: `Update an address for a Constituent by sending an XML or JSON representation of an existing Address object using HTTP PUT.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AddressesUpdate) return }, }
var Put_AffiliationTypes_cmd = &cobra.Command{ Use: `AffiliationTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "IsAllowedToTransactDefault":true, "IsIncludedInSearchResultsDefault":true, "RelationshipCategory":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseSalary":true, "UseTitle":true, "ID":"string"}`, Short: `Update an existing affiliation type`, Long: `Update an existing affiliation type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AffiliationTypesUpdate) return }, }
var Put_Affiliations_cmd = &cobra.Command{ Use: `Affiliations`, Example: `{"AddressId":123, "AffiliatedName":"string", "AffiliationType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "ElectronicAddressId":123, "EndDate":"2000-01-01T00:00:00.000Z", "GroupConstituent":{"Id":123}, "GroupConstituentName":"string", "GroupConstituentSortName":"string", "Id":123, "Inactive":true, "IndividualConstituent":{"Id":123}, "IndividualConstituentName":"string", "IndividualConstituentSortName":"string", "IsAllowedToTransact":true, "IsIncludedInSearchResults":true, "NameIndicator":123, "Note":"string", "PrimaryIndicator":true, "Salary":123.456, "SalutationId":123, "StartDate":"2000-01-01T00:00:00.000Z", "Title":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "AffiliationID":"string"}`, Short: `Update an affiliation`, Long: `Update an affiliation.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AffiliationsUpdate) return }, }
var Put_AliasTypes_cmd = &cobra.Command{ Use: `AliasTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing alias type`, Long: `Update an existing alias type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AliasTypesUpdate) return }, }
var Put_Aliases_cmd = &cobra.Command{ Use: `Aliases`, Example: `{"AliasFirstName":"string", "AliasLastName":"string", "AliasType":{"Id":123}, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "AliasID":"string"}`, Short: `Update an alias`, Long: `Update an alias.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AliasesUpdate) return }, }
var Put_AnalyticsReports_cmd = &cobra.Command{ Use: `AnalyticsReports`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Division":{"Id":"string"}, "Id":123, "Inactive":true, "ReportPath":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "AnalyticsReportID":"string"}`, Short: `Update SSRS Reports for display in Analytics`, Long: `Update SSRS Reports for display in Analytics.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AnalyticsReportsUpdate) return }, }
var Put_AppScreenTexts_cmd = &cobra.Command{ Use: `AppScreenTexts`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Name":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Value":"string"}`, Short: `Create or update a new App Screen Text`, Long: `Create or update a new App Screen Text.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AppScreenTextsCreateOrUpdate) return }, }
var Put_AppealCategories_cmd = &cobra.Command{ Use: `AppealCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing appeal category`, Long: `Update an existing appeal category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AppealCategoriesUpdate) return }, }
var Put_Artists_cmd = &cobra.Command{ Use: `Artists`, Example: `{"Bio":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "FirstName":"string", "Id":123, "LastName":"string", "MiddleName":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "VoiceId":123, "ArtistID":"string"}`, Short: `Update an existing artist`, Long: `Update an existing artist.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ArtistsUpdate) return }, }
var Put_AssetTypes_cmd = &cobra.Command{ Use: `AssetTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing asset type`, Long: `Update an existing asset type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AssetTypesUpdate) return }, }
var Put_Assets_cmd = &cobra.Command{ Use: `Assets`, Example: `{"AcquisitionDateTime":"2000-01-01T00:00:00.000Z", "AssetType":{"Id":123}, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "EstimatedValue":123.456, "Id":123, "Notes":"string", "SaleDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "AssetID":"string"}`, Short: `Update an existing asset for a constituent`, Long: `Update an existing asset for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AssetsUpdate) return }, }
var Put_AssociationTypes_cmd = &cobra.Command{ Use: `AssociationTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "IsIncludedInSearchResultsDefault":true, "ReciprocalType":{"Id":123}, "RelationshipCategory":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseBirthDate":true, "UseGender":true, "ID":"string"}`, Short: `Update an existing association type`, Long: `Update an existing association type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AssociationTypesUpdate) return }, }
var Put_Associations_cmd = &cobra.Command{ Use: `Associations`, Example: `{"AssociatedConstituent":{"Id":123}, "AssociatedName":"string", "AssociationType":{"Id":123}, "BirthDate":"2000-01-01T00:00:00.000Z", "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "EndDate":"2000-01-01T00:00:00.000Z", "Gender":{"Id":123}, "Id":123, "Inactive":true, "IsIncludedInSearchResults":true, "Note":"string", "ReciprocalAssociation":{"Id":123}, "StartDate":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "AssociationID":"string"}`, Short: `Update a association`, Long: `Update a association.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AssociationsUpdate) return }, }
var Put_Attributes_cmd = &cobra.Command{ Use: `Attributes`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "Keyword":{"Id":123}, "KeywordConstituentType":{"Inactive":true, "Rank":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Value":"string", "AttributeID":"string"}`, Short: `Update an attribute`, Long: `Update an attribute.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AttributesUpdate) return }, }
var Put_Authorization_cmd = &cobra.Command{ Use: `Authorization`, Example: `{"PaymentID":"string"}`, Short: `NOTE: THIS IS FOR TESSITURA USE ONLY`, Long: `NOTE: THIS IS FOR TESSITURA USE ONLY. Custom implementations of this endpoint are not supported. Expire a payment link which has yet to be authorized or already expired. For Tessitura Merchant Services only.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.AuthorizationExpirePayByLink) return }, }
var Put_BatchTypeGroups_cmd = &cobra.Command{ Use: `BatchTypeGroups`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing batch type group`, Long: `Update an existing batch type group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.BatchTypeGroupsUpdate) return }, }
var Put_BatchTypes_cmd = &cobra.Command{ Use: `BatchTypes`, Example: `{"BatchTypeGroup":{"Id":123}, "BusinessUnit":{"Id":123}, "Category":123, "CntlIndicator":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing batch type`, Long: `Update an existing batch type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.BatchTypesUpdate) return }, }
var Put_BillingSchedules_cmd = &cobra.Command{ Use: `BillingSchedules`, Example: `{"BillAmounts":"string", "BillDates":"string", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "LongDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Billing Schedule`, Long: `Update an existing Billing Schedule.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.BillingSchedulesUpdate) return }, }
var Put_BillingTypes_cmd = &cobra.Command{ Use: `BillingTypes`, Example: `{"AutoBillingIndicator":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Billing Type`, Long: `Update an existing Billing Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.BillingTypesUpdate) return }, }
var Put_BookingCategories_cmd = &cobra.Command{ Use: `BookingCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Booking Category`, Long: `Update an existing Booking Category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.BookingCategoriesUpdate) return }, }
var Put_BookingTemplates_cmd = &cobra.Command{ Use: `BookingTemplates`, Example: `{"Assignments":[{"Id":123}, ...], "Category":{"Id":123}, "ConfirmationText":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Notes":"string", "OverrideTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "BookingTemplateID":"string"}`, Short: `Update an existing Booking Template`, Long: `Update an existing Booking Template`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.BookingTemplatesUpdate) return }, }
var Put_Bookings_cmd = &cobra.Command{ Use: `Bookings`, Example: `{"Assignments":[{"Id":123}, ...], "BookingSource":123, "Category":{"Id":123}, "ConfirmationText":"string", "Context":{}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultCount":123, "DefaultDateTime":"2000-01-01T00:00:00.000Z", "DefaultDuration":123, "Description":"string", "EditIndicator":true, "Id":123, "Notes":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "BookingID":"string"}`, Short: `Update an existing Booking`, Long: `Update an existing Booking`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.BookingsUpdate) return }, }
var Put_BulkCopySets_cmd = &cobra.Command{ Use: `BulkCopySets`, Example: `{"AvailableForSaleIndicator":true, "ControlGroup":{"Id":123}, "CopyCredits":true, "CopyNotes":true, "CopyOffers":true, "CopyPriceEvents":true, "CopyPrices":true, "CreateFriday":true, "CreateFromDateTime":"2000-01-01T00:00:00.000Z", "CreateLocation":"string", "CreateMode":"string", "CreateMonday":true, "CreateSaturday":true, "CreateSunday":true, "CreateThursday":true, "CreateToDateTime":"2000-01-01T00:00:00.000Z", "CreateTuesday":true, "CreateWednesday":true, "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultRelativeDates":"string", "Id":123, "Inactive":true, "OverrideOnSale":true, "PackageCode":"string", "PackageCodeSeed":123, "PackageModeOfSaleRelativeDates":"string", "PerformanceCode":"string", "PerformanceCodeSeed":123, "PerformanceDescription":"string", "PerformanceModeOfSaleRelativeDates":"string", "PerformanceStatus":{"Id":123}, "PerformanceTime":"string", "PerformanceType":{"Id":123}, "PriceEventRelativeDates":"string", "PriceTypeRelativeDates":"string", "ProductionSeason":{"Id":123}, "PublishRelativeDates":"string", "ReferenceDay":"2000-01-01T00:00:00.000Z", "ReferencePerformanceId":123, "ReferenceSeasonString":"string", "SetDescription":"string", "SetType":123, "ShortName":"string", "TimeSlot":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "BulkCopySetID":"string"}`, Short: `Updates an existing bulk copy set`, Long: `Updates an existing bulk copy set.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.BulkCopySetsUpdate) return }, }
var Put_BulkDailyCopyExclusions_cmd = &cobra.Command{ Use: `BulkDailyCopyExclusions`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DoNotCopy":true, "Id":123, "IncludeWithoutCopy":true, "PackageId":123, "PerformanceId":123, "SetId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "BulkDailyCopyExclusionID":"string"}`, Short: `Updates an existing bulk daily copy exclusion`, Long: `Updates an existing bulk daily copy exclusion.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.BulkDailyCopyExclusionsUpdate) return }, }
var Put_BusinessUnits_cmd = &cobra.Command{ Use: `BusinessUnits`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing business unit`, Long: `Update an existing business unit.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.BusinessUnitsUpdate) return }, }
var Put_CampaignDesignations_cmd = &cobra.Command{ Use: `CampaignDesignations`, Example: `{"Campaign":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "Designation":{"Id":123}, "EditIndicator":true, "GoalAmount":123.456, "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "CampaignDesignationID":"string"}`, Short: `Update an association between a Designation and a Campaign`, Long: `Update an association between a Designation and a Campaign.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.CampaignDesignationsUpdate) return }, }
var Put_CampaignFunds_cmd = &cobra.Command{ Use: `CampaignFunds`, Example: `{"Campaign":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "EndDateTime":"2000-01-01T00:00:00.000Z", "Fund":{"Id":123}, "GoalAmount":123.456, "Id":123, "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "CampaignFundID":"string"}`, Short: `Update a Fund association to a Campaign`, Long: `Update a Fund association to a Campaign.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.CampaignFundsUpdate) return }, }
var Put_CardReaderTypes_cmd = &cobra.Command{ Use: `CardReaderTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Card Reader Type`, Long: `Update an existing Card Reader Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.CardReaderTypesUpdate) return }, }
var Put_Cart_cmd = &cobra.Command{ Use: `Cart`, Example: `{"LineItemID":"string", "DiscountTypeId":123, "SessionKey":"string"}`, Short: `Applies a discounted price to all sub line items for a line item`, Long: `Applies a discounted price to all sub line items for a line item For packages, the discount can only be applied to package line items. The status field in the response will return as S if the discount can be used or E with a description of the error if the discount cannot be used.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("ApplySubLineItemDiscount"); test { err = tq.Do(_tq, _tq.Put.CartApplySubLineItemDiscount) } else if test, _ := cmd.Flags().GetBool("CartFlags"); test { err = tq.Do(_tq, _tq.Put.CartUpdateCartFlags) } else if test, _ := cmd.Flags().GetBool("CartProperties"); test { err = tq.Do(_tq, _tq.Put.CartUpdateCartProperties) } else if test, _ := cmd.Flags().GetBool("CartPropertiesCustomData"); test { err = tq.Do(_tq, _tq.Put.CartUpdateCartPropertiesCustomData) } else if test, _ := cmd.Flags().GetBool("ContributionCustomData"); test { err = tq.Do(_tq, _tq.Put.CartUpdateContributionCustomData) } else if test, _ := cmd.Flags().GetBool("LineItemPrice"); test { err = tq.Do(_tq, _tq.Put.CartUpdateLineItemPrice) } else if test, _ := cmd.Flags().GetBool("LineItemPriceType"); test { err = tq.Do(_tq, _tq.Put.CartUpdateLineItemPriceType) } else if test, _ := cmd.Flags().GetBool("LineItemSource"); test { err = tq.Do(_tq, _tq.Put.CartUpdateLineItemSource) } else if test, _ := cmd.Flags().GetBool("LineItemSpecialRequest"); test { err = tq.Do(_tq, _tq.Put.CartUpdateLineItemSpecialRequest) } else if test, _ := cmd.Flags().GetBool("PaymentPlan"); test { err = tq.Do(_tq, _tq.Put.CartUpdatePaymentPlan) } else if test, _ := cmd.Flags().GetBool("SubLineItemPrice"); test { err = tq.Do(_tq, _tq.Put.CartUpdateSubLineItemPrice) } else if test, _ := cmd.Flags().GetBool("SubLineItemPriceType"); test { err = tq.Do(_tq, _tq.Put.CartUpdateSubLineItemPriceType) } else if test, _ := cmd.Flags().GetBool("SubLineItemRecipient"); test { err = tq.Do(_tq, _tq.Put.CartUpdateSubLineItemRecipient) } else { err = tq.Do(_tq, _tq.Put.CartApplyLineItemDiscount) } return }, }
var Put_Colors_cmd = &cobra.Command{ Use: `Colors`, Example: `{"ColorValue":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing color`, Long: `Update an existing color.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ColorsUpdate) return }, }
var Put_Composers_cmd = &cobra.Command{ Use: `Composers`, Example: `{"Bio":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "FirstName":"string", "Id":123, "Inactive":true, "LastName":"string", "MiddleName":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing composer`, Long: `Update an existing composer.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ComposersUpdate) return }, }
var Put_Constituencies_cmd = &cobra.Command{ Use: `Constituencies`, Example: `{"ConstituencyType":{"Id":123}, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "EndDate":"2000-01-01T00:00:00.000Z", "Id":123, "StartDate":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ConstituencyID":"string"}`, Short: `Update a constituency`, Long: `Update a constituency.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ConstituenciesUpdate) return }, }
var Put_ConstituencyTypes_cmd = &cobra.Command{ Use: `ConstituencyTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Rank":123, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing constituency type`, Long: `Update an existing constituency type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ConstituencyTypesUpdate) return }, }
var Put_ConstituentDocuments_cmd = &cobra.Command{ Use: `ConstituentDocuments`, Example: `{"Category":{"Id":123}, "ConstituentId":123, "Contents":"AA==", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "FileName":"string", "Id":123, "Notes":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "DocumentID":"string"}`, Short: `Update an existing document for a constituent`, Long: `Update an existing document for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ConstituentDocumentsUpdate) return }, }
var Put_ConstituentGroups_cmd = &cobra.Command{ Use: `ConstituentGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing constituent group`, Long: `Update an existing constituent group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ConstituentGroupsUpdate) return }, }
var Put_ConstituentInactives_cmd = &cobra.Command{ Use: `ConstituentInactives`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing constituent inactive`, Long: `Update an existing constituent inactive.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ConstituentInactivesUpdate) return }, }
var Put_ConstituentProtectionTypes_cmd = &cobra.Command{ Use: `ConstituentProtectionTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing constituent protection type`, Long: `Update an existing constituent protection type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ConstituentProtectionTypesUpdate) return }, }
var Put_ConstituentTypeAffiliates_cmd = &cobra.Command{ Use: `ConstituentTypeAffiliates`, Example: `{"AffiliationType":{"Id":123}, "ConstituentType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "HouseholdPrimary":true, "Id":123, "Rank":123, "ShowWithGroup":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing constituent type affiliate`, Long: `Update an existing constituent type affiliate.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ConstituentTypeAffiliatesUpdate) return }, }
var Put_ConstituentTypes_cmd = &cobra.Command{ Use: `ConstituentTypes`, Example: `{"AddressTypeId":123, "ConstituentGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultAffiliatedConstituentTypeId":123, "DefaultAffiliationTypeId":123, "DefaultIndicator":true, "DefaultSalutationId":123, "Description":"string", "ElectronicAddressTypeId":123, "GiftAidIndicator":true, "Id":123, "Inactive":true, "LoginTypeId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing constituent type`, Long: `Update an existing constituent type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ConstituentTypesUpdate) return }, }
var Put_Constituents_cmd = &cobra.Command{ Use: `Constituents`, Example: `{"ConstituentType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DisplayName":"string", "EmarketIndicator":{"Id":123}, "FirstName":"string", "Gender":{"Id":123}, "Id":123, "Inactive":{"Id":123}, "InactiveReason":{"Id":123}, "LastActivityDate":"2000-01-01T00:00:00.000Z", "LastGiftDate":"2000-01-01T00:00:00.000Z", "LastName":"string", "LastTicketDate":"2000-01-01T00:00:00.000Z", "MailIndicator":{"Id":123}, "MiddleName":"string", "NameStatus":{"Id":123}, "OriginalSource":{"Id":123}, "PhoneIndicator":{"Id":123}, "Prefix":{"Id":123}, "ProtectionType":{"Id":123}, "SortName":"string", "Suffix":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ConstituentID":"string"}`, Short: `Update a constituent`, Long: `Update a constituent. Only the information about constituent can be updated. If addresses, electronicAddresses, salutations or phones data are passed, they will be ignored.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ConstituentsUpdate) return }, }
var Put_ContactPermissionCategories_cmd = &cobra.Command{ Use: `ContactPermissionCategories`, Example: `{"AskFrequencyMonths":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing contact permission category`, Long: `Update an existing contact permission category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContactPermissionCategoriesUpdate) return }, }
var Put_ContactPermissionTypes_cmd = &cobra.Command{ Use: `ContactPermissionTypes`, Example: `{"Category":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultValueForAdd":"string", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Presenter":true, "Rank":123, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing contact permission type`, Long: `Update an existing contact permission type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContactPermissionTypesUpdate) return }, }
var Put_ContactPermissions_cmd = &cobra.Command{ Use: `ContactPermissions`, Example: `{"Answer":"string", "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "LastAskedDateTime":"2000-01-01T00:00:00.000Z", "ShouldAsk":true, "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ContactPermissionID":"string"}`, Short: `Update a contact permission`, Long: `Update a contact permission`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContactPermissionsUpdate) return }, }
var Put_ContactPointCategories_cmd = &cobra.Command{ Use: `ContactPointCategories`, Example: `{"ContactPointKey":"string", "ContactPointTable":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing contact point category`, Long: `Update an existing contact point category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContactPointCategoriesUpdate) return }, }
var Put_ContactPointCategoryPurposes_cmd = &cobra.Command{ Use: `ContactPointCategoryPurposes`, Example: `{"ContactPointCategory":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Purpose":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing contact point category purpose`, Long: `Update an existing contact point category purpose.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContactPointCategoryPurposesUpdate) return }, }
var Put_ContactPointPurposeCategories_cmd = &cobra.Command{ Use: `ContactPointPurposeCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing contact point purpose category`, Long: `Update an existing contact point purpose category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContactPointPurposeCategoriesUpdate) return }, }
var Put_ContactPointPurposeMaps_cmd = &cobra.Command{ Use: `ContactPointPurposeMaps`, Example: `{"ContactPoint":{"Id":123}, "ContactPointCategory":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "Purpose":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ContactPointPurposeMapID":"string"}`, Short: `Update a contact point purpose`, Long: `Update a contact point purpose.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContactPointPurposeMapsUpdate) return }, }
var Put_ContactPointPurposes_cmd = &cobra.Command{ Use: `ContactPointPurposes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "PurposeCategory":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing contact point purpose`, Long: `Update an existing contact point purpose.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContactPointPurposesUpdate) return }, }
var Put_ContactTypes_cmd = &cobra.Command{ Use: `ContactTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing contact type`, Long: `Update an existing contact type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContactTypesUpdate) return }, }
var Put_ContributionDesignations_cmd = &cobra.Command{ Use: `ContributionDesignations`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "LetterText":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing contribution designation`, Long: `Update an existing contribution designation.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContributionDesignationsUpdate) return }, }
var Put_ContributionImportSets_cmd = &cobra.Command{ Use: `ContributionImportSets`, Example: `{"AccountMatchKeyword":{"Id":123}, "AcknowledgmentLetterMode":123, "BatchType":{"Id":123}, "BillingSchedule":{"Id":123}, "BillingType":{"Id":123}, "Campaign":{"Id":123}, "ContributionDateTime":"2000-01-01T00:00:00.000Z", "ContributionPayMode":123, "CreateLocation":"string", "CreatePotentialDuplicate":true, "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CrediteeMode":123, "CrediteeType":{"Id":123}, "DefaultConstituentType":{"Id":123}, "DefaultCountryCode":"string", "DefaultHouseholdConstituentType":{"Id":123}, "DefaultOriginalSource":{"Id":123}, "Description":"string", "Designation":{"Id":123}, "FilePath":"string", "FormatFile":"string", "Fund":{"Id":123}, "Id":123, "ImportRefNoLocation":123, "Inactive":true, "PaymentMethod":{"Id":123}, "SalesChannel":{"Id":123}, "Source":{"Id":123}, "StripPhoneFormatting":true, "TransactAsHousehold":true, "TransactAsHouseholdCreditee":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Worker":{"Id":123}, "ID":"string"}`, Short: `Update an existing contributionImportSet`, Long: `Update an existing contributionImportSet.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContributionImportSetsUpdate) return }, }
var Put_Contributions_cmd = &cobra.Command{ Use: `Contributions`, Example: `{"AccountId":123, "AppealId":123, "BatchId":123, "BillingAccount":"string", "BillingTypeId":123, "BusinessUnitId":123, "Campaign":{"Id":123}, "Cancel":"string", "Channel":{"Id":123}, "Constituent":{"Id":123}, "ContributionAmount":123.456, "ContributionDateTime":"2000-01-01T00:00:00.000Z", "ContributionDesignation":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Custom0":"string", "Custom1":"string", "Custom2":"string", "Custom3":"string", "Custom4":"string", "Custom5":"string", "Custom6":"string", "Custom7":"string", "Custom8":"string", "Custom9":"string", "EditIndicator":true, "Fund":{"Id":123}, "Id":123, "Initiator":{"Id":123}, "KindGiftDescription":"string", "KindGiftTransferDateTime":"2000-01-01T00:00:00.000Z", "MatchIndicator":"string", "MatchingContributionId":123, "MediaType":{"Id":123}, "MirrorLock":123, "Notes":"string", "PaymentEndDateTime":"2000-01-01T00:00:00.000Z", "PaymentStartDateTime":"2000-01-01T00:00:00.000Z", "Plan":{"Id":123}, "PledgeStatusId":123, "ReceivedAmount":123.456, "Solicitor":"string", "SourceId":123, "Type":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ContributionID":"string"}`, Short: `This resource is currently strictly for interceptor plugin use`, Long: `This resource is currently strictly for interceptor plugin use. This is called any time an existing contribution is updated from contribution editor in the client application. Only Id (ref_no) is provided in the request content.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ContributionsUpdate) return }, }
var Put_ControlGroupUserGroups_cmd = &cobra.Command{ Use: `ControlGroupUserGroups`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "EditIndicator":true, "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "ID":"string"}`, Short: `Update an existing control group/user group mapping`, Long: `Update an existing control group/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ControlGroupUserGroupsUpdate) return }, }
var Put_ControlGroups_cmd = &cobra.Command{ Use: `ControlGroups`, Example: `{"CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Permission":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing control group`, Long: `Update an existing control group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ControlGroupsUpdate) return }, }
var Put_Countries_cmd = &cobra.Command{ Use: `Countries`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DecimalSeparator":"string", "Description":"string", "Id":123, "Inactive":true, "IsoAlpha2Code":"string", "IsoAlpha3Code":"string", "PhoneCode":"string", "PhoneEditstring":"string", "PhoneMask":"string", "PhoneValidLengths":"string", "ReqCity":true, "ReqPcode":true, "ShortDesc":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseAvs":"string", "UseStateField":"string", "ZipEditstring":"string", "ZipMask":"string", "ZipValidLengths":"string", "ID":"string"}`, Short: `Update an existing country`, Long: `Update an existing country.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.CountriesUpdate) return }, }
var Put_CrediteeTypes_cmd = &cobra.Command{ Use: `CrediteeTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CreditMembershipIndicator":true, "Description":"string", "GiftAidIndicator":true, "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing crediteeType`, Long: `Update an existing crediteeType.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.CrediteeTypesUpdate) return }, }
var Put_CurrencyTypes_cmd = &cobra.Command{ Use: `CurrencyTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Rate":123.456, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing currency type`, Long: `Update an existing currency type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.CurrencyTypesUpdate) return }, }
var Put_CustomDefaultCategories_cmd = &cobra.Command{ Use: `CustomDefaultCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing custom default category`, Long: `Update an existing custom default category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.CustomDefaultCategoriesUpdate) return }, }
var Put_CustomDefaults_cmd = &cobra.Command{ Use: `CustomDefaults`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CustomDefaultCategory":{"Id":123}, "DefaultValue":"string", "Description":"string", "FieldName":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing custom default`, Long: `Update an existing custom default.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.CustomDefaultsUpdate) return }, }
var Put_DeliveryMethods_cmd = &cobra.Command{ Use: `DeliveryMethods`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "PrintAtHome":true, "RequireAddress":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing delivery method`, Long: `Update an existing delivery method.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.DeliveryMethodsUpdate) return }, }
var Put_DesignationCodes_cmd = &cobra.Command{ Use: `DesignationCodes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing designation code`, Long: `Update an existing designation code.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.DesignationCodesUpdate) return }, }
var Put_Diagnostics_cmd = &cobra.Command{ Use: `Diagnostics`, Example: `{"CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "DiagnosticID":"string"}`, Short: `Dummy end point to check availability of HTTP PUT`, Long: `Dummy end point to check availability of HTTP PUT.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.DiagnosticsPut) return }, }
var Put_DirectDebitAccountTypes_cmd = &cobra.Command{ Use: `DirectDebitAccountTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing direct debit account type`, Long: `Update an existing direct debit account type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.DirectDebitAccountTypesUpdate) return }, }
var Put_DiscountTypes_cmd = &cobra.Command{ Use: `DiscountTypes`, Example: `{"Amount":123.456, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "PercentIndicator":true, "RespectMinimumPrice":true, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing discount type`, Long: `Update an existing discount type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.DiscountTypesUpdate) return }, }
var Put_DocumentCategories_cmd = &cobra.Command{ Use: `DocumentCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "ParentTableName":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing documentCategory`, Long: `Update an existing documentCategory.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.DocumentCategoriesUpdate) return }, }
var Put_DonationLevels_cmd = &cobra.Command{ Use: `DonationLevels`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "ProgramType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing donation level`, Long: `Update an existing donation level.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.DonationLevelsUpdate) return }, }
var Put_EMV_cmd = &cobra.Command{ Use: `EMV`, Example: `{"Cert":"string", "LaneID":"string", "Merchant":"string", "IdleMessage":"string"}`, Short: `Set idle message for a specific lane`, Long: `Set idle message for a specific lane`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.EMVSetIdleMessage) return }, }
var Put_ElectronicAddressTypes_cmd = &cobra.Command{ Use: `ElectronicAddressTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "IsEmail":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing electronic address type`, Long: `Update an existing electronic address type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ElectronicAddressTypesUpdate) return }, }
var Put_ElectronicAddresses_cmd = &cobra.Command{ Use: `ElectronicAddresses`, Example: `{"Address":"string", "AffiliatedConstituent":{"Id":123}, "AllowHtmlFormat":true, "AllowMarketing":true, "AltSalutationType":{"Id":123}, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "ElectronicAddressType":{"Id":123}, "EndDate":"2000-01-01T00:00:00.000Z", "Id":123, "Inactive":true, "IsEmail":true, "IsFromAffiliation":true, "Months":"string", "PrimaryIndicator":true, "StartDate":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ElectronicAddressID":"string"}`, Short: `Update an electronic address`, Long: `Update an electronic address.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ElectronicAddressesUpdate) return }, }
var Put_EmailProfiles_cmd = &cobra.Command{ Use: `EmailProfiles`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EmailBcc":"string", "EmailCc":"string", "EmailDefaultSubject":"string", "EmailFrom":"string", "Id":123, "Inactive":true, "SMTPPassword":"string", "SMTPPort":123, "SMTPServer":"string", "SMTPUserName":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseSsl":true, "ID":"string"}`, Short: `Update an existing email profile`, Long: `Update an existing email profile`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.EmailProfilesUpdate) return }, }
var Put_EmarketIndicators_cmd = &cobra.Command{ Use: `EmarketIndicators`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing emarket indicator`, Long: `Update an existing emarket indicator.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.EmarketIndicatorsUpdate) return }, }
var Put_Eras_cmd = &cobra.Command{ Use: `Eras`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing era`, Long: `Update an existing era.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ErasUpdate) return }, }
var Put_Facilities_cmd = &cobra.Command{ Use: `Facilities`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultBestSeatMapId":123, "DefaultZoneMapId":123, "Description":"string", "Id":123, "SeatMap":{"Id":123}, "Theater":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update a Facility`, Long: `Update a Facility.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.FacilitiesUpdate) return }, }
var Put_Genders_cmd = &cobra.Command{ Use: `Genders`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultPrefix":{"Id":123}, "Description":"string", "Id":123, "Inactive":true, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing gender`, Long: `Update an existing gender.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.GendersUpdate) return }, }
var Put_GiftAidContactMethods_cmd = &cobra.Command{ Use: `GiftAidContactMethods`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing gift aid contact method`, Long: `Update an existing gift aid contact method.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.GiftAidContactMethodsUpdate) return }, }
var Put_GiftAidDeclarations_cmd = &cobra.Command{ Use: `GiftAidDeclarations`, Example: `{"ConfirmDateTime":"2000-01-01T00:00:00.000Z", "Constituent":{"Id":123}, "ContactMethod":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DocumentStatus":{"Id":123}, "EligibleIndicator":true, "EndDateTime":"2000-01-01T00:00:00.000Z", "GiftAidType":{"Id":123}, "Id":123, "IneligibleReason":{"Id":123}, "Notes":"string", "ReceivedDateTime":"2000-01-01T00:00:00.000Z", "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "GiftAidDeclarationID":"string"}`, Short: `Update a Gift Aid Declaration`, Long: `Update a Gift Aid Declaration.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.GiftAidDeclarationsUpdate) return }, }
var Put_GiftAidDocumentStatuses_cmd = &cobra.Command{ Use: `GiftAidDocumentStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing gift aid document status`, Long: `Update an existing gift aid document status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.GiftAidDocumentStatusesUpdate) return }, }
var Put_GiftAidIneligibleReasons_cmd = &cobra.Command{ Use: `GiftAidIneligibleReasons`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing gift aid ineligible reason`, Long: `Update an existing gift aid ineligible reason.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.GiftAidIneligibleReasonsUpdate) return }, }
var Put_GiftAidRates_cmd = &cobra.Command{ Use: `GiftAidRates`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Rate":123.456, "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing gift aid rate`, Long: `Update an existing gift aid rate.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.GiftAidRatesUpdate) return }, }
var Put_GiftAidStatuses_cmd = &cobra.Command{ Use: `GiftAidStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing gift aid status`, Long: `Update an existing gift aid status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.GiftAidStatusesUpdate) return }, }
var Put_GiftAidTypes_cmd = &cobra.Command{ Use: `GiftAidTypes`, Example: `{"CharityClaimsRef":"string", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing gift aid type`, Long: `Update an existing gift aid type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.GiftAidTypesUpdate) return }, }
var Put_HoldCodeCategories_cmd = &cobra.Command{ Use: `HoldCodeCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Hold Code Category`, Long: `Update an existing Hold Code Category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.HoldCodeCategoriesUpdate) return }, }
var Put_HoldCodeUserGroups_cmd = &cobra.Command{ Use: `HoldCodeUserGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "HoldCode":{"Id":123}, "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "HoldCodeUserGroupID":"string"}`, Short: `Update an existing hold code/user group mapping`, Long: `Update an existing hold code/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.HoldCodeUserGroupsUpdate) return }, }
var Put_HoldCodes_cmd = &cobra.Command{ Use: `HoldCodes`, Example: `{"BlackoutIndicator":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Legend":"string", "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "HoldCodeID":"string"}`, Short: `Update an existing Hold Code`, Long: `Update an existing Hold Code.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.HoldCodesUpdate) return }, }
var Put_InactiveReasons_cmd = &cobra.Command{ Use: `InactiveReasons`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing inactive reason`, Long: `Update an existing inactive reason.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.InactiveReasonsUpdate) return }, }
var Put_IntegrationDefaults_cmd = &cobra.Command{ Use: `IntegrationDefaults`, Example: `{"AccessId":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultValue":"string", "Description":"string", "FieldName":"string", "Id":123, "Integration":{"Id":123}, "Organization":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Integration Default`, Long: `Update an existing Integration Default.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.IntegrationDefaultsUpdate) return }, }
var Put_Integrations_cmd = &cobra.Command{ Use: `Integrations`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing action type`, Long: `Update an existing action type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.IntegrationsUpdate) return }, }
var Put_InterestCategories_cmd = &cobra.Command{ Use: `InterestCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing interest category`, Long: `Update an existing interest category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.InterestCategoriesUpdate) return }, }
var Put_InterestTypes_cmd = &cobra.Command{ Use: `InterestTypes`, Example: `{"Category":{"Id":123}, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "SearchIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UsedIn":"string", "ID":"string"}`, Short: `Update an existing interest type`, Long: `Update an existing interest type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.InterestTypesUpdate) return }, }
var Put_Interests_cmd = &cobra.Command{ Use: `Interests`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "InterestType":{"Id":123}, "Selected":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Weight":123, "InterestID":"string"}`, Short: `Update an interest`, Long: `Update an interest. If the interest is not selected and the weight is 0 or null, it will be deleted. For bulk interest edits, consider the CRM/Interests/CreateOrUpdate batching resource which allows multiple interests to be created, updated, or removed in a single request.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.InterestsUpdate) return }, }
var Put_Internal_cmd = &cobra.Command{ Use: `Internal`, Example: `{"AddressType":{"Id":123}, "AffiliatedConstituent":{"Id":123}, "AllowTelemarketing1":true, "AllowTelemarketing2":true, "AllowTelemarketing3":true, "AltSalutationType":{"Id":123}, "City":"string", "Constituent":{"Id":123}, "Country":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DayEveningIndicator1":"string", "DayEveningIndicator2":"string", "DayEveningIndicator3":"string", "DeliveryPoint":"string", "EditIndicator":true, "EditIndicator1":true, "EditIndicator2":true, "EditIndicator3":true, "EndDate":"2000-01-01T00:00:00.000Z", "GeoArea":123, "Id":123, "Inactive":true, "Label":true, "Months":"string", "NcoaAction":123, "NcoaSession":123, "PhoneId1":123, "PhoneId2":123, "PhoneId3":123, "PhoneNumber1":"string", "PhoneNumber1Formatted":"string", "PhoneNumber2":"string", "PhoneNumber2Formatted":"string", "PhoneNumber3":"string", "PhoneNumber3Formatted":"string", "PhoneSearch1":"string", "PhoneSearch2":"string", "PhoneSearch3":"string", "PostalCode":"string", "PostalCodeFormatted":"string", "PrimaryIndicator":true, "StartDate":"2000-01-01T00:00:00.000Z", "State":{"Id":123}, "Street1":"string", "Street2":"string", "Street3":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UpdatedDateTime1":"2000-01-01T00:00:00.000Z", "UpdatedDateTime2":"2000-01-01T00:00:00.000Z", "UpdatedDateTime3":"2000-01-01T00:00:00.000Z", "AddressID":"string"}`, Short: `Update an address and phones`, Long: `Update an address and phones. If the entire information about a phone is added newly then create a new phone. If the phone number of a phone is not given then delete that phone.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.InternalUpdate) return }, }
var Put_InventoryContactPermissionTypes_cmd = &cobra.Command{ Use: `InventoryContactPermissionTypes`, Example: `{"ContactPermissionType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ProductionElementId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "InventoryContactPermissionTypeID":"string"}`, Short: `Updated an existing inventoryContactPermissionType`, Long: `Updated an existing inventoryContactPermissionType.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.InventoryContactPermissionTypesUpdate) return }, }
var Put_InventoryWebContents_cmd = &cobra.Command{ Use: `InventoryWebContents`, Example: `{"ContentType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ProductionElementId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Value":"string", "InventoryWebContentID":"string"}`, Short: `Update an existing inventoryWebContent`, Long: `Update an existing inventoryWebContent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.InventoryWebContentsUpdate) return }, }
var Put_Issues_cmd = &cobra.Command{ Use: `Issues`, Example: `{"ActivityType":{"Id":123}, "Constituent":{"Id":123}, "ContactType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "HasReminder":true, "Id":123, "IssueDate":"2000-01-01T00:00:00.000Z", "Notes":"string", "Origin":{"Id":123}, "PackageId":123, "PerformanceId":123, "ResolvedIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UrgentIndicator":true, "IssueID":"string"}`, Short: `Update an issue for a Constituent`, Long: `Update an issue for a Constituent`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.IssuesUpdate) return }, }
var Put_KeywordCategories_cmd = &cobra.Command{ Use: `KeywordCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing keyword category`, Long: `Update an existing keyword category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.KeywordCategoriesUpdate) return }, }
var Put_Keywords_cmd = &cobra.Command{ Use: `Keywords`, Example: `{"Category":{"Id":123}, "ConstituentType":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CustomDefaultValue":"string", "CustomId":123, "CustomLimit":123, "CustomRequired":true, "DataType":"string", "Description":"string", "DetailColumn":"string", "DetailTable":"string", "EditIndicator":true, "EditMask":"string", "ExtendedDescription":"string", "FrequentUpdateDate":"2000-01-01T00:00:00.000Z", "HelpText":"string", "Id":123, "KeyColumn":"string", "KeywordUse":"string", "MultipleValue":true, "ParentKeyColumn":"string", "ParentTable":"string", "PrimaryGroupDefault":"string", "ReferenceDescriptionColumn":"string", "ReferenceIdColumn":"string", "ReferenceSort":"string", "ReferenceTable":"string", "ReferenceWhere":"string", "SortOrder":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseForSearch":true, "ValuesCodedIndicator":true, "ID":"string"}`, Short: `Update an existing keyword`, Long: `Update an existing keyword.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.KeywordsUpdate) return }, }
var Put_Languages_cmd = &cobra.Command{ Use: `Languages`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing language`, Long: `Update an existing language.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.LanguagesUpdate) return }, }
var Put_ListCategories_cmd = &cobra.Command{ Use: `ListCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing list category`, Long: `Update an existing list category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ListCategoriesUpdate) return }, }
var Put_Lists_cmd = &cobra.Command{ Use: `Lists`, Example: `{"AffiliatedIndividuals":123, "AnalyticsIndicator":true, "Category":{"Id":123}, "ConstituentCount":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Criteria":[{"Id":123}, ...], "Description":"string", "EditIndicator":true, "EditMode":"string", "Generate":true, "Households":123, "Id":123, "Inactive":true, "Individuals":123, "IsDynamic":true, "LastUsedDateTime":"2000-01-01T00:00:00.000Z", "ListSql":"string", "Organizations":123, "OutputSet":{"Id":123}, "RelationshipOptions":{"AffiliatedGroupInactive":true, "AffiliatedGroupTypes":"string", "AffiliatedGroupUseDates":true, "AffiliatedIndividualInactive":true, "AffiliatedIndividualTypes":"string", "AffiliatedIndividualUseDates":true, "AssociatedInactive":true, "AssociatedTypes":"string", "AssociatedUseDates":true, "CreateLocation":"string", "CreatedBy":"string", "KeepOrReplaceOriginal":"string", "ReplaceIndividuals":"string", "UpdatedBy":"string"}, "TMSIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ListID":"string"}`, Short: `Update an existing List`, Long: `Update an existing List.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Contents"); test { err = tq.Do(_tq, _tq.Put.ListsUpdateContents) } else { err = tq.Do(_tq, _tq.Put.ListsUpdate) } return }, }
var Put_LoginTypes_cmd = &cobra.Command{ Use: `LoginTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing login type`, Long: `Update an existing login type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.LoginTypesUpdate) return }, }
var Put_MachineSettings_cmd = &cobra.Command{ Use: `MachineSettings`, Example: `{"CardReaderHost":"string", "CardReaderPort":123, "CardReaderType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Inactive":true, "MerchantId":"string", "PXStation":"string", "PXUserKey":"string", "PXUserName":"string", "TessituraPaymentsPosDevice":"string", "TessituraPaymentsPosDeviceModel":"string", "TnspaySoftwareTerminal":true, "TriPOSCloudConfiguration":{"Id":123}, "TriposLane":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "WorkstationName":"string", "ID":"string"}`, Short: `Update an existing Machine Setting`, Long: `Update an existing Machine Setting.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.MachineSettingsUpdate) return }, }
var Put_MailIndicators_cmd = &cobra.Command{ Use: `MailIndicators`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing mail indicator`, Long: `Update an existing mail indicator.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.MailIndicatorsUpdate) return }, }
var Put_MediaTypes_cmd = &cobra.Command{ Use: `MediaTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "GenerateCost":123.456, "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing media type`, Long: `Update an existing media type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.MediaTypesUpdate) return }, }
var Put_MembershipLevelCategories_cmd = &cobra.Command{ Use: `MembershipLevelCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing membership level category`, Long: `Update an existing membership level category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.MembershipLevelCategoriesUpdate) return }, }
var Put_ModeOfSaleCategories_cmd = &cobra.Command{ Use: `ModeOfSaleCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Sequence":123, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ModeOfSaleCategoryID":"string"}`, Short: `Update an existing mode of sale category`, Long: `Update an existing mode of sale category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ModeOfSaleCategoriesUpdate) return }, }
var Put_ModeOfSaleOffers_cmd = &cobra.Command{ Use: `ModeOfSaleOffers`, Example: `{"AppealId":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "MaxSeats":123, "ModeOfSaleId":123, "OverrideDefaultPriceTypeIndicator":true, "PackageId":123, "PerformanceId":123, "PriceTypeId":123, "Rank":123, "SourceId":123, "StartDateTime":"2000-01-01T00:00:00.000Z", "Terms":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ModeOfSaleOfferID":"string"}`, Short: `Update an existing mode of sale offer`, Long: `Update an existing mode of sale offer.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ModeOfSaleOffersUpdate) return }, }
var Put_ModeOfSalePriceTypes_cmd = &cobra.Command{ Use: `ModeOfSalePriceTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "Id":123, "ModeOfSale":{"Id":123}, "PriceType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ModeOfSalePriceTypeID":"string"}`, Short: `Update an existing mode of sale price type`, Long: `Update an existing mode of sale price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ModeOfSalePriceTypesUpdate) return }, }
var Put_ModeOfSaleSurveyQuestions_cmd = &cobra.Command{ Use: `ModeOfSaleSurveyQuestions`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ModeOfSale":{"Id":123}, "Question":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ModeOfSaleSurveyQuestionID":"string"}`, Short: `Update an existing mode of sale survey question`, Long: `Update an existing mode of sale survey question.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ModeOfSaleSurveyQuestionsUpdate) return }, }
var Put_ModeOfSaleUserGroups_cmd = &cobra.Command{ Use: `ModeOfSaleUserGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "Id":123, "ModeOfSale":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "ModeOfSaleUserGroupID":"string"}`, Short: `Update an existing mode of sale/user group mapping`, Long: `Update an existing mode of sale/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ModeOfSaleUserGroupsUpdate) return }, }
var Put_ModesOfSale_cmd = &cobra.Command{ Use: `ModesOfSale`, Example: `{"AllowUnseatedPaidInd":true, "Category":{"Id":123}, "CategoryRequired":true, "ClearSourceNoInd":true, "ClearSourceOnReload":true, "ConfirmationMode":true, "ConstLinkRequired":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultAckFormatId":123, "DefaultChannelId":123, "DefaultDeliveryMethodId":123, "DefaultHeaderFormatId":123, "DefaultSalesLayoutId":123, "Description":"string", "EditDate":true, "EditSourceOnReload":true, "GeneralPublicInd":true, "HaboDays":123, "HaboForeign":true, "HoldUntilDate":"2000-01-01T00:00:00.000Z", "HoldUntilDays":123, "HoldUntilMethod":"string", "Id":123, "Inactive":true, "MustBePaidInd":true, "MustBeSeatedInd":true, "MustBeTicketedInd":true, "PricingRuleSetId":123, "SampleForGeneralPublic":123, "SampleForKnownConstituent":123, "SliAutoDeleteInd":true, "StartPkgOrPerf":"string", "SubsSummaryRequired":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ModeOfSaleID":"string"}`, Short: `Update an existing mode of sale`, Long: `Update an existing mode of sale.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ModesOfSaleUpdate) return }, }
var Put_NScanAccessAreas_cmd = &cobra.Command{ Use: `NScanAccessAreas`, Example: `{"AreaCode":"string", "ConstituencyIds":"string", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Inactive":true, "KeywordId":123, "KeywordValue":"string", "ListId":123, "MaxEntries":123, "MembershipLevelIds":"string", "PerformanceIds":"string", "PriceTypeIds":"string", "PriceZoneIds":"string", "PromptQuantity":true, "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing NScan Access Area`, Long: `Update an existing NScan Access Area.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.NScanAccessAreasUpdate) return }, }
var Put_NameStatuses_cmd = &cobra.Command{ Use: `NameStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing name status`, Long: `Update an existing name status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.NameStatusesUpdate) return }, }
var Put_ObjectPermissions_cmd = &cobra.Command{ Use: `ObjectPermissions`, Example: `{"ApplicationObject":{"Id":123}, "CanCreate":"string", "CanDelete":"string", "CanEdit":"string", "CanView":"string", "Constituency":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroup":{"Id":"string"}, "ID":"string"}`, Short: `Update an existing object permission`, Long: `Update an existing object permission.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ObjectPermissionsUpdate) return }, }
var Put_OrderCategories_cmd = &cobra.Command{ Use: `OrderCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing order category`, Long: `Update an existing order category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.OrderCategoriesUpdate) return }, }
var Put_Orders_cmd = &cobra.Command{ Use: `Orders`, Example: `{"AcceptingRollovers":true, "AccountId":123, "AltAddressId":123, "AltElectronicAddressId":123, "AppealId":123, "AppliedMessageRules":"string", "BatchId":123, "BusinessUnitId":123, "CategoryId":123, "ChannelId":123, "ConstituentId":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Custom0":"string", "Custom1":"string", "Custom2":"string", "Custom3":"string", "Custom4":"string", "Custom5":"string", "Custom6":"string", "Custom7":"string", "Custom8":"string", "Custom9":"string", "DeliveryDate":"2000-01-01T00:00:00.000Z", "DeliveryMethodId":123, "HoldUntilDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "InitiatorId":123, "LineItems":[{"Id":123}, ...], "Messages":[{"Id":123}, ...], "MirrorLock":123, "ModeOfSaleId":123, "Notes":"string", "OrderDateTime":"2000-01-01T00:00:00.000Z", "ReloadPricingRules":true, "Solicitor":"string", "SourceId":123, "TotalDue":123.456, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "VirtualConstituencies":"string", "OrderID":"string"}`, Short: `This resource is currently strictly for interceptor plugin use`, Long: `This resource is currently strictly for interceptor plugin use. This is called any time an order is saved via the API or from the client application. Only OrderId is provided in the request content. This resource will be invoked from a cart checkout.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.OrdersUpdate) return }, }
var Put_Organizations_cmd = &cobra.Command{ Use: `Organizations`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "LicenseeAccountCode":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing organization`, Long: `Update an existing organization.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.OrganizationsUpdate) return }, }
var Put_OriginalSources_cmd = &cobra.Command{ Use: `OriginalSources`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing original source`, Long: `Update an existing original source.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.OriginalSourcesUpdate) return }, }
var Put_Origins_cmd = &cobra.Command{ Use: `Origins`, Example: `{"ActivityType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing origin`, Long: `Update an existing origin.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.OriginsUpdate) return }, }
var Put_OutputSets_cmd = &cobra.Command{ Use: `OutputSets`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "ElementGroups":[{"IncludePrimaryAffiliation":true, "IsSingleRow":true, "KeywordId":123}, ...], "Id":123, "LastUsedDateTime":"2000-01-01T00:00:00.000Z", "TMSIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "OutputSetID":"string"}`, Short: `Update an existing Output Set`, Long: `Update an existing Output Set.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.OutputSetsUpdate) return }, }
var Put_PackagePriceTypes_cmd = &cobra.Command{ Use: `PackagePriceTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "PackageId":123, "PriceTypeId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "PackagePriceTypeID":"string"}`, Short: `Update an existing package price type`, Long: `Update an existing package price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PackagePriceTypesUpdate) return }, }
var Put_PackageTypes_cmd = &cobra.Command{ Use: `PackageTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing package type`, Long: `Update an existing package type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PackageTypesUpdate) return }, }
var Put_PackageWebContents_cmd = &cobra.Command{ Use: `PackageWebContents`, Example: `{"ContentType":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "PackageId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Value":"string", "PackageWebContentID":"string"}`, Short: `Update an existing packageWebContent`, Long: `Update an existing packageWebContent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PackageWebContentsUpdate) return }, }
var Put_PaymentGatewayActivities_cmd = &cobra.Command{ Use: `PaymentGatewayActivities`, Example: `{"AccountId":123, "AccountNumber":"string", "ActivityData":"string", "Amount":123.456, "AuthCode":"string", "AvsAddress":"string", "AvsPostalcode":"string", "AvsResultCode":"string", "BalanceAmount":123.456, "BalanceCurrencyCode":"string", "ConstituentId":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CvvResultCode":"string", "EcommerceIndicator":"string", "EmvApplicationIdentifier":"string", "EmvApplicationName":"string", "EmvCryptogram":"string", "EmvHostResponseCode":"string", "EmvHostResponseMessage":"string", "EmvPinVerified":"string", "EntryMethod":"string", "ExpirationDate":"string", "Id":123, "MerchantId":"string", "Name":"string", "NetworkTransactionId":"string", "Origin":"string", "PaymentGatewayTransactionType":{"Id":123}, "PaymentId":123, "PaymentMethodGroupId":123, "PaymentMethodId":123, "ProviderCommunicationDurationMs":123, "ProviderTransactionDateTime":"2000-01-01T00:00:00.000Z", "ReferenceNumber":"string", "ResponseCode":"string", "ResponseMessage":"string", "Success":"string", "TerminalIdentifier":"string", "TotalDurationMs":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserData":"string", "PaymentGatewayActivityID":"string"}`, Short: `Update an existing Payment Gateway Activity`, Long: `Update an existing Payment Gateway Activity`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PaymentGatewayActivitiesUpdate) return }, }
var Put_PaymentGatewayNotifications_cmd = &cobra.Command{ Use: `PaymentGatewayNotifications`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EventType":"string", "Id":123, "Payload":"string", "ProcessedDate":"2000-01-01T00:00:00.000Z", "ReceivedDate":"2000-01-01T00:00:00.000Z", "Reference":"string", "Topic":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "NotificationEventID":"string"}`, Short: `Update a notification event`, Long: `Update a notification event.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PaymentGatewayNotificationsUpdate) return }, }
var Put_PaymentGatewayTransactionTypes_cmd = &cobra.Command{ Use: `PaymentGatewayTransactionTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Payment Gateway Transaction Type`, Long: `Update an existing Payment Gateway Transaction Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PaymentGatewayTransactionTypesUpdate) return }, }
var Put_PaymentMethodGroups_cmd = &cobra.Command{ Use: `PaymentMethodGroups`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "MerchantId":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing payment method group`, Long: `Update an existing payment method group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PaymentMethodGroupsUpdate) return }, }
var Put_PaymentMethodUserGroups_cmd = &cobra.Command{ Use: `PaymentMethodUserGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "IncomeIndicator":true, "MaxRefund":123.456, "PaymentMethod":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "PaymentMethodUserGroupID":"string"}`, Short: `Update an existing payment method/user group mapping`, Long: `Update an existing payment method/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PaymentMethodUserGroupsUpdate) return }, }
var Put_PaymentMethods_cmd = &cobra.Command{ Use: `PaymentMethods`, Example: `{"AccountType":{"Id":123}, "AuthIndicator":true, "BusinessUnitId":123, "CanRefund":true, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CurrencyTypeId":123, "DefaultIndicator":true, "Description":"string", "GiftAidIndicator":true, "GlAccountId":"string", "Id":123, "Inactive":true, "Income":true, "MerchantId":"string", "MerchantIdForSwipe":"string", "NoCopiesOnAuth":123, "NoCopiesOnSave":123, "OpenCashDrawer":true, "PaymentMethodGroup":{"Id":123}, "PaymentType":{"Id":123}, "ReceiptFormatId":123, "RequireCheckIndicator":true, "RequireCvv":true, "RequirePostalCode":"string", "ShortDesc":"string", "StoreTenderedAmount":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseWithCardReader":true, "PaymentMethodID":"string"}`, Short: `Update an existing payment method`, Long: `Update an existing payment method.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PaymentMethodsUpdate) return }, }
var Put_PaymentSignatures_cmd = &cobra.Command{ Use: `PaymentSignatures`, Example: `{"Id":123, "PaymentSignatureID":"string"}`, Short: `Update an existing payment signature`, Long: `Update an existing payment signature.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PaymentSignaturesUpdate) return }, }
var Put_PaymentTypes_cmd = &cobra.Command{ Use: `PaymentTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing payment type`, Long: `Update an existing payment type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PaymentTypesUpdate) return }, }
var Put_PerformanceGroups_cmd = &cobra.Command{ Use: `PerformanceGroups`, Example: `{"ID":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "DisplayByZone":true, "Facility":{"Id":123}, "FixedSeatIndicator":true, "Id":123, "Season":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ZoneMap":{"Id":123}}`, Short: `Update a Performance Group`, Long: `Update a Performance Group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PerformanceGroupsUpdate) return }, }
var Put_PerformancePackageModeOfSales_cmd = &cobra.Command{ Use: `PerformancePackageModeOfSales`, Example: `{"AutoAttend":"string", "ETicketReleaseDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ModeOfSaleId":123, "PackageId":123, "PerformanceId":123, "PrintIndicator":true, "PrintOnAutoAttend":true, "SeatIndicator":true, "StartDateTime":"2000-01-01T00:00:00.000Z", "PerformancePackageModeOfSaleID":"string"}`, Short: `Update an existing performance package mode of sale`, Long: `Update an existing performance package mode of sale.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PerformancePackageModeOfSalesUpdate) return }, }
var Put_PerformancePriceLayers_cmd = &cobra.Command{ Use: `PerformancePriceLayers`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultDesignationCodeId":123, "DefaultGlAccountId":123, "DefaultResaleAccountId":123, "Description":"string", "EffectiveDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "PerformanceId":123, "PerformancePriceTypes":[{"Id":123}, ...], "PriceLayerType":{"Id":123}, "TemplateId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "PerformancePriceLayerID":"string"}`, Short: `Update an existing performance price layer`, Long: `Update an existing performance price layer.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Prices"); test { err = tq.Do(_tq, _tq.Put.PerformancePriceLayersUpdatePrices) } else { err = tq.Do(_tq, _tq.Put.PerformancePriceLayersUpdate) } return }, }
var Put_PerformancePriceTypes_cmd = &cobra.Command{ Use: `PerformancePriceTypes`, Example: `{"BaseIndicator":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DesignationCodeId":123, "EffectiveDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "GlAccountId":123, "Id":123, "IsWithinDateRange":true, "PerformanceId":123, "PerformancePriceLayerId":123, "PerformancePrices":[{"Id":123}, ...], "PriceTypeId":123, "ResaleAccountId":123, "StartDateTime":"2000-01-01T00:00:00.000Z", "TicketDesignId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "PerformancePriceTypeID":"string"}`, Short: `Update an existing performance price type`, Long: `Update an existing performance price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Base"); test { err = tq.Do(_tq, _tq.Put.PerformancePriceTypesUpdateBase) } else if test, _ := cmd.Flags().GetBool("Bulk"); test { err = tq.Do(_tq, _tq.Put.PerformancePriceTypesBulkUpdate) } else { err = tq.Do(_tq, _tq.Put.PerformancePriceTypesUpdate) } return }, }
var Put_PerformancePrices_cmd = &cobra.Command{ Use: `PerformancePrices`, Example: `{"EditIndicator":true, "EffectiveDateTime":"2000-01-01T00:00:00.000Z", "Enabled":true, "HasEvents":true, "Id":123, "IsPriceBasedOnCurrentEvent":true, "MinPrice":123.456, "PerformanceId":123, "PerformancePriceTypeId":123, "Price":123.456, "ZoneId":123, "PerformancePriceID":"string"}`, Short: `Update an existing performance price`, Long: `Update an existing performance price.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PerformancePricesUpdate) return }, }
var Put_PerformanceStatuses_cmd = &cobra.Command{ Use: `PerformanceStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing performance status`, Long: `Update an existing performance status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PerformanceStatusesUpdate) return }, }
var Put_PerformanceTypes_cmd = &cobra.Command{ Use: `PerformanceTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ValidCountryList":"string", "ID":"string"}`, Short: `Update an existing performance type`, Long: `Update an existing performance type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PerformanceTypesUpdate) return }, }
var Put_Performances_cmd = &cobra.Command{ Use: `Performances`, Example: `{"ExpireAsOfDate":"2000-01-01T00:00:00.000Z", "SeatIds":"string", "HoldCodeID":"string", "PerformanceID":"string"}`, Short: `Expires seat holds for a performance and hold code`, Long: `Expires seat holds for a performance and hold code`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PerformancesExpireSeatHolds) return }, }
var Put_PhilanthropyTypes_cmd = &cobra.Command{ Use: `PhilanthropyTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing philosophy type`, Long: `Update an existing philosophy type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PhilanthropyTypesUpdate) return }, }
var Put_Philanthropy_cmd = &cobra.Command{ Use: `Philanthropy`, Example: `{"Activity":"string", "Amount":123.456, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DonatedTo":"string", "DonatedToConstituent":{"Id":123}, "DonationDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "PhilanthropyType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "PhilanthropyEntryID":"string"}`, Short: `Updated an existing philanthropyEntry for a constituent`, Long: `Updated an existing philanthropyEntry for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PhilanthropyUpdate) return }, }
var Put_PhoneIndicators_cmd = &cobra.Command{ Use: `PhoneIndicators`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing phone indicator`, Long: `Update an existing phone indicator.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PhoneIndicatorsUpdate) return }, }
var Put_PhoneTypes_cmd = &cobra.Command{ Use: `PhoneTypes`, Example: `{"AllowMarketing":true, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DayEveningIndicator":"string", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing phone type`, Long: `Update an existing phone type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PhoneTypesUpdate) return }, }
var Put_Phones_cmd = &cobra.Command{ Use: `Phones`, Example: `{"Address":{"Id":123}, "AllowTelemarketing":true, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DayEveningIndicator":"string", "EditIndicator":true, "Id":123, "Inactive":true, "PhoneFormatted":"string", "PhoneNumber":"string", "PhoneSearch":"string", "PhoneType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "PhoneID":"string"}`, Short: `Update a phone`, Long: `Update a phone.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PhonesUpdate) return }, }
var Put_PlanPriorities_cmd = &cobra.Command{ Use: `PlanPriorities`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Ranking":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing plan priority`, Long: `Update an existing plan priority.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PlanPrioritiesUpdate) return }, }
var Put_PlanSources_cmd = &cobra.Command{ Use: `PlanSources`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing plan source`, Long: `Update an existing plan source.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PlanSourcesUpdate) return }, }
var Put_PlanStatuses_cmd = &cobra.Command{ Use: `PlanStatuses`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Rank":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing plan status`, Long: `Update an existing plan status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PlanStatusesUpdate) return }, }
var Put_PlanTypes_cmd = &cobra.Command{ Use: `PlanTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing plan type`, Long: `Update an existing plan type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PlanTypesUpdate) return }, }
var Put_PlanWorkers_cmd = &cobra.Command{ Use: `PlanWorkers`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "Plan":{"Id":123}, "PrimaryIndicator":true, "Role":{"Id":123}, "ShowInPortfolio":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Worker":{"Id":123}, "PlanWorkerID":"string"}`, Short: `Update an existing plan worker`, Long: `Update an existing plan worker.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PlanWorkersUpdate) return }, }
var Put_Plans_cmd = &cobra.Command{ Use: `Plans`, Example: `{"AskAmount":123.456, "Campaign":{"Id":123}, "CompleteByDateTime":"2000-01-01T00:00:00.000Z", "Constituent":{"Id":123}, "ContributionAmount":123.456, "ContributionDesignation":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "CustomDataItems":[{"DataType":"string", "Description":"string", "EditIndicator":true, "Index":123, "IsDropdown":true, "KeywordId":123, "Name":"string", "Value":"string"}, ...], "EditIndicator":true, "Fund":{"Id":123}, "GoalAmount":123.456, "HasOpenSteps":true, "HasSteps":true, "Id":123, "LastStepDate":"2000-01-01T00:00:00.000Z", "LastStepType":{"Id":123}, "LastWorkerDisplayName":"string", "NextStepDate":"2000-01-01T00:00:00.000Z", "NextStepType":{"Id":123}, "Notes":"string", "OriginalSource":{"Id":123}, "PlanAssociates":"string", "PrimaryWorker":{"Id":123}, "Priority":{"Id":123}, "Probability":123.456, "RecordedAmount":123.456, "StartDateTime":"2000-01-01T00:00:00.000Z", "Status":{"Id":123}, "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "PlanID":"string"}`, Short: `Update an existing plan`, Long: `Update an existing plan.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PlansUpdate) return }, }
var Put_PortfolioCustomElements_cmd = &cobra.Command{ Use: `PortfolioCustomElements`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataType":123, "Description":"string", "Id":123, "Inactive":true, "SqlQuery":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing portfolio custom element`, Long: `Update an existing portfolio custom element.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PortfolioCustomElementsUpdate) return }, }
var Put_Prefixes_cmd = &cobra.Command{ Use: `Prefixes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing prefix`, Long: `Update an existing prefix.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PrefixesUpdate) return }, }
var Put_Premieres_cmd = &cobra.Command{ Use: `Premieres`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing premiere`, Long: `Update an existing premiere.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PremieresUpdate) return }, }
var Put_PriceCategories_cmd = &cobra.Command{ Use: `PriceCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Rank":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing price category`, Long: `Update an existing price category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PriceCategoriesUpdate) return }, }
var Put_PriceEvents_cmd = &cobra.Command{ Use: `PriceEvents`, Example: `{"EventDateTime":"2000-01-01T00:00:00.000Z", "EventIds":"string"}`, Short: `Move a set of price events to a new date`, Long: `Move a set of price events to a new date.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PriceEventsMoveTo) return }, }
var Put_PriceLayerTypes_cmd = &cobra.Command{ Use: `PriceLayerTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "ExcludeFromRules":true, "Id":123, "Inactive":true, "PriceCategory":{"Id":123}, "Rank":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing price layer type`, Long: `Update an existing price layer type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PriceLayerTypesUpdate) return }, }
var Put_PriceTemplates_cmd = &cobra.Command{ Use: `PriceTemplates`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultDesignationCode":{"Id":123}, "DefaultGlAccount":{"Id":123}, "DefaultPriceLayerType":{"Id":123}, "DefaultResaleAccount":{"Id":123}, "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Name":"string", "PriceCategory":{"Id":123}, "TemplatePriceTypes":[{"Id":123}, ...], "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ZoneMap":{"Id":123}, "PriceTemplateID":"string"}`, Short: `Update an existing price template`, Long: `Update an existing price template.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PriceTemplatesUpdate) return }, }
var Put_PriceTypeCategories_cmd = &cobra.Command{ Use: `PriceTypeCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing price type category`, Long: `Update an existing price type category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PriceTypeCategoriesUpdate) return }, }
var Put_PriceTypeGroups_cmd = &cobra.Command{ Use: `PriceTypeGroups`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing price type group`, Long: `Update an existing price type group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PriceTypeGroupsUpdate) return }, }
var Put_PriceTypeReasons_cmd = &cobra.Command{ Use: `PriceTypeReasons`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "ShortDescription":"string", "TicketText":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing price type reason`, Long: `Update an existing price type reason.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PriceTypeReasonsUpdate) return }, }
var Put_PriceTypeUserGroups_cmd = &cobra.Command{ Use: `PriceTypeUserGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "PriceType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "PriceTypeUserGroupID":"string"}`, Short: `Update an existing price type/user group mapping`, Long: `Update an existing price type/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PriceTypeUserGroupsUpdate) return }, }
var Put_PriceTypes_cmd = &cobra.Command{ Use: `PriceTypes`, Example: `{"AliasDescription":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultTicketDesign":{"Id":123}, "Description":"string", "EditIndicator":true, "EditableIndicator":true, "Id":123, "Inactive":true, "PriceTypeCategory":{"Id":123}, "PriceTypeGroup":{"Id":123}, "ReasonIndicator":true, "ShortDescription":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "PriceTypeID":"string"}`, Short: `Update an existing price type`, Long: `Update an existing price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PriceTypesUpdate) return }, }
var Put_PricingRuleCategories_cmd = &cobra.Command{ Use: `PricingRuleCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing pricing rule category`, Long: `Update an existing pricing rule category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PricingRuleCategoriesUpdate) return }, }
var Put_PricingRuleMessageTypes_cmd = &cobra.Command{ Use: `PricingRuleMessageTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing pricing rule message type`, Long: `Update an existing pricing rule message type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PricingRuleMessageTypesUpdate) return }, }
var Put_PricingRuleSets_cmd = &cobra.Command{ Use: `PricingRuleSets`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Rules":[{"Id":123}, ...], "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "PricingRuleSetID":"string"}`, Short: `Update an existing pricing rule set`, Long: `Update an existing pricing rule set.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PricingRuleSetsUpdate) return }, }
var Put_PricingRules_cmd = &cobra.Command{ Use: `PricingRules`, Example: `{"Appeals":"string", "ApplyOncePerOrder":true, "ApplyToLowestCommonNumberOfSeats":true, "Constituencies":"string", "ConstituentAttribute":123, "ConstituentAttributeOperator":{"Id":123}, "ConstituentAttributeValue1":"string", "ConstituentAttributeValue2":"string", "ConstituentExclusionListId":123, "ConstituentListId":123, "ConstituentRankType":123, "ConstituentRankingOperator":{"Id":123}, "ConstituentRankingValue1":123, "ConstituentRankingValue2":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "DiscountAmount":123.456, "DiscountIsPercent":true, "DiscountPercentRound":123, "DiscountPriceTypeId":123, "EditIndicator":true, "EndDateTime":"2000-01-01T00:00:00.000Z", "ExcludeGeneralPublic":true, "Id":123, "Inactive":true, "MaxSeats":123, "Messages":[{"Id":123}, ...], "OverTheLimitDateTime":"2000-01-01T00:00:00.000Z", "PromotedAppeals":"string", "PromotedSources":"string", "QualifyingPackage":"string", "QualifyingPerformance":"string", "QualifyingPriceType1":"string", "QualifyingPriceType2":"string", "QualifyingProductionSeason":"string", "QualifyingSeasonPackageType":"string", "QualifyingSeatCount1Value1":123, "QualifyingSeatCount1Value2":123, "QualifyingSeatCount2Value1":123, "QualifyingSeatCount2Value2":123, "QualifyingZone":"string", "RespectMinimumPrice":true, "ResultMaximumSeats":123, "ResultMaximumSeats2":123, "ResultPackage":"string", "ResultPerformance":"string", "ResultPriceType":"string", "ResultProductionSeason":"string", "ResultSeasonPackageType":"string", "ResultSeatCount":123, "ResultZone":"string", "RuleAction":123, "RuleCategory":{"Id":123}, "RuleType":{"Id":123}, "Sources":"string", "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "PricingRuleID":"string"}`, Short: `Update an existing pricing rule`, Long: `Update an existing pricing rule.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PricingRulesUpdate) return }, }
var Put_Printers_cmd = &cobra.Command{ Use: `Printers`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "MaxCol":123, "MaxRow":123, "MaxX2val":123, "MaxY2val":123, "Type":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing printer`, Long: `Update an existing printer.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PrintersUpdate) return }, }
var Put_ProductionSeasonMembershipOrganizations_cmd = &cobra.Command{ Use: `ProductionSeasonMembershipOrganizations`, Example: `{"ID":"string", "AllowMultipleEntry":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "MembershipOrganization":{"Id":123}, "ProductionSeason":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Update an existing production season membership organization`, Long: `Update an existing production season membership organization.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ProductionSeasonMembershipOrganizationsUpdate) return }, }
var Put_ProgramListings_cmd = &cobra.Command{ Use: `ProgramListings`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DonationLevel":{"Id":123}, "EditIndicator":true, "Id":123, "ProgramName":"string", "ProgramType":{"Id":123}, "SortName":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ProgramListingID":"string"}`, Short: `Update a program listing`, Long: `Update a program listing.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ProgramListingsUpdate) return }, }
var Put_Programs_cmd = &cobra.Command{ Use: `Programs`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing program`, Long: `Update an existing program.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ProgramsUpdate) return }, }
var Put_Pronouns_cmd = &cobra.Command{ Use: `Pronouns`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: ``, Long: ``, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.PronounsUpdate) return }, }
var Put_QualificationCategories_cmd = &cobra.Command{ Use: `QualificationCategories`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Qualification Category`, Long: `Update an existing Qualification Category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.QualificationCategoriesUpdate) return }, }
var Put_Qualifications_cmd = &cobra.Command{ Use: `Qualifications`, Example: `{"Category":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Qualification`, Long: `Update an existing Qualification.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.QualificationsUpdate) return }, }
var Put_QueryElementFilters_cmd = &cobra.Command{ Use: `QueryElementFilters`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataType":123, "Description":"string", "EndOfDay":true, "FilterElement":"string", "Group":{"Id":123}, "Id":123, "ReferenceDescriptionColumn":"string", "ReferenceIdColumn":"string", "ReferenceSort":"string", "ReferenceTable":"string", "ReferenceWhere":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "QueryElementFilterID":"string"}`, Short: `Update an existing query element filter`, Long: `Update an existing query element filter.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.QueryElementFiltersUpdate) return }, }
var Put_QueryElementGroups_cmd = &cobra.Command{ Use: `QueryElementGroups`, Example: `{"Category":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataFrom":"string", "DataWhere":"string", "Description":"string", "Id":123, "IsVirtual":true, "NumberOfParameters":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "QueryElementGroupID":"string"}`, Short: `Update an existing query element group`, Long: `Update an existing query element group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.QueryElementGroupsUpdate) return }, }
var Put_QueryElements_cmd = &cobra.Command{ Use: `QueryElements`, Example: `{"ID":"string", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataSelect":"string", "Description":"string", "Group":{"Id":123}, "Id":123, "Inactive":true, "IsSingleRow":true, "KeywordId":123, "PrimaryGroupDefault":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Update an existing query element`, Long: `Update an existing query element.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.QueryElementsUpdate) return }, }
var Put_RankTypes_cmd = &cobra.Command{ Use: `RankTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing rank type`, Long: `Update an existing rank type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.RankTypesUpdate) return }, }
var Put_Rankings_cmd = &cobra.Command{ Use: `Rankings`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "Rank":123, "RankType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "RankingID":"string"}`, Short: `Update a ranking`, Long: `Update a ranking.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.RankingsUpdate) return }, }
var Put_ReceiptSettings_cmd = &cobra.Command{ Use: `ReceiptSettings`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EmailFooter":"string", "EmailHeader":"string", "EmailSubject":"string", "Id":123, "Inactive":true, "PrintFooter":"string", "PrintHeader":"string", "ReceiptEmailProfile":{"Id":123}, "TicketEmailProfile":{"Id":123}, "TicketEmailSubject":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Receipt Setting`, Long: `Update an existing Receipt Setting.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ReceiptSettingsUpdate) return }, }
var Put_ReferenceTableUserGroups_cmd = &cobra.Command{ Use: `ReferenceTableUserGroups`, Example: `{"CanEdit":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ReferenceTable":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "ID":"string"}`, Short: `Update an existing reference table/user group mapping`, Long: `Update an existing reference table/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ReferenceTableUserGroupsUpdate) return }, }
var Put_RelationshipCategories_cmd = &cobra.Command{ Use: `RelationshipCategories`, Example: `{"CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing relationship category`, Long: `Update an existing relationship category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.RelationshipCategoriesUpdate) return }, }
var Put_ReportRequests_cmd = &cobra.Command{ Use: `ReportRequests`, Example: `{"ID":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DeletedIndicator":true, "EmailBody":"string", "EmailRecipients":"string", "EmailSubject":"string", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "OutputOption":"string", "Parameters":[{"ParameterId":123, "ReportId":"string", "RequestId":123, "Value":"string"}, ...], "PublicIndicator":true, "QueueStatus":"string", "ReportId":"string", "ReportType":123, "RequestDateTime":"2000-01-01T00:00:00.000Z", "ResultCode":"string", "ResultText":"string", "ScheduleId":123, "Type":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "UserId":"string"}`, Short: `Update the details of a report request`, Long: `Update the details of a report request.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("FlushIncomplete"); test { err = tq.Do(_tq, _tq.Put.ReportRequestsFlushIncomplete) } else { err = tq.Do(_tq, _tq.Put.ReportRequestsUpdate) } return }, }
var Put_ReportSchedules_cmd = &cobra.Command{ Use: `ReportSchedules`, Example: `{"ID":"string", "AsOfDateTime":"2000-01-01T00:00:00.000Z", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DayOfWeek":123, "DayWeekNumber":123, "EndDate":"2000-01-01T00:00:00.000Z", "EndTime":"2000-01-01T00:00:00.000Z", "HeaderRequest":{"Id":123}, "Id":123, "Inactive":true, "Interval":123, "Name":"string", "StartDate":"2000-01-01T00:00:00.000Z", "StartTime":"2000-01-01T00:00:00.000Z", "Type":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Update the details of a report schedule`, Long: `Update the details of a report schedule.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ReportSchedulesUpdate) return }, }
var Put_ReportUserGroups_cmd = &cobra.Command{ Use: `ReportUserGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ReportId":"string", "RunRight":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "ViewRight":"string", "ID":"string"}`, Short: `Update an existing report/user group mapping`, Long: `Update an existing report/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ReportUserGroupsUpdate) return }, }
var Put_ResearchTypes_cmd = &cobra.Command{ Use: `ResearchTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing research type`, Long: `Update an existing research type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ResearchTypesUpdate) return }, }
var Put_Research_cmd = &cobra.Command{ Use: `Research`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "ResearchDate":"2000-01-01T00:00:00.000Z", "ResearchSource":"string", "ResearchType":{"Id":123}, "Researcher":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ResearchEntryID":"string"}`, Short: `Updated an existing research entry for a constituent`, Long: `Updated an existing research entry for a constituent.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ResearchUpdate) return }, }
var Put_ResourceCategories_cmd = &cobra.Command{ Use: `ResourceCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Resource Category`, Long: `Update an existing Resource Category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ResourceCategoriesUpdate) return }, }
var Put_ResourceSchedules_cmd = &cobra.Command{ Use: `ResourceSchedules`, Example: `{"BookingAssignmentId":123, "ConstituentId":123, "Count":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "OverrideConflicts":true, "RecurrenceDayOfWeek":"string", "RecurrenceEndDate":"2000-01-01T00:00:00.000Z", "RecurrenceInterval":123, "RecurrenceOrdinal":123, "RecurrencePattern":123, "ResourceId":123, "StartDateTime":"2000-01-01T00:00:00.000Z", "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ResourceScheduleID":"string"}`, Short: `Update a specific resource schedule`, Long: `Update a specific resource schedule. Only Busy or Available types can be updated.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ResourceSchedulesUpdate) return }, }
var Put_ResourceTypes_cmd = &cobra.Command{ Use: `ResourceTypes`, Example: `{"ID":"string", "CanBeShared":true, "Category":{"Id":123}, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "HasCapacity":true, "Id":123, "Inactive":true, "RequireAvailability":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Update an existing resource type`, Long: `Update an existing resource type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ResourceTypesUpdate) return }, }
var Put_Resources_cmd = &cobra.Command{ Use: `Resources`, Example: `{"ID":"string", "Capacity":123, "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultConfirmationText":"string", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Notes":"string", "ResourceType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Update an existing Resource`, Long: `Update an existing Resource.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ResourcesUpdate) return }, }
var Put_SalesChannels_cmd = &cobra.Command{ Use: `SalesChannels`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing sales channel`, Long: `Update an existing sales channel.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SalesChannelsUpdate) return }, }
var Put_SalesLayoutButtonTypes_cmd = &cobra.Command{ Use: `SalesLayoutButtonTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing sales layout button type`, Long: `Update an existing sales layout button type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SalesLayoutButtonTypesUpdate) return }, }
var Put_SalesLayouts_cmd = &cobra.Command{ Use: `SalesLayouts`, Example: `{"Columns":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "PaymentMethods":[{"Id":123}, ...], "PriceTypes":[{"Id":123}, ...], "PrimaryIndicator":true, "Rows":123, "SalesLayoutButtons":[{"Id":123}, ...], "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "SalesLayoutID":"string"}`, Short: `Update an existing sales layout setup`, Long: `Update an existing sales layout setup.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SalesLayoutsUpdate) return }, }
var Put_SalutationTypes_cmd = &cobra.Command{ Use: `SalutationTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing salutation type`, Long: `Update an existing salutation type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SalutationTypesUpdate) return }, }
var Put_Salutations_cmd = &cobra.Command{ Use: `Salutations`, Example: `{"BusinessTitle":"string", "Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "EditIndicator":true, "EnvelopeSalutation1":"string", "EnvelopeSalutation2":"string", "Id":123, "IsFromAffiliation":true, "Label":true, "LetterSalutation":"string", "SalutationType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "SalutationID":"string"}`, Short: `Update a salutation`, Long: `Update a salutation.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SalutationsUpdate) return }, }
var Put_SchedulePatternTypes_cmd = &cobra.Command{ Use: `SchedulePatternTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Schedule Pattern`, Long: `Update an existing Schedule Pattern.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SchedulePatternTypesUpdate) return }, }
var Put_ScheduleTypes_cmd = &cobra.Command{ Use: `ScheduleTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Schedule Type`, Long: `Update an existing Schedule Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ScheduleTypesUpdate) return }, }
var Put_SeasonTypes_cmd = &cobra.Command{ Use: `SeasonTypes`, Example: `{"BusinessUnit":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing season type`, Long: `Update an existing season type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SeasonTypesUpdate) return }, }
var Put_Seasons_cmd = &cobra.Command{ Use: `Seasons`, Example: `{"ConfirmationNoticeFormat":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DefaultIndicator":true, "Description":"string", "DisplayInSeasonOverview":true, "EndDateTime":"2000-01-01T00:00:00.000Z", "FYear":123, "Id":123, "Inactive":true, "RenewalNoticeFormat":123, "StartDateTime":"2000-01-01T00:00:00.000Z", "SubscriptionFund1":123, "SubscriptionFund2":123, "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "YearlySeason":123, "ID":"string"}`, Short: `Update an existing season`, Long: `Update an existing season.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SeasonsUpdate) return }, }
var Put_SeatCodes_cmd = &cobra.Command{ Use: `SeatCodes`, Example: `{"BackColor":123, "Context":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "DisplayLetter":"string", "ForeColor":123, "Id":123, "Inactive":true, "IsSeat":123, "TicketText":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing seat code`, Long: `Update an existing seat code.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SeatCodesUpdate) return }, }
var Put_SeatStatuses_cmd = &cobra.Command{ Use: `SeatStatuses`, Example: `{"BackColor":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "ForeColor":123, "Id":123, "Inactive":true, "StatusCode":"string", "StatusLegend":"string", "StatusPriority":123, "Tck":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing seat status`, Long: `Update an existing seat status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SeatStatusesUpdate) return }, }
var Put_Sections_cmd = &cobra.Command{ Use: `Sections`, Example: `{"AdditionalText":"string", "AdditionalText2":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "PrintDesc":"string", "PrintSequence":123, "SectionLegend":"string", "ShortDesc":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing section`, Long: `Update an existing section.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SectionsUpdate) return }, }
var Put_ServiceResourceUserGroups_cmd = &cobra.Command{ Use: `ServiceResourceUserGroups`, Example: `{"CanCreate":true, "CanDelete":true, "CanRead":true, "CanUpdate":true, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "ServiceResource":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UserGroupId":"string", "ID":"string"}`, Short: `Update an existing service resource/user group mapping`, Long: `Update an existing service resource/user group mapping.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ServiceResourceUserGroupsUpdate) return }, }
var Put_Session_cmd = &cobra.Command{ Use: `Session`, Example: `{"ConstituentId":123, "OverridePrompt":true, "SessionKey":"string"}`, Short: `Sets the current constituent on the cart for a business facing session`, Long: `Sets the current constituent on the cart for a business facing session If the Constituent is a primary affiliate of a household, the method obeys the "TRANSACT_AS_HOUSEHOLD_ORDER" entry in T_DEFAULTS to determine if the household constituent should be set. If the default is set to "Prompt", both the household and individual are returned, to allow the user to be queried. To set the constituent to the users choice pass in the selected constituent id and set OverridePrompt to true.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("SetExpiration"); test { err = tq.Do(_tq, _tq.Put.SessionSetExpiration) } else if test, _ := cmd.Flags().GetBool("Variable"); test { err = tq.Do(_tq, _tq.Put.SessionUpdateVariable) } else if test, _ := cmd.Flags().GetBool("WebLogin"); test { err = tq.Do(_tq, _tq.Put.SessionUpdateWebLogin) } else { err = tq.Do(_tq, _tq.Put.SessionSetConstituent) } return }, }
var Put_SourceGroups_cmd = &cobra.Command{ Use: `SourceGroups`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing source group`, Long: `Update an existing source group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SourceGroupsUpdate) return }, }
var Put_SpecialActivities_cmd = &cobra.Command{ Use: `SpecialActivities`, Example: `{"ConstituentId":123, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Notes":"string", "NumberOfAttendees":123, "Performance":"string", "SpecialActivityDateTime":"2000-01-01T00:00:00.000Z", "Status":{"Id":123}, "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "WorkerConstituentId":123, "SpecialActivityID":"string"}`, Short: `Update an activity record`, Long: `Update an activity record.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SpecialActivitiesUpdate) return }, }
var Put_SpecialActivityStatuses_cmd = &cobra.Command{ Use: `SpecialActivityStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an Special Activity Status`, Long: `Update an Special Activity Status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SpecialActivityStatusesUpdate) return }, }
var Put_SpecialActivityTypes_cmd = &cobra.Command{ Use: `SpecialActivityTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Special Activity Type`, Long: `Update an existing Special Activity Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SpecialActivityTypesUpdate) return }, }
var Put_States_cmd = &cobra.Command{ Use: `States`, Example: `{"Country":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "StateCode":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing state`, Long: `Update an existing state.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.StatesUpdate) return }, }
var Put_StepTypes_cmd = &cobra.Command{ Use: `StepTypes`, Example: `{"AllowAttachments":"string", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseAssociate":"string", "UseCompletedOnDateTime":"string", "UseDueDateTime":"string", "UseNote":"string", "UseWarningDays":"string", "UseWorker":"string", "ID":"string"}`, Short: `Update an existing step type`, Long: `Update an existing step type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.StepTypesUpdate) return }, }
var Put_Steps_cmd = &cobra.Command{ Use: `Steps`, Example: `{"Associate":{"Id":123}, "CompletedOnDateTime":"2000-01-01T00:00:00.000Z", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "DueDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Id":123, "NewValue":"string", "Notes":"string", "OldValue":"string", "Plan":{"Id":123}, "Priority":123, "StepDateTime":"2000-01-01T00:00:00.000Z", "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "WarningDays":123, "Worker":{"Id":123}, "StepID":"string"}`, Short: `Update an existing step`, Long: `Update an existing step.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { if test, _ := cmd.Flags().GetBool("Document"); test { err = tq.Do(_tq, _tq.Put.StepsUpdateDocument) } else { err = tq.Do(_tq, _tq.Put.StepsUpdate) } return }, }
var Put_SubLineItemStatuses_cmd = &cobra.Command{ Use: `SubLineItemStatuses`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Priority":123, "StatusCode":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing sub line item status`, Long: `Update an existing sub line item status.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SubLineItemStatusesUpdate) return }, }
var Put_Suffixes_cmd = &cobra.Command{ Use: `Suffixes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing suffix`, Long: `Update an existing suffix.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SuffixesUpdate) return }, }
var Put_SurveyQuestions_cmd = &cobra.Command{ Use: `SurveyQuestions`, Example: `{"AskType":123, "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataType":123, "DefaultValue":"string", "Id":123, "Inactive":true, "Question":"string", "ReferenceTable":"string", "ReferenceTableDescriptionColumn":"string", "ReferenceTableIdColumn":"string", "ReferenceTableSort":"string", "ReferenceTableWhereClause":"string", "Required":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing survey question`, Long: `Update an existing survey question.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SurveyQuestionsUpdate) return }, }
var Put_SurveyResponses_cmd = &cobra.Command{ Use: `SurveyResponses`, Example: `{"Answer":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "OrderId":123, "QuestionId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "SurveyResponseID":"string"}`, Short: `Update an existing survey response`, Long: `Update an existing survey response.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.SurveyResponsesUpdate) return }, }
var Put_TemplateCategories_cmd = &cobra.Command{ Use: `TemplateCategories`, Example: `{"ID":"string", "ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "Type":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Update an existing template category`, Long: `Update an existing template category`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.TemplateCategoriesUpdate) return }, }
var Put_TemplatePriceTypes_cmd = &cobra.Command{ Use: `TemplatePriceTypes`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DesignationCode":{"Id":123}, "GlAccount":{"Id":123}, "Id":123, "PriceTemplate":{"Id":123}, "PriceType":{"Id":123}, "ResaleAccount":{"Id":123}, "TemplatePrices":[{"Id":123}, ...], "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "TemplatePriceTypeID":"string"}`, Short: `Update an existing template price type`, Long: `Update an existing template price type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.TemplatePriceTypesUpdate) return }, }
var Put_TemplatePrices_cmd = &cobra.Command{ Use: `TemplatePrices`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Enabled":true, "Id":123, "MinPrice":123.456, "Price":123.456, "TemplatePriceType":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Zone":{"Id":123}, "TemplatePriceID":"string"}`, Short: `Update an existing template price`, Long: `Update an existing template price.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.TemplatePricesUpdate) return }, }
var Put_Templates_cmd = &cobra.Command{ Use: `Templates`, Example: `{"Category":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditIndicator":true, "Id":123, "Inactive":true, "IsHtmlBody":true, "TemplateBody":"string", "TemplateSubject":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "TemplateID":"string"}`, Short: `Update an existing template`, Long: `Update an existing template`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.TemplatesUpdate) return }, }
var Put_Theaters_cmd = &cobra.Command{ Use: `Theaters`, Example: `{"City":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "DataWindowDefinition":"string", "Description":"string", "DrivingDirections":"string", "Id":123, "Inactive":true, "MaximumNumberOfSeats":123, "Phone":"string", "PostalCode":"string", "State":"string", "Street":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing theater`, Long: `Update an existing theater.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.TheatersUpdate) return }, }
var Put_TimeSlots_cmd = &cobra.Command{ Use: `TimeSlots`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EndTime":"2000-01-01T00:00:00.000Z", "Id":123, "Inactive":true, "StartTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing time slot`, Long: `Update an existing time slot.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.TimeSlotsUpdate) return }, }
var Put_TriPOSCloudConfigurations_cmd = &cobra.Command{ Use: `TriPOSCloudConfigurations`, Example: `{"ConfigSetting":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing TriPOS Cloud configuration`, Long: `Update an existing TriPOS Cloud configuration.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.TriPOSCloudConfigurationsUpdate) return }, }
var Put_UpgradeCategories_cmd = &cobra.Command{ Use: `UpgradeCategories`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing Upgrade Category`, Long: `Update an existing Upgrade Category.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.UpgradeCategoriesUpdate) return }, }
var Put_UpgradeLogs_cmd = &cobra.Command{ Use: `UpgradeLogs`, Example: `{"CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "HotFixNumber":123, "Id":123, "ReleaseDescription":"string", "ScriptId":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UpgradeCategorySummary":{"Id":123}, "Version":"string", "UpgradeLogID":"string"}`, Short: `Updates the given upgradeLog`, Long: `Updates the given upgradeLog.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.UpgradeLogsUpdate) return }, }
var Put_UserPreferences_cmd = &cobra.Command{ Use: `UserPreferences`, Example: `{"ID":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Key":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "Value":"string"}`, Short: `Update a user preference by id`, Long: `Update a user preference by id.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.UserPreferencesUpdate) return }, }
var Put_WebContentTypes_cmd = &cobra.Command{ Use: `WebContentTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EditMask":"string", "FullTextSearchIndicator":true, "Id":123, "Inactive":true, "LastContentUseUpdateDateTime":"2000-01-01T00:00:00.000Z", "Limit":123, "ReferenceDescriptionColumn":"string", "ReferenceIdColumn":"string", "ReferenceSort":"string", "ReferenceTable":"string", "ReferenceWhere":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "UseWebApi":true, "ID":"string"}`, Short: `Update an existing Web Content Type`, Long: `Update an existing Web Content Type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.WebContentTypesUpdate) return }, }
var Put_WebLogins_cmd = &cobra.Command{ Use: `WebLogins`, Example: `{"Constituent":{"Id":123}, "ConstituentUpdateDate":"2000-01-01T00:00:00.000Z", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "Email":{"Id":123}, "FailedAttempts":123, "Id":123, "Inactive":true, "LastLoginDate":"2000-01-01T00:00:00.000Z", "LockedDate":"2000-01-01T00:00:00.000Z", "Login":"string", "LoginType":{"Id":123}, "PrimaryIndicator":true, "TemporaryIndicator":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "LoginID":"string"}`, Short: `Update a weblogin`, Long: `Update a weblogin.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.WebLoginsUpdate) return }, }
var Put_WorkerQualifications_cmd = &cobra.Command{ Use: `WorkerQualifications`, Example: `{"Constituent":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EndDateTime":"2000-01-01T00:00:00.000Z", "Id":123, "Qualification":{"Id":123}, "StartDateTime":"2000-01-01T00:00:00.000Z", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "WorkerQualificationID":"string"}`, Short: `Update an existing WorkerQualification`, Long: `Update an existing WorkerQualification.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.WorkerQualificationsUpdate) return }, }
var Put_WorkerRoles_cmd = &cobra.Command{ Use: `WorkerRoles`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "ShowInPortfolioDefault":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing worker role`, Long: `Update an existing worker role.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.WorkerRolesUpdate) return }, }
var Put_WorkerTypes_cmd = &cobra.Command{ Use: `WorkerTypes`, Example: `{"ControlGroup":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing worker type`, Long: `Update an existing worker type.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.WorkerTypesUpdate) return }, }
var Put_Workers_cmd = &cobra.Command{ Use: `Workers`, Example: `{"ConstituentId":123, "ConstituentInactive":{"Id":123}, "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "EditIndicator":true, "FirstName":"string", "Id":123, "Inactive":true, "LastName":"string", "Prefix":{"Id":123}, "ShortDisplayName":"string", "SortName":"string", "Suffix":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "WorkerType":{"Id":123}, "WorkerID":"string"}`, Short: `Update an existing worker`, Long: `Update an existing worker.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.WorkersUpdate) return }, }
var Put_ZoneGroups_cmd = &cobra.Command{ Use: `ZoneGroups`, Example: `{"AliasDescription":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "Rank":123, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ID":"string"}`, Short: `Update an existing zone group`, Long: `Update an existing zone group.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ZoneGroupsUpdate) return }, }
var Put_ZoneMaps_cmd = &cobra.Command{ Use: `ZoneMaps`, Example: `{"ID":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "Id":123, "Inactive":true, "SeatMap":{"Id":123}, "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z"}`, Short: `Update an existing zone map`, Long: `Update an existing zone map.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ZoneMapsUpdate) return }, }
var Put_Zones_cmd = &cobra.Command{ Use: `Zones`, Example: `{"Abbreviation":"string", "CreateLocation":"string", "CreatedBy":"string", "CreatedDateTime":"2000-01-01T00:00:00.000Z", "Description":"string", "EndTime":"string", "Id":123, "Rank":123, "ShortDescription":"string", "StartTime":"string", "UpdatedBy":"string", "UpdatedDateTime":"2000-01-01T00:00:00.000Z", "ZoneGroup":{"Id":123}, "ZoneLegend":"string", "ZoneMapId":123, "ZoneTime":"string", "ZoneID":"string", "ZoneMapID":"string"}`, Short: `Update an existing zone`, Long: `Update an existing zone.`, PreRunE: initTq, RunE: func(cmd *cobra.Command, args []string) (err error) { err = tq.Do(_tq, _tq.Put.ZonesUpdate) return }, }
var Put_cmd = &cobra.Command{ Use: "update", Aliases: []string{"put", "update", "u"}, Short: "Update entities in Tessitura", }
Functions ¶
Types ¶
This section is empty.