From 92d59efa9c09b087a7db461a7050c503e17e1e53 Mon Sep 17 00:00:00 2001 From: Twilio Date: Thu, 5 Oct 2023 08:17:16 +0000 Subject: [PATCH] [Librarian] Regenerated @ a25fe2e20ee404d8f8642d6e5acceff276916c9e --- CHANGES.md | 9 ++ rest/accounts/v1/README.md | 2 +- rest/api/v2010/README.md | 2 +- rest/api/v2010/accounts_messages.go | 9 -- rest/api/v2010/docs/AccountsMessagesApi.md | 1 - rest/api/v2010/docs/ApiV2010Message.md | 1 - rest/api/v2010/model_api_v2010_message.go | 2 - rest/autopilot/v1/README.md | 2 +- rest/bulkexports/v1/README.md | 2 +- rest/chat/v1/README.md | 2 +- rest/chat/v2/README.md | 2 +- rest/chat/v3/README.md | 2 +- rest/content/v1/README.md | 2 +- rest/conversations/v1/README.md | 2 +- rest/events/v1/README.md | 2 +- rest/flex/v1/README.md | 2 +- rest/flex/v2/README.md | 2 +- rest/frontline/v1/README.md | 2 +- rest/insights/v1/README.md | 2 +- rest/intelligence/v2/README.md | 2 +- rest/ip_messaging/v1/README.md | 2 +- rest/ip_messaging/v2/README.md | 2 +- rest/lookups/v1/README.md | 2 +- rest/lookups/v2/README.md | 2 +- rest/media/v1/README.md | 2 +- rest/messaging/v1/README.md | 2 +- rest/microvisor/v1/README.md | 2 +- rest/monitor/v1/README.md | 2 +- rest/notify/v1/README.md | 2 +- rest/numbers/v1/README.md | 2 +- rest/numbers/v2/README.md | 2 +- rest/oauth/v1/README.md | 2 +- rest/pricing/v1/README.md | 2 +- rest/pricing/v2/README.md | 2 +- rest/proxy/v1/README.md | 2 +- rest/routes/v2/README.md | 2 +- rest/serverless/v1/README.md | 2 +- rest/studio/v1/README.md | 2 +- rest/studio/v2/README.md | 2 +- rest/supersim/v1/README.md | 2 +- rest/sync/v1/README.md | 2 +- rest/taskrouter/v1/README.md | 2 +- rest/trunking/v1/README.md | 2 +- rest/trusthub/v1/README.md | 5 +- ...mpliance_inquiries_customers_initialize.go | 96 +++++++++++++++++++ ...mplianceInquiriesCustomersInitializeApi.md | 92 ++++++++++++++++++ .../v1/docs/TrusthubV1ComplianceInquiry.md | 14 +++ .../model_trusthub_v1_compliance_inquiry.go | 27 ++++++ rest/verify/v2/README.md | 2 +- rest/video/v1/README.md | 2 +- rest/voice/v1/README.md | 2 +- rest/wireless/v1/README.md | 2 +- 52 files changed, 284 insertions(+), 56 deletions(-) create mode 100644 rest/trusthub/v1/compliance_inquiries_customers_initialize.go create mode 100644 rest/trusthub/v1/docs/ComplianceInquiriesCustomersInitializeApi.md create mode 100644 rest/trusthub/v1/docs/TrusthubV1ComplianceInquiry.md create mode 100644 rest/trusthub/v1/model_trusthub_v1_compliance_inquiry.go diff --git a/CHANGES.md b/CHANGES.md index e775c47ee..7d5ff8443 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,14 @@ twilio-go changelog ==================== +[2023-10-05] Version 1.14.1 +--------------------------- +**Library - Chore** +- [PR #211](https://github.com/twilio/twilio-go/pull/211): twilio help changes. Thanks to [@kridai](https://github.com/kridai)! + +**Lookups** +- Add test api support for Lookup v2 + + [2023-09-21] Version 1.14.0 --------------------------- **Conversations** diff --git a/rest/accounts/v1/README.md b/rest/accounts/v1/README.md index f368e0ac1..7b2ca519f 100644 --- a/rest/accounts/v1/README.md +++ b/rest/accounts/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/api/v2010/README.md b/rest/api/v2010/README.md index 228b760e3..5add6f665 100644 --- a/rest/api/v2010/README.md +++ b/rest/api/v2010/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/api/v2010/accounts_messages.go b/rest/api/v2010/accounts_messages.go index 823a9fc6a..f17580642 100644 --- a/rest/api/v2010/accounts_messages.go +++ b/rest/api/v2010/accounts_messages.go @@ -62,8 +62,6 @@ type CreateMessageParams struct { SendAsMms *bool `json:"SendAsMms,omitempty"` // For [Content Editor/API](https://www.twilio.com/docs/content) only: Key-value pairs of [Template variables](https://www.twilio.com/docs/content/using-variables-with-content-api) and their substitution values. `content_sid` parameter must also be provided. If values are not defined in the `content_variables` parameter, the [Template's default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates) are used. ContentVariables *string `json:"ContentVariables,omitempty"` - // A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. The object may contain up to 10 tags. Keys and values can each be up to 128 characters in length. - Tags *string `json:"Tags,omitempty"` // RiskCheck *string `json:"RiskCheck,omitempty"` // The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belongs to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool. @@ -150,10 +148,6 @@ func (params *CreateMessageParams) SetContentVariables(ContentVariables string) params.ContentVariables = &ContentVariables return params } -func (params *CreateMessageParams) SetTags(Tags string) *CreateMessageParams { - params.Tags = &Tags - return params -} func (params *CreateMessageParams) SetRiskCheck(RiskCheck string) *CreateMessageParams { params.RiskCheck = &RiskCheck return params @@ -244,9 +238,6 @@ func (c *ApiService) CreateMessage(params *CreateMessageParams) (*ApiV2010Messag if params != nil && params.ContentVariables != nil { data.Set("ContentVariables", *params.ContentVariables) } - if params != nil && params.Tags != nil { - data.Set("Tags", *params.Tags) - } if params != nil && params.RiskCheck != nil { data.Set("RiskCheck", *params.RiskCheck) } diff --git a/rest/api/v2010/docs/AccountsMessagesApi.md b/rest/api/v2010/docs/AccountsMessagesApi.md index 064b4507e..191dde1c4 100644 --- a/rest/api/v2010/docs/AccountsMessagesApi.md +++ b/rest/api/v2010/docs/AccountsMessagesApi.md @@ -49,7 +49,6 @@ Name | Type | Description **SendAt** | **time.Time** | The time that Twilio will send the message. Must be in ISO 8601 format. **SendAsMms** | **bool** | If set to `true`, Twilio delivers the message as a single MMS message, regardless of the presence of media. **ContentVariables** | **string** | For [Content Editor/API](https://www.twilio.com/docs/content) only: Key-value pairs of [Template variables](https://www.twilio.com/docs/content/using-variables-with-content-api) and their substitution values. `content_sid` parameter must also be provided. If values are not defined in the `content_variables` parameter, the [Template's default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates) are used. -**Tags** | **string** | A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. The object may contain up to 10 tags. Keys and values can each be up to 128 characters in length. **RiskCheck** | **string** | **From** | **string** | The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belongs to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool. **MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service's Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool. diff --git a/rest/api/v2010/docs/ApiV2010Message.md b/rest/api/v2010/docs/ApiV2010Message.md index 49f8b68cd..7515aa336 100644 --- a/rest/api/v2010/docs/ApiV2010Message.md +++ b/rest/api/v2010/docs/ApiV2010Message.md @@ -24,7 +24,6 @@ Name | Type | Description | Notes **PriceUnit** | Pointer to **string** | The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format (e.g. `usd`, `eur`, `jpy`). | **ApiVersion** | Pointer to **string** | The API version used to process the Message | **SubresourceUris** | Pointer to **map[string]interface{}** | A list of related resources identified by their URIs relative to `https://api.twilio.com` | -**Tags** | Pointer to **interface{}** | A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rest/api/v2010/model_api_v2010_message.go b/rest/api/v2010/model_api_v2010_message.go index 026a74aa1..53b4f74ae 100644 --- a/rest/api/v2010/model_api_v2010_message.go +++ b/rest/api/v2010/model_api_v2010_message.go @@ -54,6 +54,4 @@ type ApiV2010Message struct { ApiVersion *string `json:"api_version,omitempty"` // A list of related resources identified by their URIs relative to `https://api.twilio.com` SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"` - // A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. - Tags *interface{} `json:"tags,omitempty"` } diff --git a/rest/autopilot/v1/README.md b/rest/autopilot/v1/README.md index 09820bed7..946ae5d7c 100644 --- a/rest/autopilot/v1/README.md +++ b/rest/autopilot/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/bulkexports/v1/README.md b/rest/bulkexports/v1/README.md index 7d356b94d..24bc2a4e1 100644 --- a/rest/bulkexports/v1/README.md +++ b/rest/bulkexports/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/chat/v1/README.md b/rest/chat/v1/README.md index 6d33b51f3..2dbc0a06e 100644 --- a/rest/chat/v1/README.md +++ b/rest/chat/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/chat/v2/README.md b/rest/chat/v2/README.md index 8f9225c78..79a41c2b5 100644 --- a/rest/chat/v2/README.md +++ b/rest/chat/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/chat/v3/README.md b/rest/chat/v3/README.md index c045db803..205f1677a 100644 --- a/rest/chat/v3/README.md +++ b/rest/chat/v3/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/content/v1/README.md b/rest/content/v1/README.md index bec0d518b..26c20e1d4 100644 --- a/rest/content/v1/README.md +++ b/rest/content/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/conversations/v1/README.md b/rest/conversations/v1/README.md index 2aa565b7b..8cda383ff 100644 --- a/rest/conversations/v1/README.md +++ b/rest/conversations/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/events/v1/README.md b/rest/events/v1/README.md index c8f88ae2d..e7145a523 100644 --- a/rest/events/v1/README.md +++ b/rest/events/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/flex/v1/README.md b/rest/flex/v1/README.md index f63cd3a80..1aaaa3187 100644 --- a/rest/flex/v1/README.md +++ b/rest/flex/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/flex/v2/README.md b/rest/flex/v2/README.md index ad07d6c47..a5fa3c566 100644 --- a/rest/flex/v2/README.md +++ b/rest/flex/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/frontline/v1/README.md b/rest/frontline/v1/README.md index f3691a499..ebbf1f7f7 100644 --- a/rest/frontline/v1/README.md +++ b/rest/frontline/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/insights/v1/README.md b/rest/insights/v1/README.md index 6286297d2..108967a5e 100644 --- a/rest/insights/v1/README.md +++ b/rest/insights/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/intelligence/v2/README.md b/rest/intelligence/v2/README.md index b772cb49f..c6313357a 100644 --- a/rest/intelligence/v2/README.md +++ b/rest/intelligence/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/ip_messaging/v1/README.md b/rest/ip_messaging/v1/README.md index 596ebc0a7..c51763771 100644 --- a/rest/ip_messaging/v1/README.md +++ b/rest/ip_messaging/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/ip_messaging/v2/README.md b/rest/ip_messaging/v2/README.md index 65f9cd170..7b392eeaf 100644 --- a/rest/ip_messaging/v2/README.md +++ b/rest/ip_messaging/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/lookups/v1/README.md b/rest/lookups/v1/README.md index 485c03a9e..3c362cce3 100644 --- a/rest/lookups/v1/README.md +++ b/rest/lookups/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/lookups/v2/README.md b/rest/lookups/v2/README.md index 422214c05..9d8e92132 100644 --- a/rest/lookups/v2/README.md +++ b/rest/lookups/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/media/v1/README.md b/rest/media/v1/README.md index 58dc7f95c..a082fb1c0 100644 --- a/rest/media/v1/README.md +++ b/rest/media/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/messaging/v1/README.md b/rest/messaging/v1/README.md index 85c1afa46..9e4733662 100644 --- a/rest/messaging/v1/README.md +++ b/rest/messaging/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/microvisor/v1/README.md b/rest/microvisor/v1/README.md index 4d0724d58..64d952617 100644 --- a/rest/microvisor/v1/README.md +++ b/rest/microvisor/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/monitor/v1/README.md b/rest/monitor/v1/README.md index da21a4343..be4567c87 100644 --- a/rest/monitor/v1/README.md +++ b/rest/monitor/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/notify/v1/README.md b/rest/notify/v1/README.md index 7baba9486..55abf1b7b 100644 --- a/rest/notify/v1/README.md +++ b/rest/notify/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/numbers/v1/README.md b/rest/numbers/v1/README.md index 5c42141b9..c96d91dfd 100644 --- a/rest/numbers/v1/README.md +++ b/rest/numbers/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/numbers/v2/README.md b/rest/numbers/v2/README.md index f8c743052..76e7e11c2 100644 --- a/rest/numbers/v2/README.md +++ b/rest/numbers/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/oauth/v1/README.md b/rest/oauth/v1/README.md index 5f2e6c824..05e352ac2 100644 --- a/rest/oauth/v1/README.md +++ b/rest/oauth/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/pricing/v1/README.md b/rest/pricing/v1/README.md index be37b8272..d88aeea9a 100644 --- a/rest/pricing/v1/README.md +++ b/rest/pricing/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/pricing/v2/README.md b/rest/pricing/v2/README.md index 8e09fa27d..04afd64be 100644 --- a/rest/pricing/v2/README.md +++ b/rest/pricing/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/proxy/v1/README.md b/rest/proxy/v1/README.md index 9bce20025..75ede7fa6 100644 --- a/rest/proxy/v1/README.md +++ b/rest/proxy/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/routes/v2/README.md b/rest/routes/v2/README.md index ba64e827d..c30f4f84d 100644 --- a/rest/routes/v2/README.md +++ b/rest/routes/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/serverless/v1/README.md b/rest/serverless/v1/README.md index fbab34c81..f8c707192 100644 --- a/rest/serverless/v1/README.md +++ b/rest/serverless/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/studio/v1/README.md b/rest/studio/v1/README.md index 222363734..5ccf8ed3e 100644 --- a/rest/studio/v1/README.md +++ b/rest/studio/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/studio/v2/README.md b/rest/studio/v2/README.md index c3cc76739..207655dc8 100644 --- a/rest/studio/v2/README.md +++ b/rest/studio/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/supersim/v1/README.md b/rest/supersim/v1/README.md index 0c07408a4..fb8d13b3e 100644 --- a/rest/supersim/v1/README.md +++ b/rest/supersim/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/sync/v1/README.md b/rest/sync/v1/README.md index 315bc7dd4..5b219e675 100644 --- a/rest/sync/v1/README.md +++ b/rest/sync/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/taskrouter/v1/README.md b/rest/taskrouter/v1/README.md index 32670aa25..3846952f5 100644 --- a/rest/taskrouter/v1/README.md +++ b/rest/taskrouter/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/trunking/v1/README.md b/rest/trunking/v1/README.md index 166464257..d40880dc9 100644 --- a/rest/trunking/v1/README.md +++ b/rest/trunking/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/trusthub/v1/README.md b/rest/trusthub/v1/README.md index 4e69dd33c..b3eeed903 100644 --- a/rest/trusthub/v1/README.md +++ b/rest/trusthub/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) @@ -31,6 +31,8 @@ All URIs are relative to *https://trusthub.twilio.com* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- +*ComplianceInquiriesCustomersInitializeApi* | [**CreateComplianceInquiry**](docs/ComplianceInquiriesCustomersInitializeApi.md#createcomplianceinquiry) | **Post** /v1/ComplianceInquiries/Customers/Initialize | +*ComplianceInquiriesCustomersInitializeApi* | [**UpdateComplianceInquiry**](docs/ComplianceInquiriesCustomersInitializeApi.md#updatecomplianceinquiry) | **Post** /v1/ComplianceInquiries/Customers/{CustomerId}/Initialize | *CustomerProfilesApi* | [**CreateCustomerProfile**](docs/CustomerProfilesApi.md#createcustomerprofile) | **Post** /v1/CustomerProfiles | *CustomerProfilesApi* | [**DeleteCustomerProfile**](docs/CustomerProfilesApi.md#deletecustomerprofile) | **Delete** /v1/CustomerProfiles/{Sid} | *CustomerProfilesApi* | [**FetchCustomerProfile**](docs/CustomerProfilesApi.md#fetchcustomerprofile) | **Get** /v1/CustomerProfiles/{Sid} | @@ -106,6 +108,7 @@ Class | Method | HTTP request | Description - [TrusthubV1Policies](docs/TrusthubV1Policies.md) - [ListCustomerProfileEvaluationResponse](docs/ListCustomerProfileEvaluationResponse.md) - [TrusthubV1TrustProductEvaluation](docs/TrusthubV1TrustProductEvaluation.md) + - [TrusthubV1ComplianceInquiry](docs/TrusthubV1ComplianceInquiry.md) - [ListPoliciesResponse](docs/ListPoliciesResponse.md) - [ListTrustProductResponse](docs/ListTrustProductResponse.md) - [ListCustomerProfileChannelEndpointAssignmentResponse](docs/ListCustomerProfileChannelEndpointAssignmentResponse.md) diff --git a/rest/trusthub/v1/compliance_inquiries_customers_initialize.go b/rest/trusthub/v1/compliance_inquiries_customers_initialize.go new file mode 100644 index 000000000..abe6880a2 --- /dev/null +++ b/rest/trusthub/v1/compliance_inquiries_customers_initialize.go @@ -0,0 +1,96 @@ +/* + * This code was generated by + * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ + * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ + * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ + * + * Twilio - Trusthub + * This is the public Twilio REST API. + * + * NOTE: This class is auto generated by OpenAPI Generator. + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package openapi + +import ( + "encoding/json" + "net/url" + "strings" +) + +// Optional parameters for the method 'CreateComplianceInquiry' +type CreateComplianceInquiryParams struct { + // The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile. + PrimaryProfileSid *string `json:"PrimaryProfileSid,omitempty"` +} + +func (params *CreateComplianceInquiryParams) SetPrimaryProfileSid(PrimaryProfileSid string) *CreateComplianceInquiryParams { + params.PrimaryProfileSid = &PrimaryProfileSid + return params +} + +// Create a new Compliance Inquiry for the authenticated account. This is necessary to start a new embedded session. +func (c *ApiService) CreateComplianceInquiry(params *CreateComplianceInquiryParams) (*TrusthubV1ComplianceInquiry, error) { + path := "/v1/ComplianceInquiries/Customers/Initialize" + + data := url.Values{} + headers := make(map[string]interface{}) + + if params != nil && params.PrimaryProfileSid != nil { + data.Set("PrimaryProfileSid", *params.PrimaryProfileSid) + } + + resp, err := c.requestHandler.Post(c.baseURL+path, data, headers) + if err != nil { + return nil, err + } + + defer resp.Body.Close() + + ps := &TrusthubV1ComplianceInquiry{} + if err := json.NewDecoder(resp.Body).Decode(ps); err != nil { + return nil, err + } + + return ps, err +} + +// Optional parameters for the method 'UpdateComplianceInquiry' +type UpdateComplianceInquiryParams struct { + // The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile. + PrimaryProfileSid *string `json:"PrimaryProfileSid,omitempty"` +} + +func (params *UpdateComplianceInquiryParams) SetPrimaryProfileSid(PrimaryProfileSid string) *UpdateComplianceInquiryParams { + params.PrimaryProfileSid = &PrimaryProfileSid + return params +} + +// Resume a specific Compliance Inquiry that has expired, or re-open a rejected Compliance Inquiry for editing. +func (c *ApiService) UpdateComplianceInquiry(CustomerId string, params *UpdateComplianceInquiryParams) (*TrusthubV1ComplianceInquiry, error) { + path := "/v1/ComplianceInquiries/Customers/{CustomerId}/Initialize" + path = strings.Replace(path, "{"+"CustomerId"+"}", CustomerId, -1) + + data := url.Values{} + headers := make(map[string]interface{}) + + if params != nil && params.PrimaryProfileSid != nil { + data.Set("PrimaryProfileSid", *params.PrimaryProfileSid) + } + + resp, err := c.requestHandler.Post(c.baseURL+path, data, headers) + if err != nil { + return nil, err + } + + defer resp.Body.Close() + + ps := &TrusthubV1ComplianceInquiry{} + if err := json.NewDecoder(resp.Body).Decode(ps); err != nil { + return nil, err + } + + return ps, err +} diff --git a/rest/trusthub/v1/docs/ComplianceInquiriesCustomersInitializeApi.md b/rest/trusthub/v1/docs/ComplianceInquiriesCustomersInitializeApi.md new file mode 100644 index 000000000..0ef223dcc --- /dev/null +++ b/rest/trusthub/v1/docs/ComplianceInquiriesCustomersInitializeApi.md @@ -0,0 +1,92 @@ +# ComplianceInquiriesCustomersInitializeApi + +All URIs are relative to *https://trusthub.twilio.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateComplianceInquiry**](ComplianceInquiriesCustomersInitializeApi.md#CreateComplianceInquiry) | **Post** /v1/ComplianceInquiries/Customers/Initialize | +[**UpdateComplianceInquiry**](ComplianceInquiriesCustomersInitializeApi.md#UpdateComplianceInquiry) | **Post** /v1/ComplianceInquiries/Customers/{CustomerId}/Initialize | + + + +## CreateComplianceInquiry + +> TrusthubV1ComplianceInquiry CreateComplianceInquiry(ctx, optional) + + + +Create a new Compliance Inquiry for the authenticated account. This is necessary to start a new embedded session. + +### Path Parameters + +This endpoint does not need any path parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a CreateComplianceInquiryParams struct + + +Name | Type | Description +------------- | ------------- | ------------- +**PrimaryProfileSid** | **string** | The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile. + +### Return type + +[**TrusthubV1ComplianceInquiry**](TrusthubV1ComplianceInquiry.md) + +### Authorization + +[accountSid_authToken](../README.md#accountSid_authToken) + +### HTTP request headers + +- **Content-Type**: application/x-www-form-urlencoded +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateComplianceInquiry + +> TrusthubV1ComplianceInquiry UpdateComplianceInquiry(ctx, CustomerIdoptional) + + + +Resume a specific Compliance Inquiry that has expired, or re-open a rejected Compliance Inquiry for editing. + +### Path Parameters + + +Name | Type | Description +------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**CustomerId** | **string** | The unique CustomerId matching the Customer Profile/Compliance Inquiry that should be resumed or resubmitted. This value will have been returned by the initial Compliance Inquiry creation call. + +### Other Parameters + +Other parameters are passed through a pointer to a UpdateComplianceInquiryParams struct + + +Name | Type | Description +------------- | ------------- | ------------- +**PrimaryProfileSid** | **string** | The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile. + +### Return type + +[**TrusthubV1ComplianceInquiry**](TrusthubV1ComplianceInquiry.md) + +### Authorization + +[accountSid_authToken](../README.md#accountSid_authToken) + +### HTTP request headers + +- **Content-Type**: application/x-www-form-urlencoded +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/rest/trusthub/v1/docs/TrusthubV1ComplianceInquiry.md b/rest/trusthub/v1/docs/TrusthubV1ComplianceInquiry.md new file mode 100644 index 000000000..7a5e914b7 --- /dev/null +++ b/rest/trusthub/v1/docs/TrusthubV1ComplianceInquiry.md @@ -0,0 +1,14 @@ +# TrusthubV1ComplianceInquiry + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**InquiryId** | Pointer to **string** | The unique ID used to start an embedded compliance registration session. | +**InquirySessionToken** | Pointer to **string** | The session token used to start an embedded compliance registration session. | +**CustomerId** | Pointer to **string** | The CustomerID matching the Customer Profile that should be resumed or resubmitted for editing. | +**Url** | Pointer to **string** | The URL of this resource. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/rest/trusthub/v1/model_trusthub_v1_compliance_inquiry.go b/rest/trusthub/v1/model_trusthub_v1_compliance_inquiry.go new file mode 100644 index 000000000..9a85d718e --- /dev/null +++ b/rest/trusthub/v1/model_trusthub_v1_compliance_inquiry.go @@ -0,0 +1,27 @@ +/* + * This code was generated by + * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ + * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ + * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ + * + * Twilio - Trusthub + * This is the public Twilio REST API. + * + * NOTE: This class is auto generated by OpenAPI Generator. + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package openapi + +// TrusthubV1ComplianceInquiry struct for TrusthubV1ComplianceInquiry +type TrusthubV1ComplianceInquiry struct { + // The unique ID used to start an embedded compliance registration session. + InquiryId *string `json:"inquiry_id,omitempty"` + // The session token used to start an embedded compliance registration session. + InquirySessionToken *string `json:"inquiry_session_token,omitempty"` + // The CustomerID matching the Customer Profile that should be resumed or resubmitted for editing. + CustomerId *string `json:"customer_id,omitempty"` + // The URL of this resource. + Url *string `json:"url,omitempty"` +} diff --git a/rest/verify/v2/README.md b/rest/verify/v2/README.md index 2b9f1b093..93eb473f9 100644 --- a/rest/verify/v2/README.md +++ b/rest/verify/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/video/v1/README.md b/rest/video/v1/README.md index 66c72ae76..d9af69c68 100644 --- a/rest/video/v1/README.md +++ b/rest/video/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/voice/v1/README.md b/rest/voice/v1/README.md index 538976fad..87e5ef2dc 100644 --- a/rest/voice/v1/README.md +++ b/rest/voice/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/wireless/v1/README.md b/rest/wireless/v1/README.md index 642e63f2a..50713be88 100644 --- a/rest/wireless/v1/README.md +++ b/rest/wireless/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.50.0 +- API version: 1.50.1 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com)