diff --git a/.speakeasy/logs/changes/changes.html b/.speakeasy/logs/changes/changes.html index b600849d0..b63c077d9 100644 --- a/.speakeasy/logs/changes/changes.html +++ b/.speakeasy/logs/changes/changes.html @@ -4,7 +4,7 @@ - SDK Changelog - python + SDK Changelog - go -

Python SDK Changes:

+

Go SDK Changes:

\ No newline at end of file diff --git a/.speakeasy/logs/changes/changes.md b/.speakeasy/logs/changes/changes.md index 41e8dd646..6f7d3e9fb 100644 --- a/.speakeasy/logs/changes/changes.md +++ b/.speakeasy/logs/changes/changes.md @@ -1,142 +1,28 @@ -## Python SDK Changes: -* `outpost.attempts.list()`: `error` **Changed** (Breaking ⚠️) - - `` **Added** - - `status[422]` **Removed** (Breaking ⚠️) - - `status[500]` **Added** -* `outpost.destinations.list_attempts()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** (Breaking ⚠️) - - `` **Added** - - `status[401]` **Added** - - `status[422]` **Removed** (Breaking ⚠️) - - `status[500]` **Added** -* `outpost.publish.event()`: `error` **Changed** (Breaking ⚠️) - - `` **Added** - - `status[400]` **Removed** (Breaking ⚠️) -* `outpost.destinations.get_attempt()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.tenants.list_tenants()`: - * `request` **Changed** (Breaking ⚠️) - - `created_at[gte]` **Removed** (Breaking ⚠️) - - `created_at[lte]` **Removed** (Breaking ⚠️) - - `dir` **Added** - - `direction` **Changed** (Breaking ⚠️) - - `next_cursor` **Removed** (Breaking ⚠️) - - `order_by` **Removed** (Breaking ⚠️) - - `prev_cursor` **Removed** (Breaking ⚠️) - - `prev` **Added** - * `error` **Changed** (Breaking ⚠️) - - `` **Added** - - `additional_properties` **Added** - - `error` **Removed** (Breaking ⚠️) - - `message` **Added** - - `status[500]` **Added** -* `outpost.tenants.upsert()`: - * `request` **Changed** (Breaking ⚠️) - - `metadata` **Added** - - `params` **Removed** (Breaking ⚠️) - - `tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `status[401]` **Added** - - `status[422]` **Added** - - `status[500]` **Added** -* `outpost.tenants.get()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.tenants.delete()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.tenants.get_portal_url()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.tenants.get_token()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.events.list()`: - * `response.models[].successful_at` **Removed** (Breaking ⚠️) - * `error` **Changed** (Breaking ⚠️) - - `` **Added** - - `status[422]` **Removed** (Breaking ⚠️) - - `status[500]` **Added** -* `outpost.events.get()`: - * `response.successful_at` **Removed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.destinations.disable()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.destinations.enable()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.destinations.update()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** (Breaking ⚠️) - - `` **Added** - - `status[400]` **Removed** (Breaking ⚠️) - - `status[401]` **Added** - - `status[422]` **Added** - - `status[500]` **Added** -* `outpost.destinations.list()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.destinations.create()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** (Breaking ⚠️) - - `` **Added** - - `status[400]` **Removed** (Breaking ⚠️) - - `status[401]` **Added** - - `status[422]` **Added** - - `status[500]` **Added** -* `outpost.destinations.get()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.attempts.retry()`: `error` **Changed** (Breaking ⚠️) - - `` **Added** - - `status[401]` **Added** - - `status[422]` **Removed** (Breaking ⚠️) - - `status[500]` **Added** -* `outpost.destinations.delete()`: - * `request.tenant_id` **Changed** (Breaking ⚠️) - * `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.schemas.list_destination_types()`: **Added** -* `outpost.schemas.get_destination_type()`: **Added** -* `outpost.attempts.get()`: `error` **Changed** - - `` **Added** - - `status[401]` **Added** - - `status[500]` **Added** -* `outpost.schemas.get_destination_type_jwt()`: **Removed** (Breaking ⚠️) -* `outpost.schemas.list_destination_types_jwt()`: **Removed** (Breaking ⚠️) -* `outpost.topics.list()`: `error.status[401]` **Added** +## Go SDK Changes: +* `Outpost.Events.List()`: `request.Request` **Changed** (Breaking ⚠️) + - `Id` **Added** + - `TenantId` **Changed** (Breaking ⚠️) + - `Time[gt]` **Added** + - `Time[lt]` **Added** + - `Topic` **Changed** (Breaking ⚠️) +* `Outpost.Attempts.List()`: `request.Request` **Changed** (Breaking ⚠️) + - `DestinationId` **Changed** (Breaking ⚠️) + - `EventId` **Changed** (Breaking ⚠️) + - `Include` **Changed** (Breaking ⚠️) + - `TenantId` **Changed** (Breaking ⚠️) + - `Time[gt]` **Added** + - `Time[lt]` **Added** + - `Topic` **Changed** (Breaking ⚠️) +* `Outpost.Attempts.Get()`: `request.Include` **Changed** (Breaking ⚠️) +* `Outpost.Destinations.List()`: `request` **Changed** (Breaking ⚠️) + - `Topics` **Changed** (Breaking ⚠️) + - `Type` **Changed** (Breaking ⚠️) +* `Outpost.Destinations.ListAttempts()`: `request.Request` **Changed** (Breaking ⚠️) + - `EventId` **Changed** (Breaking ⚠️) + - `Include` **Changed** (Breaking ⚠️) + - `Time[gt]` **Added** + - `Time[lt]` **Added** + - `Topic` **Changed** (Breaking ⚠️) +* `Outpost.Destinations.GetAttempt()`: `request.Include` **Changed** (Breaking ⚠️) +* `Outpost.Tenants.List()`: **Added** +* `Outpost.Tenants.ListTenants()`: **Removed** (Breaking ⚠️) diff --git a/.speakeasy/logs/changes/new.openapi.yaml b/.speakeasy/logs/changes/new.openapi.yaml index 04e5dc68f..494d08c0f 100644 --- a/.speakeasy/logs/changes/new.openapi.yaml +++ b/.speakeasy/logs/changes/new.openapi.yaml @@ -204,13 +204,11 @@ components: nullable: true description: Cursor for the next page of results. Null if no more results. example: "MTcwNDA2NzIwMA==" - x-speakeasy-name-override: "next_cursor" prev: type: string nullable: true description: Cursor for the previous page of results. Null if on first page. example: null - x-speakeasy-name-override: "prev_cursor" APIErrorResponse: type: object description: Standard error response format. @@ -2207,6 +2205,14 @@ paths: When authenticated with a Tenant JWT, returns only the authenticated tenant. Pagination is not used in this case. operationId: listTenants parameters: + - name: id + in: query + required: false + schema: + type: array + items: + type: string + description: Filter tenants by ID(s). Use bracket notation for multiple values (e.g., `id[0]=t1&id[1]=t2` or `id[]=t1&id[]=t2`). - name: limit in: query required: false @@ -2230,7 +2236,6 @@ paths: schema: type: string description: Cursor for the next page of results. Mutually exclusive with `prev`. - x-speakeasy-name-override: "direction" - name: prev in: query required: false @@ -2278,6 +2283,8 @@ paths: error: type: string example: "list tenant not supported" + x-speakeasy-name-override: list + x-speakeasy-max-method-params: 0 security: - BearerAuth: [] x-speakeasy-pagination: @@ -2385,22 +2392,33 @@ paths: When authenticated with Admin API Key, returns events across all tenants. Use `tenant_id` query parameter to filter by tenant. operationId: listEvents parameters: + - name: id + in: query + required: false + schema: + type: array + items: + type: string + description: Filter events by ID(s). Use bracket notation for multiple values (e.g., `id[0]=abc&id[1]=def`). - name: tenant_id in: query required: false schema: - type: string - description: Filter events by tenant ID. If not provided, returns events from all tenants. + type: array + items: + type: string + description: | + Filter events by tenant ID(s). Use bracket notation for multiple values (e.g., `tenant_id[0]=t1&tenant_id[1]=t2`). + When authenticated with a Tenant JWT, this parameter is ignored and the JWT's tenant is used. + If not provided with API key auth, returns events from all tenants. - name: topic in: query required: false schema: - oneOf: - - type: string - - type: array - items: - type: string - description: Filter events by topic(s). Can be specified multiple times or comma-separated. + type: array + items: + type: string + description: Filter events by topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). - name: time[gte] in: query required: false @@ -2415,6 +2433,20 @@ paths: type: string format: date-time description: Filter events with time <= value (RFC3339 or YYYY-MM-DD format). + - name: time[gt] + in: query + required: false + schema: + type: string + format: date-time + description: Filter events with time > value (RFC3339 or YYYY-MM-DD format). + - name: time[lt] + in: query + required: false + schema: + type: string + format: date-time + description: Filter events with time < value (RFC3339 or YYYY-MM-DD format). - name: limit in: query required: false @@ -2430,14 +2462,12 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: order_by in: query required: false @@ -2454,7 +2484,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of events. @@ -2558,20 +2587,29 @@ paths: in: query required: false schema: - type: string - description: Filter attempts by tenant ID. If not provided, returns attempts from all tenants. + type: array + items: + type: string + description: | + Filter attempts by tenant ID(s). Use bracket notation for multiple values (e.g., `tenant_id[0]=t1&tenant_id[1]=t2`). + When authenticated with a Tenant JWT, this parameter is ignored and the JWT's tenant is used. + If not provided with API key auth, returns attempts from all tenants. - name: event_id in: query required: false schema: - type: string - description: Filter attempts by event ID. + type: array + items: + type: string + description: Filter attempts by event ID(s). Use bracket notation for multiple values (e.g., `event_id[0]=e1&event_id[1]=e2`). - name: destination_id in: query required: false schema: - type: string - description: Filter attempts by destination ID. + type: array + items: + type: string + description: Filter attempts by destination ID(s). Use bracket notation for multiple values (e.g., `destination_id[0]=d1&destination_id[1]=d2`). - name: status in: query required: false @@ -2583,12 +2621,10 @@ paths: in: query required: false schema: - oneOf: - - type: string - - type: array - items: - type: string - description: Filter attempts by event topic(s). Can be specified multiple times or comma-separated. + type: array + items: + type: string + description: Filter attempts by event topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). - name: time[gte] in: query required: false @@ -2603,6 +2639,20 @@ paths: type: string format: date-time description: Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format). + - name: time[gt] + in: query + required: false + schema: + type: string + format: date-time + description: Filter attempts by event time > value (RFC3339 or YYYY-MM-DD format). + - name: time[lt] + in: query + required: false + schema: + type: string + format: date-time + description: Filter attempts by event time < value (RFC3339 or YYYY-MM-DD format). - name: limit in: query required: false @@ -2618,25 +2668,21 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false schema: - oneOf: - - type: string - - type: array - items: - type: string + type: array + items: + type: string description: | - Fields to include in the response. Can be specified multiple times or comma-separated. + Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) - `event.data`: Include full event with payload data - `response_data`: Include response body and headers @@ -2656,7 +2702,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts. @@ -2752,13 +2797,11 @@ paths: in: query required: false schema: - oneOf: - - type: string - - type: array - items: - type: string + type: array + items: + type: string description: | - Fields to include in the response. Can be specified multiple times or comma-separated. + Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) - `event.data`: Include full event with payload data - `response_data`: Include response body and headers @@ -2905,22 +2948,18 @@ paths: in: query required: false schema: - oneOf: - - $ref: "#/components/schemas/DestinationType" - - type: array - items: - $ref: "#/components/schemas/DestinationType" - description: Filter destinations by type(s). + type: array + items: + $ref: "#/components/schemas/DestinationType" + description: Filter destinations by type(s). Use bracket notation for multiple values (e.g., `type[0]=webhook&type[1]=aws_sqs`). - name: topics in: query required: false schema: - oneOf: - - type: string - - type: array - items: - type: string - description: Filter destinations by supported topic(s). + type: array + items: + type: string + description: Filter destinations by supported topic(s). Use bracket notation for multiple values (e.g., `topics[0]=user.created&topics[1]=user.deleted`). responses: "200": description: A list of destinations. @@ -3253,8 +3292,10 @@ paths: in: query required: false schema: - type: string - description: Filter attempts by event ID. + type: array + items: + type: string + description: Filter attempts by event ID(s). Use bracket notation for multiple values (e.g., `event_id[0]=e1&event_id[1]=e2`). - name: status in: query required: false @@ -3266,12 +3307,10 @@ paths: in: query required: false schema: - oneOf: - - type: string - - type: array - items: - type: string - description: Filter attempts by event topic(s). Can be specified multiple times or comma-separated. + type: array + items: + type: string + description: Filter attempts by event topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). - name: time[gte] in: query required: false @@ -3286,6 +3325,20 @@ paths: type: string format: date-time description: Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format). + - name: time[gt] + in: query + required: false + schema: + type: string + format: date-time + description: Filter attempts by event time > value (RFC3339 or YYYY-MM-DD format). + - name: time[lt] + in: query + required: false + schema: + type: string + format: date-time + description: Filter attempts by event time < value (RFC3339 or YYYY-MM-DD format). - name: limit in: query required: false @@ -3301,25 +3354,21 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false schema: - oneOf: - - type: string - - type: array - items: - type: string + type: array + items: + type: string description: | - Fields to include in the response. Can be specified multiple times or comma-separated. + Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) - `event.data`: Include full event with payload data - `response_data`: Include response body and headers @@ -3339,7 +3388,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts for the destination. @@ -3420,13 +3468,11 @@ paths: in: query required: false schema: - oneOf: - - type: string - - type: array - items: - type: string + type: array + items: + type: string description: | - Fields to include in the response. Can be specified multiple times or comma-separated. + Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). - `event`: Include event summary - `event.data`: Include full event with payload data - `response_data`: Include response body and headers diff --git a/.speakeasy/logs/changes/old.openapi.yaml b/.speakeasy/logs/changes/old.openapi.yaml index c2e4b718b..7f29c3eb2 100644 --- a/.speakeasy/logs/changes/old.openapi.yaml +++ b/.speakeasy/logs/changes/old.openapi.yaml @@ -2,14 +2,12 @@ openapi: 3.1.0 info: title: Outpost API version: "0.0.1" - description: The Outpost API is a REST-based JSON API for managing tenants, destinations, and publishing events. + description: | + The Outpost API is a REST-based JSON API for managing tenants, destinations, and publishing events. contact: name: Outpost Support email: support@hookdeck.com url: https://outpost.hookdeck.com/docs -security: - - AdminApiKey: [] - - TenantJwt: [] servers: - url: https://api.outpost.hookdeck.com/2025-07-01 description: Outpost API (production) @@ -17,33 +15,61 @@ servers: description: Local development server base path components: securitySchemes: - AdminApiKey: - type: http - scheme: bearer - description: Admin API Key configured via API_KEY environment variable. - TenantJwt: + BearerAuth: type: http scheme: bearer - bearerFormat: JWT + x-speakeasy-name-override: apiKey description: | - Per-tenant JWT token valid for 24 hours. + Bearer token for authentication. The SDK exposes a single "apiKey" parameter; its value can be either: - **JWT Structure:** - The token is a standard JWT signed with HS256 algorithm containing the following claims: - - `iss` (issuer): Always "outpost" - - `sub` (subject): The tenant_id this token is scoped to - - `iat` (issued at): Unix timestamp when the token was created - - `exp` (expiration): Unix timestamp when the token expires (24 hours after issuance) + **Admin API Key:** Static key configured via the `API_KEY` environment variable. + Required for admin operations (publishing events, managing tenants, generating tenant tokens). - **Example decoded payload:** - ```json - { - "iss": "outpost", - "sub": "tenant_123", - "iat": 1704067200, - "exp": 1704153600 - } - ``` + **JWT (tenant token):** Obtained via GET /tenants/{tenant_id}/token (requires Admin API Key). Valid for 24 hours, scoped to one tenant. + Use for tenant-scoped operations (e.g. listing destinations for that tenant). + responses: + BadRequest: + description: A collection of codes that generally means the end user got something wrong in making the request + content: + application/json: + schema: + $ref: "#/components/schemas/BadRequest" + Unauthorized: + description: A collection of codes that generally means the client was not authenticated correctly for the request they want to make + content: + application/json: + schema: + $ref: "#/components/schemas/Unauthorized" + NotFound: + description: Status codes relating to the resource/entity they are requesting not being found or endpoints/routes not existing + content: + application/json: + schema: + $ref: "#/components/schemas/NotFound" + ValidationError: + description: Request body fails validation. + content: + application/json: + schema: + $ref: "#/components/schemas/APIErrorResponse" + InternalServerError: + description: A collection of status codes that generally mean the server failed in an unexpected way + content: + application/json: + schema: + $ref: "#/components/schemas/InternalServerError" + RateLimited: + description: Status codes relating to the client being rate limited by the server + content: + application/json: + schema: + $ref: '#/components/schemas/RateLimited' + Timeout: + description: Timeouts occurred with the request + content: + application/json: + schema: + $ref: '#/components/schemas/Timeout' schemas: # Base Schemas Tenant: @@ -178,13 +204,11 @@ components: nullable: true description: Cursor for the next page of results. Null if no more results. example: "MTcwNDA2NzIwMA==" - x-speakeasy-name-override: "next_cursor" prev: type: string nullable: true description: Cursor for the previous page of results. Null if on first page. example: null - x-speakeasy-name-override: "prev_cursor" APIErrorResponse: type: object description: Standard error response format. @@ -1678,12 +1702,6 @@ components: format: date-time description: Time the event was received/processed. example: "2024-01-01T00:00:00Z" - successful_at: - type: string - format: date-time - nullable: true - description: Time the event was successfully delivered. - example: "2024-01-01T00:00:00Z" metadata: type: object nullable: true @@ -1968,43 +1986,6 @@ components: message: type: string additionalProperties: true - responses: - BadRequest: - description: A collection of codes that generally means the end user got something wrong in making the request - content: - application/json: - schema: - $ref: '#/components/schemas/BadRequest' - Unauthorized: - description: A collection of codes that generally means the client was not authenticated correctly for the request they want to make - content: - application/json: - schema: - $ref: '#/components/schemas/Unauthorized' - NotFound: - description: Status codes relating to the resource/entity they are requesting not being found or endpoints/routes not existing - content: - application/json: - schema: - $ref: '#/components/schemas/NotFound' - RateLimited: - description: Status codes relating to the client being rate limited by the server - content: - application/json: - schema: - $ref: '#/components/schemas/RateLimited' - InternalServerError: - description: A collection of status codes that generally mean the server failed in an unexpected way - content: - application/json: - schema: - $ref: '#/components/schemas/InternalServerError' - Timeout: - description: Timeouts occurred with the request - content: - application/json: - schema: - $ref: '#/components/schemas/Timeout' # Security is applied per-operation based on AuthScope tags: - name: Health @@ -2184,11 +2165,8 @@ paths: **Requirements:** This endpoint requires Redis with RediSearch module (e.g., `redis/redis-stack-server`). If RediSearch is not available, this endpoint returns `501 Not Implemented`. - The response includes lightweight tenant objects without computed fields like `destinations_count` and `topics`. - Use `GET /tenants/{tenant_id}` to retrieve full tenant details including these fields. + When authenticated with a Tenant JWT, returns only the authenticated tenant. Pagination is not used in this case. operationId: listTenants - security: - - AdminApiKey: [] parameters: - name: limit in: query @@ -2199,14 +2177,6 @@ paths: maximum: 100 default: 20 description: Number of tenants to return per page (1-100, default 20). - - name: order_by - in: query - required: false - schema: - type: string - enum: [created_at] - default: created_at - description: Field to sort by. - name: dir in: query required: false @@ -2215,35 +2185,18 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" - - name: created_at[gte] - in: query - required: false - schema: - type: string - format: date-time - description: Filter tenants created at or after this time (RFC3339 or YYYY-MM-DD format). - - name: created_at[lte] - in: query - required: false - schema: - type: string - format: date-time - description: Filter tenants created at or before this time (RFC3339 or YYYY-MM-DD format). - name: next in: query required: false schema: type: string description: Cursor for the next page of results. Mutually exclusive with `prev`. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for the previous page of results. Mutually exclusive with `next`. - x-speakeasy-name-override: "prev_cursor" responses: "200": description: List of tenants. @@ -2270,17 +2223,11 @@ paths: prev: null count: 42 "400": - description: Invalid request parameters (e.g., invalid cursor, both next and prev provided). - content: - application/json: - schema: - type: object - properties: - error: - type: string - example: "invalid cursor format" + $ref: "#/components/responses/BadRequest" "401": - description: Unauthorized (Admin API Key missing or invalid). + $ref: "#/components/responses/Unauthorized" + "500": + $ref: "#/components/responses/InternalServerError" "501": description: List Tenants feature is not available. Requires Redis with RediSearch module. content: @@ -2291,18 +2238,8 @@ paths: error: type: string example: "list tenant not supported" - x-speakeasy-pagination: - type: cursor - inputs: - - name: next - in: parameters - type: cursor - - name: limit - in: parameters - type: limit - outputs: - nextCursor: $.pagination.next - results: $.models + security: + - BearerAuth: [] /tenants/{tenant_id}: parameters: - name: tenant_id @@ -2336,7 +2273,12 @@ paths: application/json: schema: $ref: "#/components/schemas/Tenant" - # Add error responses + "401": + $ref: "#/components/responses/Unauthorized" + "422": + $ref: "#/components/responses/ValidationError" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: upsert get: tags: [Tenants] @@ -2350,9 +2292,12 @@ paths: application/json: schema: $ref: "#/components/schemas/Tenant" + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant not found. - # Add other error responses + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: get delete: tags: [Tenants] @@ -2370,22 +2315,23 @@ paths: SuccessExample: value: success: true + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant not found. - # Add other error responses + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: delete - # Admin-only endpoints (cross-tenant) /events: get: tags: [Events] - summary: List Events (Admin) + summary: List Events description: | - Retrieves a list of events across all tenants. This is an admin-only endpoint that requires the Admin API Key. + Retrieves a list of events. - When `tenant_id` is not provided, returns events from all tenants. When `tenant_id` is provided, returns only events for that tenant. - operationId: adminListEvents - security: - - AdminApiKey: [] + When authenticated with a Tenant JWT, returns only events belonging to that tenant. + When authenticated with Admin API Key, returns events across all tenants. Use `tenant_id` query parameter to filter by tenant. + operationId: listEvents parameters: - name: tenant_id in: query @@ -2432,14 +2378,12 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: order_by in: query required: false @@ -2456,7 +2400,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of events. @@ -2487,26 +2430,12 @@ paths: next: "MTcwNDA2NzIwMA==" prev: null "401": - description: Unauthorized (Admin API Key missing or invalid). - "422": - description: Validation error (invalid query parameters). - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" + $ref: "#/components/responses/Unauthorized" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: list - x-speakeasy-pagination: - type: cursor - inputs: - - name: next - in: parameters - type: cursor - - name: limit - in: parameters - type: limit - outputs: - nextCursor: $.pagination.next - results: $.models + security: + - BearerAuth: [] /events/{event_id}: parameters: - name: event_id @@ -2540,20 +2469,23 @@ paths: eligible_for_retry: false metadata: {"source": "crm"} data: {"user_id": "userid", "status": "active"} + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Event not found. + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: get /attempts: get: tags: [Attempts] - summary: List Attempts (Admin) + summary: List Attempts description: | - Retrieves a paginated list of attempts across all tenants. This is an admin-only endpoint that requires the Admin API Key. + Retrieves a paginated list of attempts. - When `tenant_id` is not provided, returns attempts from all tenants. When `tenant_id` is provided, returns only attempts for that tenant. - operationId: adminListAttempts - security: - - AdminApiKey: [] + When authenticated with a Tenant JWT, returns only attempts belonging to that tenant. + When authenticated with Admin API Key, returns attempts across all tenants. Use `tenant_id` query parameter to filter by tenant. + operationId: listAttempts parameters: - name: tenant_id in: query @@ -2619,14 +2551,12 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -2657,7 +2587,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts. @@ -2713,26 +2642,12 @@ paths: next: null prev: null "401": - description: Unauthorized (Admin API Key missing or invalid). - "422": - description: Validation error (invalid query parameters). - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" + $ref: "#/components/responses/Unauthorized" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: list - x-speakeasy-pagination: - type: cursor - inputs: - - name: next - in: parameters - type: cursor - - name: limit - in: parameters - type: limit - outputs: - nextCursor: $.pagination.next - results: $.models + security: + - BearerAuth: [] /attempts/{attempt_id}: parameters: - name: attempt_id @@ -2803,8 +2718,12 @@ paths: eligible_for_retry: false metadata: {"source": "crm"} data: {"user_id": "userid", "status": "active"} + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Attempt not found. + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: get /tenants/{tenant_id}/portal: parameters: @@ -2817,7 +2736,7 @@ paths: get: tags: [Tenants] summary: Get Portal Redirect URL - description: Returns a redirect URL containing a JWT to authenticate the user with the portal. + description: Returns a redirect URL containing a JWT to authenticate the user with the portal. Requires Admin API Key. operationId: getTenantPortalUrl parameters: - name: theme @@ -2839,10 +2758,15 @@ paths: value: redirect_url: "https://webhooks.acme.com/?token=JWT_TOKEN&tenant_id=tenant_123" tenant_id: "tenant_123" + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant not found. - # Add other error responses + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: getPortalUrl + security: + - BearerAuth: [] /tenants/{tenant_id}/token: parameters: - name: tenant_id @@ -2854,7 +2778,7 @@ paths: get: tags: [Tenants] summary: Get Tenant JWT Token - description: Returns a JWT token scoped to the tenant for safe browser API calls. + description: Returns a JWT token scoped to the tenant for safe browser API calls. Requires Admin API Key. operationId: getTenantToken responses: "200": @@ -2868,10 +2792,15 @@ paths: value: token: "SOME_JWT_TOKEN" tenant_id: "tenant_123" + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant not found. - # Add other error responses + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: getToken + security: + - BearerAuth: [] # Destinations /tenants/{tenant_id}/destinations: description: | @@ -2958,9 +2887,12 @@ paths: credentials: key: "AKIAIOSFODNN7EXAMPLE" secret: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant not found. - # Add other error responses + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: list post: tags: [Destinations] @@ -2994,11 +2926,14 @@ paths: credentials: secret: "whsec_abc123def456" # previous_secret and previous_secret_invalid_at are absent on creation - "400": - description: Invalid request body or configuration. + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant not found. - # Add other error responses (e.g., max destinations reached) + $ref: "#/components/responses/NotFound" + "422": + $ref: "#/components/responses/ValidationError" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: create /tenants/{tenant_id}/destinations/{destination_id}: parameters: @@ -3041,8 +2976,12 @@ paths: secret: "whsec_abc123def456" previous_secret: "whsec_prev789xyz012" previous_secret_invalid_at: "2024-02-16T10:00:00Z" + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant or Destination not found. + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: get patch: tags: [Destinations] @@ -3079,11 +3018,14 @@ paths: secret: "whsec_abc123def456" previous_secret: "whsec_prev789xyz012" previous_secret_invalid_at: "2024-02-16T10:00:00Z" - "400": - description: Invalid request body or configuration. + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant or Destination not found. - # Add other error responses + $ref: "#/components/responses/NotFound" + "422": + $ref: "#/components/responses/ValidationError" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: update delete: tags: [Destinations] @@ -3101,9 +3043,12 @@ paths: SuccessExample: value: success: true + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant or Destination not found. - # Add other error responses + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: delete /tenants/{tenant_id}/destinations/{destination_id}/enable: parameters: @@ -3146,9 +3091,12 @@ paths: secret: "whsec_abc123def456" previous_secret: "whsec_prev789xyz012" previous_secret_invalid_at: "2024-02-16T10:00:00Z" + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant or Destination not found. - # Add other error responses + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: enable /tenants/{tenant_id}/destinations/{destination_id}/disable: parameters: @@ -3191,9 +3139,12 @@ paths: secret: "whsec_abc123def456" previous_secret: "whsec_prev789xyz012" previous_secret_invalid_at: "2024-02-16T10:00:00Z" + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant or Destination not found. - # Add other error responses + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: disable # Destination-scoped Attempts /tenants/{tenant_id}/destinations/{destination_id}/attempts: @@ -3268,14 +3219,12 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -3306,7 +3255,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts for the destination. @@ -3338,27 +3286,13 @@ paths: limit: 100 next: "MTcwNDA2NzIwMA==" prev: null + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant or Destination not found. - "422": - description: Validation error (invalid query parameters). - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: listAttempts - x-speakeasy-pagination: - type: cursor - inputs: - - name: next - in: parameters - type: cursor - - name: limit - in: parameters - type: limit - outputs: - nextCursor: $.pagination.next - results: $.models /tenants/{tenant_id}/destinations/{destination_id}/attempts/{attempt_id}: parameters: - name: tenant_id @@ -3416,8 +3350,12 @@ paths: attempt_number: 1 event_id: "evt_123" destination_id: "des_456" + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Tenant, Destination, or Attempt not found. + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: getAttempt # Publish (Admin Only) /publish: @@ -3439,17 +3377,15 @@ paths: application/json: schema: $ref: "#/components/schemas/PublishResponse" - "400": - description: Invalid request body. "401": - description: Unauthorized (Admin API Key missing or invalid). + $ref: "#/components/responses/Unauthorized" "409": description: Conflict. An event with the provided `id` already exists. "422": - description: Unprocessable Entity. The event topic was either required or was invalid. - # Add other error responses - + description: The event topic was either required or was invalid. $ref: '#/components/responses/BadRequest' + "500": + $ref: "#/components/responses/InternalServerError" '413': $ref: '#/components/responses/BadRequest' '414': @@ -3474,8 +3410,6 @@ paths: $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/RateLimited' - '500': - $ref: '#/components/responses/InternalServerError' '502': $ref: '#/components/responses/InternalServerError' '503': @@ -3491,6 +3425,8 @@ paths: '504': $ref: '#/components/responses/Timeout' x-speakeasy-name-override: event + security: + - BearerAuth: [] # Retry /retry: post: @@ -3524,14 +3460,12 @@ paths: Bad request. This can happen when: - The destination is disabled - The destination does not match the event's topic + "401": + $ref: "#/components/responses/Unauthorized" "404": - description: Event or destination not found. - "422": - description: Validation error (missing required fields). - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: retry /destination-types: get: @@ -3568,7 +3502,9 @@ paths: config_fields: [{type: "text", label: "Queue URL", description: "The URL of the SQS queue.", required: true}, {type: "text", label: "Endpoint", description: "Optional custom AWS endpoint URL.", required: false}] credential_fields: [{type: "text", label: "Key", description: "AWS Access Key ID.", required: true, sensitive: true}, {type: "text", label: "Secret", description: "AWS Secret Access Key.", required: true, sensitive: true}, {type: "text", label: "Session", description: "Optional AWS Session Token.", required: false, sensitive: true}] "401": - description: Unauthorized (Tenant JWT missing or invalid). + $ref: "#/components/responses/Unauthorized" + "500": + $ref: "#/components/responses/InternalServerError" '400': $ref: '#/components/responses/BadRequest' '413': @@ -3597,8 +3533,6 @@ paths: $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/RateLimited' - '500': - $ref: '#/components/responses/InternalServerError' '502': $ref: '#/components/responses/InternalServerError' '503': @@ -3613,7 +3547,7 @@ paths: $ref: '#/components/responses/Timeout' '504': $ref: '#/components/responses/Timeout' - x-speakeasy-name-override: listDestinationTypesJwt + x-speakeasy-name-override: listDestinationTypes /destination-types/{type}: parameters: - name: type @@ -3621,7 +3555,7 @@ paths: required: true schema: type: string - enum: [webhook, aws_sqs, rabbitmq, hookdeck, aws_kinesis, aws_s3] + enum: [webhook, aws_sqs, rabbitmq, hookdeck, aws_kinesis, azure_servicebus, aws_s3, gcp_pubsub] description: The type of the destination. get: tags: [Schemas] @@ -3649,9 +3583,11 @@ paths: credential_fields: [{type: "text", label: "Secret", description: "Optional signing secret.", required: false, sensitive: true, # Added sensitive }] "401": - description: Unauthorized (Tenant JWT missing or invalid). + $ref: "#/components/responses/Unauthorized" "404": - description: Destination type not found. + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" '400': $ref: '#/components/responses/BadRequest' '413': @@ -3678,8 +3614,6 @@ paths: $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/RateLimited' - '500': - $ref: '#/components/responses/InternalServerError' '502': $ref: '#/components/responses/InternalServerError' '503': @@ -3694,7 +3628,7 @@ paths: $ref: '#/components/responses/Timeout' '504': $ref: '#/components/responses/Timeout' - x-speakeasy-name-override: getDestinationTypeJwt + x-speakeasy-name-override: getDestinationType /topics: get: tags: [Topics] @@ -3714,7 +3648,9 @@ paths: TopicsListExample: # Same as /{tenant_id}/topics example value: ["user.created", "user.updated", "order.shipped", "inventory.updated"] "401": - description: Unauthorized (Tenant JWT missing or invalid). + $ref: "#/components/responses/Unauthorized" + "500": + $ref: "#/components/responses/InternalServerError" '400': $ref: '#/components/responses/BadRequest' '413': @@ -3743,8 +3679,6 @@ paths: $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/RateLimited' - '500': - $ref: '#/components/responses/InternalServerError' '502': $ref: '#/components/responses/InternalServerError' '503': @@ -3760,9 +3694,5 @@ paths: '504': $ref: '#/components/responses/Timeout' x-speakeasy-name-override: list -x-speakeasy-globals: - parameters: - - name: tenant_id - in: path - schema: - type: string +security: + - BearerAuth: [] diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index f01e9e738..885269f07 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.741.7 +speakeasyVersion: 1.753.0 sources: Outpost API: sourceNamespace: outpost-api @@ -7,6 +7,13 @@ sources: tags: - latest - 0.0.1 + Outpost API (Go): + sourceNamespace: outpost-api + sourceRevisionDigest: sha256:649255030a0e1120fe4b710d403293016bd61346e5fb0a94e38454114cf424eb + sourceBlobDigest: sha256:5a43dbd084bff3cb38217baf4d335f968a2c0014b63e98da5342a074f1ad19ac + tags: + - latest + - 0.0.1 Outpost API (Python): sourceNamespace: outpost-api sourceRevisionDigest: sha256:d1d97af77bb9ab9b38089defb5744be7cc8910f1b03dc17317c01720dc0c7807 @@ -16,12 +23,12 @@ sources: - 0.0.1 targets: outpost-go: - source: Outpost API + source: Outpost API (Go) sourceNamespace: outpost-api - sourceRevisionDigest: sha256:837c1ec11841961c17673ee40729959fce25fb87c9ca09f822e2d88805b5556a - sourceBlobDigest: sha256:0210b5211be69672b9fdb4ed35188fd778a0fc3fad0a7f426d2f0f7d0fb86067 + sourceRevisionDigest: sha256:649255030a0e1120fe4b710d403293016bd61346e5fb0a94e38454114cf424eb + sourceBlobDigest: sha256:5a43dbd084bff3cb38217baf4d335f968a2c0014b63e98da5342a074f1ad19ac codeSamplesNamespace: outpost-api-go-code-samples - codeSamplesRevisionDigest: sha256:23dd5f36760106a03d1683e94c80a2a1299b2b2564c20e0e97c98df856f9d822 + codeSamplesRevisionDigest: sha256:5497485cd20e7b373d04847082f3154b2e0697617fa0cb05f18e0ecf734cd660 outpost-python: source: Outpost API (Python) sourceNamespace: outpost-api @@ -47,6 +54,18 @@ workflow: - location: ./sdks/schemas/speakeasy-modifications-overlay.yaml - location: ./sdks/schemas/security-collapse-overlay.yaml - location: ./sdks/schemas/error-types.yaml + - location: ./sdks/schemas/pagination-config-overlay.yaml + registry: + location: registry.speakeasyapi.dev/hookdeck-dev/outpost/outpost-api + Outpost API (Go): + inputs: + - location: ./docs/apis/openapi.yaml + overlays: + - location: ./sdks/schemas/speakeasy-modifications-overlay.yaml + - location: ./sdks/schemas/security-collapse-overlay.yaml + - location: ./sdks/schemas/error-types.yaml + - location: ./sdks/schemas/pagination-config-overlay.yaml + - location: ./sdks/schemas/go-array-params-overlay.yaml registry: location: registry.speakeasyapi.dev/hookdeck-dev/outpost/outpost-api Outpost API (Python): @@ -56,13 +75,14 @@ workflow: - location: ./sdks/schemas/speakeasy-modifications-overlay.yaml - location: ./sdks/schemas/security-collapse-overlay.yaml - location: ./sdks/schemas/error-types.yaml - - location: ./sdks/schemas/pagination-fixes-overlay.yaml + - location: ./sdks/schemas/pagination-config-overlay.yaml + - location: ./sdks/schemas/python-pagination-fixes-overlay.yaml registry: location: registry.speakeasyapi.dev/hookdeck-dev/outpost/outpost-api targets: outpost-go: target: go - source: Outpost API + source: Outpost API (Go) output: ./sdks/outpost-go codeSamples: registry: diff --git a/sdks/outpost-go/.speakeasy/gen.lock b/sdks/outpost-go/.speakeasy/gen.lock index 34c6bbed1..d87d524b1 100644 --- a/sdks/outpost-go/.speakeasy/gen.lock +++ b/sdks/outpost-go/.speakeasy/gen.lock @@ -1,28 +1,28 @@ lockVersion: 2.0.0 id: f0627709-5a00-43ac-8678-ca716d6f379c management: - docChecksum: 4d871f0d5196e38d0c8198b92566a660 + docChecksum: 7e20fdf7c3883f789b51123b26930b4b docVersion: 0.0.1 - speakeasyVersion: 1.741.7 - generationVersion: 2.849.10 - releaseVersion: 0.7.0 - configChecksum: 9a08166d60fea2f275ea254f096a7243 + speakeasyVersion: 1.753.0 + generationVersion: 2.862.0 + releaseVersion: 0.8.0 + configChecksum: 1b4ad99ab978d199eb74ecd45f9832a0 repoURL: https://github.com/hookdeck/outpost.git repoSubDirectory: sdks/outpost-go installationURL: https://github.com/hookdeck/outpost persistentEdits: - generation_id: 2b0c1bfc-e83f-4d73-bfb4-2619a262922e - pristine_commit_hash: ddda03ef3fa5b2760ce6f26dba3ce2708ac0d1e1 - pristine_tree_hash: e101b8934ac05abf4c06023b7a76bdc83ac0a859 + generation_id: 9af00e67-b1d9-43d1-b605-72620af1b098 + pristine_commit_hash: 2eea143646696ddcaf3509287f5755ce502bccc2 + pristine_tree_hash: 901e2d63ee5a0ae0967135aa16c0495ca6bd809a features: go: additionalDependencies: 0.1.0 additionalProperties: 0.1.2 constsAndDefaults: 0.1.14 - core: 3.13.21 + core: 3.13.36 defaultEnabledRetries: 0.2.0 envVarSecurityUsage: 0.3.2 - flattening: 2.81.1 + flattening: 2.81.2 globalSecurity: 2.82.13 globalSecurityCallbacks: 0.1.0 globalSecurityFlattening: 0.1.0 @@ -30,10 +30,11 @@ features: intellisenseMarkdownSupport: 0.1.0 nameOverrides: 2.81.4 nullables: 0.2.1 + pagination: 2.82.6 responseFormat: 0.1.2 retries: 2.84.2 sdkHooks: 0.3.0 - unions: 2.87.4 + unions: 2.87.6 trackedFiles: .gitattributes: id: 24139dae6567 @@ -45,120 +46,120 @@ trackedFiles: pristine_git_object: 302b1c4952b4902140fcd2a6b900b887733b3255 attempts.go: id: f21bf72dadf3 - last_write_checksum: sha1:7895cea50bc5b13210446578ecef983830244387 - pristine_git_object: e73d6bff0d135613ad89c0159727bb2c4068cce7 + last_write_checksum: sha1:45a334f5b7b228c14d107fc4c03e8be237b8a6e1 + pristine_git_object: 51208c5f6ff4c90b9f7c5e2a18d9d940de93eae4 destinations.go: id: c850727f8555 - last_write_checksum: sha1:a3481909a736005ec9489a1994180116d7ed0f37 - pristine_git_object: 5baf66257d2227f7fb921b963cf019d93de1190f + last_write_checksum: sha1:e9dc75a06c150e1ea29a7135fb98f9a178396c5c + pristine_git_object: cbb3003a11505d5e808d31630ddc1476fd05209c docs/models/apierrors/apierrorresponse.md: id: 739350d59d57 - last_write_checksum: sha1:c1763e8bb2f7038564bd24fcf75907c9cafb7339 - pristine_git_object: 4938273ae615f55c838a56777e70fe34d387abb9 + last_write_checksum: sha1:f4f3ad72f98c6ddcc7f0af8fe5f3ba8504de4295 + pristine_git_object: ed0b0a8818e221359809c15c25a07a332410cc5a docs/models/apierrors/badrequesterror.md: id: fdf908c95e30 - last_write_checksum: sha1:362a01f53f1ba6bac8d882037dba09d2e5d62101 - pristine_git_object: d8d170516d1f43504aa5803f620e52181f35b4db + last_write_checksum: sha1:36252e7a9c669512b88827832b7e6fcf22a6d95c + pristine_git_object: 5a89097ca1db9a536fd46fdec3f27bd03e6f6433 docs/models/apierrors/data.md: id: b84e013a761b last_write_checksum: sha1:bc4542a82c9175e749a69f413b9ea50562c98973 pristine_git_object: ba31fbfa358abd70cc3b3a3d210591f5b08ba1ad docs/models/apierrors/internalservererror.md: id: 7a7cb4efafe1 - last_write_checksum: sha1:33e3ea91cdd2c0d2496336eca3904c919c2beaeb - pristine_git_object: 7c02f93b9027b41cfead6324176c24b189898765 + last_write_checksum: sha1:68496fa457c1b87a18775b2b502fd8375ac97d76 + pristine_git_object: 2cc606976f9f024ff104daa630ea418c8155759d docs/models/apierrors/notfounderror.md: id: a9227f3be4de - last_write_checksum: sha1:580d893f8b049005869db6d02fd001df0b736fb0 - pristine_git_object: 2d4800dc3efa4d9bfd679e62587613f5e836fd10 + last_write_checksum: sha1:da4cf1c61fd2a483aa456a8e11932042a8233408 + pristine_git_object: 1774dcd94e2d1c6e071015b383005b98532d344d docs/models/apierrors/notimplementederror.md: id: b34831256c44 - last_write_checksum: sha1:113191fcb09828c39f7d483418180c269dd59e99 - pristine_git_object: 9f5d1df8fcc9c5782c6f340570f58717e27609e1 + last_write_checksum: sha1:c0af3d1b64a14a0c8e8b397ee93e5c1e89181e2e + pristine_git_object: 74bb78a045b90c4a503c9f06362596bde0519812 docs/models/apierrors/ratelimitederror.md: id: acffc0addc25 - last_write_checksum: sha1:9bf0799f09fd90784eadb926cee239bc8cad1bac - pristine_git_object: ba1212522ecead4c6fd4ff95d58fcdf8c7baf78d + last_write_checksum: sha1:6ed5f4a6adb2c5e71e2776ea2626e5184609f59b + pristine_git_object: 2a1d777cc670f20d07b175aab7343ad9b53b3bf6 docs/models/apierrors/timeouterror.md: id: "882443261215" - last_write_checksum: sha1:75439face10b78893dccc3c43cb180b4aefc4d6f - pristine_git_object: d6328241c04810fb0d0c939619e17fb12b94a11b + last_write_checksum: sha1:29924eabaefe5d127eeae62cad94b99729d218d3 + pristine_git_object: d3622c91b5031b0c0f7423a78fc517bd39feadcd docs/models/apierrors/unauthorizederror.md: id: 8177276c47f6 - last_write_checksum: sha1:8ea8a428be0a9903760f7789bdf42507abdf6356 - pristine_git_object: 8bf81c350d071860d4f5041552b3579b61fcb706 + last_write_checksum: sha1:c3429df603f2a1fa1478106b07ef78ad15a40f17 + pristine_git_object: 71ddaa3bff7c43aa01c16c3b89c30ab09e66f732 docs/models/components/attempt.md: id: 830868ab1006 - last_write_checksum: sha1:e21cb5e29a991432652585552f76437aa02b0d3e - pristine_git_object: ddc649136e1b34eb9f9fb6177b450d856700a2de + last_write_checksum: sha1:44985e03a38582e104feba2385c7ac86836be6c9 + pristine_git_object: 8372100a137f4b73f15c3dd6d867e54c8cd6c7e5 docs/models/components/attemptpaginatedresult.md: id: 56e122fd3059 last_write_checksum: sha1:7a3213bad4fe3fe5d00a55b1355eee275c5cc588 pristine_git_object: d938cfcf80e8a12ffa0d66f0d0dd3db53ff6bd9e docs/models/components/awskinesisconfig.md: id: e1381238f2b5 - last_write_checksum: sha1:cf99b0464ca9ab356074db22911f719dc184bbd3 - pristine_git_object: f9bc4733239b6caa0c3dd70b10a28930e82d1fa5 + last_write_checksum: sha1:6f93858ba7363c4eec23d1988ae162b2fe3dd058 + pristine_git_object: 93c706e4395ba6289e625dd569ed82928cf5a173 docs/models/components/awskinesiscredentials.md: id: 3ab813efa2d5 - last_write_checksum: sha1:470737ea8033be3ae291cba589af2e96a3735a48 - pristine_git_object: 3f4856f8b9733600c18bf0bac693b120f7304d13 + last_write_checksum: sha1:d01fc75779c26e538f05e4866860d4b48e7ae7a4 + pristine_git_object: 1b663ee36803916e875deeee467fcc5748d5f9ec docs/models/components/awss3config.md: id: 14eb9dea39a9 - last_write_checksum: sha1:a569eba2e1a689cafa0bd5964b3dd1d7849d8e0e - pristine_git_object: 5296ae614d0d9d8249f3f85532955818b57aa14c + last_write_checksum: sha1:38927f15e08eca9bb47e5f9ce6062544047bbd57 + pristine_git_object: 0fd08f477b94eddee7901d14f9bf92f2fa87030d docs/models/components/awss3credentials.md: id: b95017cfda5f - last_write_checksum: sha1:6ab1ba737ecdaca80b22ce6869b9f98206a5a594 - pristine_git_object: db0ef61e5228cdd9b5cc8efffea68cfa32f87bf0 + last_write_checksum: sha1:9e7f47ecba1064606896318188f6827b7e58e561 + pristine_git_object: 50d1f119b9195ab936f6e2849c8c13c142bf1a16 docs/models/components/awssqsconfig.md: id: ea7025d155f5 - last_write_checksum: sha1:5be741961c7b3b5039ccd81f2347794cd3f25b6c - pristine_git_object: 6b2fb0ac471089c285cb58ea2beff0948b3771dd + last_write_checksum: sha1:0ff93a47a64a15f5d2ebaa2ca7eee741161fd5be + pristine_git_object: e0844ae444c4442bd2d504e22ee5b975b758ed15 docs/models/components/awssqscredentials.md: id: d0c7fdf810bb - last_write_checksum: sha1:c6f35a38f1185636547a9f0921c218b8cacce93e - pristine_git_object: d53059fcbbefc354559d03f156113b45fbd9ea4d + last_write_checksum: sha1:1639d457c352cae099c9ee68d5b85680343ee2dd + pristine_git_object: 7af5f6c8ff8e9f454abc72ceb9b62b027d941320 docs/models/components/azureservicebusconfig.md: id: b59836904ced - last_write_checksum: sha1:d7d80ae36e63f2d4857317bcc53d226c750f3a6d - pristine_git_object: 6f4da0b89ed91666a8da397af8625d2859d2c464 + last_write_checksum: sha1:d988307df4a3cab9943c12e1a62ae32a2811fc55 + pristine_git_object: d4e218a9ac1afb346cc7abcd953ca6ce84058d72 docs/models/components/azureservicebuscredentials.md: id: 321716ccc7a5 - last_write_checksum: sha1:fe53a51bb6665de557ad18f4a1fbe4c1f5a39fea - pristine_git_object: d5cf2705b49d23943d92561ef29d85b9b0b89eeb + last_write_checksum: sha1:cdf548b245892d38b3ec22a95e49ce3d0972da93 + pristine_git_object: 3df747ff9a9b803700fd61cf4183978b3e9cdeef docs/models/components/destination.md: id: e8bd99c21e69 last_write_checksum: sha1:350f0d8ea2e1ab170113771e84b864a730b66ffc pristine_git_object: 4c3965fd480e717ec0a60afc35797dc0d6715cb5 docs/models/components/destinationawskinesis.md: id: b14a0a005618 - last_write_checksum: sha1:71d91d2e90b36e1d10aed9cf7dec5d8b7606f0f1 - pristine_git_object: e16cc5498b0a6a2a4b3c474e51bfa7a50b9a793d + last_write_checksum: sha1:62f97d830561dd76c9fbbda4a88ca5c455f533bc + pristine_git_object: e933dd5fe627ee0287bf6db1be9e53bbcd433413 docs/models/components/destinationawskinesistype.md: id: bcee015e58a9 last_write_checksum: sha1:b9951247da199aea74c93f86ab57b4237d72d41a pristine_git_object: edb6251b826ee6c3dc4ffabe7310ec4b0794cb5a docs/models/components/destinationawss3.md: id: 906ec923f423 - last_write_checksum: sha1:41aea8049156e32cbf25b0d49dc57fe41b12509e - pristine_git_object: b29b7b6d07c8e83f4cefb092a4cb5ec6e27ee791 + last_write_checksum: sha1:425e3454ac8f3e7190268057dbda76f8c4144d05 + pristine_git_object: 4d6aa5328b3d1ea052312dcc855bfe1c2631a8df docs/models/components/destinationawss3type.md: id: a0a8c1c43c1e last_write_checksum: sha1:bfd94b18c2604daa8c60435ce5617367f6b75e0b pristine_git_object: 574cf5df39e6ea0322b9879cb062fddbafdcc6d2 docs/models/components/destinationawssqs.md: id: 3a958a8ebec9 - last_write_checksum: sha1:6ca5e274278e4a59ada271ad81393ca3f7cf2393 - pristine_git_object: 3969bcd7dded079c6d1533f045234626fd6c67d4 + last_write_checksum: sha1:85d36f61b406cbccbbd51d241669f7bb5039df30 + pristine_git_object: ab35a50603f5cdf6b483ac7f4387d592809193be docs/models/components/destinationawssqstype.md: id: 26c8eec5f1a2 last_write_checksum: sha1:191822f7c6437691a4d169f095619bcd7582ad74 pristine_git_object: 3e5168c821dde0205748389fae0626ebf86a16b6 docs/models/components/destinationazureservicebus.md: id: fcf6d1e4ce40 - last_write_checksum: sha1:c57848507bafc702de1034907d33f36560da4ce9 - pristine_git_object: 4afad88b011ea57a8c4c269dd4a604ec170b14d6 + last_write_checksum: sha1:51395393b5f98d01c68d4ca072e8b1a9cd110dcf + pristine_git_object: 5851a457bdf229caf1f2db0786d1c8ec1e8be038 docs/models/components/destinationazureservicebustype.md: id: 293590e753b9 last_write_checksum: sha1:d65d7d74b01a0860dd32a3d88a857fa6594c80f7 @@ -169,96 +170,96 @@ trackedFiles: pristine_git_object: 5e2c9b7544da0b891f698792d6f635e59bc28101 docs/models/components/destinationcreateawskinesis.md: id: 5593f1bd5e1a - last_write_checksum: sha1:190fb294e57c396e6af485597c5e0ae4b3e16b8a - pristine_git_object: 9f22bd60c6d445b70ce23bd5fefdc96e0402b029 + last_write_checksum: sha1:0125192fed84d249b68625303aee08e3e8446037 + pristine_git_object: aad8f6376bbda2c882c36b72a1e32228f7e4cf8c docs/models/components/destinationcreateawskinesistype.md: id: 6956680339a0 last_write_checksum: sha1:ccfe37b5aec6c9cc151a70e4c9a83badcebf0ce9 pristine_git_object: 0a54ef9a6fd668ebc2e658bacb3556cdb18a4f5e docs/models/components/destinationcreateawss3.md: id: af91634b61a0 - last_write_checksum: sha1:814e2e7b82719b1d58d143cf41645dc677b71c93 - pristine_git_object: 7cc1f9286bcd5a3c87cf60ffa20d49b2b9a1a287 + last_write_checksum: sha1:51b6f02473b54fd6f6ef46ef46e29b48dd84e9da + pristine_git_object: 31584eeb5f39f4167fb2d08867598a37bd420b02 docs/models/components/destinationcreateawss3type.md: id: 6877bf7e23ec last_write_checksum: sha1:15f7ecdaf26e36c0293c8da23599a38b81bc3be0 pristine_git_object: 3c81a08e5b289348be136baa3a104afbfda0abae docs/models/components/destinationcreateawssqs.md: id: c6b726f0ec14 - last_write_checksum: sha1:f22cc6466a6ba3984ae5cdee31d604e0588a1b51 - pristine_git_object: 93b498dff4c9fb75bbf83e62abf8d8366a5b4181 + last_write_checksum: sha1:45c5a26844320e44eac61ec521738e72456ea78d + pristine_git_object: eecbeeb4d1a3457adf36d3e39ff8f696d1c9dc7d docs/models/components/destinationcreateawssqstype.md: id: 1ef234381d5e last_write_checksum: sha1:6fa312b73dffdacc62b2d05b264d3b6794da974f pristine_git_object: 31eab2ef4c64390f168a4ff6808d7e1e3b685089 docs/models/components/destinationcreateazureservicebus.md: id: 89472b979d07 - last_write_checksum: sha1:0e5d4e382df5a1b86d3bb33c72d15ada5f49d67b - pristine_git_object: 145d743f97428c394b815e2ffc3535a11eb01e72 + last_write_checksum: sha1:9b10557fa6c1d5a450a56cc5f7861c8fdd176ea6 + pristine_git_object: 5fe116788751bb37b186bc2778cac87c114395c8 docs/models/components/destinationcreateazureservicebustype.md: id: 7bcec8499967 last_write_checksum: sha1:4556330df57f6e8afb09b8f70ba8899214a33373 pristine_git_object: 45c69a88d58579d1450876db00bb913772b61f28 docs/models/components/destinationcreategcppubsub.md: id: 83e1ebef3406 - last_write_checksum: sha1:9bf1ea1dbb0587052e92482de3a633b96c4a06c0 - pristine_git_object: 4662ffff4506f0011518d17c6ece166e67717e4f + last_write_checksum: sha1:17ab9a956520f9a1e7faa163dcb326d738d00861 + pristine_git_object: 93232f9e81efc3f1c62834bb3d45be6871391d0a docs/models/components/destinationcreategcppubsubtype.md: id: dc2f412568a7 last_write_checksum: sha1:b6e81a8cdb239107506d6f7c6a946f0e980623f8 pristine_git_object: 2d821818d1265a121a3386844818bb679079a4db docs/models/components/destinationcreatehookdeck.md: id: a06f19b079ed - last_write_checksum: sha1:014acf64344a4379d5f169f26b294aeea19e9449 - pristine_git_object: 62533d7295ad883d241a303aec76be10cc292516 + last_write_checksum: sha1:851456d2490cd7888b742569d679485171612621 + pristine_git_object: 0fe9439f594dc2023a92940c70a47d180dd5c2f3 docs/models/components/destinationcreatehookdecktype.md: id: 7633062252b9 last_write_checksum: sha1:6ca9d40f2c4eac5e7d540c5c0e0a7bc4e4a73d6d pristine_git_object: 034fb5298041b5d42008c7a5a8a86c2fb50002cb docs/models/components/destinationcreaterabbitmq.md: id: 3f95bd0221e2 - last_write_checksum: sha1:7e73eed773d2c243ed62e18e50b735c677078819 - pristine_git_object: 199d3e8155680de95247ca56bdc54d00fb4b47b6 + last_write_checksum: sha1:30b5e784a9e8be45a55f6c6e0d8aaa8efa68fd61 + pristine_git_object: 61052e292a25514bc252adfa208c11647e742693 docs/models/components/destinationcreaterabbitmqtype.md: id: 71cf19ccfc8b last_write_checksum: sha1:f66d756b3e5f4321643ee26fe4b6963fda64828f pristine_git_object: fb92b828c9737d6279145a208f79df0fb41d8fe0 docs/models/components/destinationcreatewebhook.md: id: 92e4ccbf4461 - last_write_checksum: sha1:bf66f3775b6408f665d108370b841a49d63292b1 - pristine_git_object: a2a3d587bca7c0db19b475e4c366458932f10683 + last_write_checksum: sha1:ec800f8f3b996f99185ad3ca22156c1eeb23b2e9 + pristine_git_object: 364b611de8376b0f9a0647030e202875d18d3b68 docs/models/components/destinationcreatewebhooktype.md: id: b112cbdd9f49 last_write_checksum: sha1:d2446eb8980f8027afd9b4e8e96007077a3c9fed pristine_git_object: 4fc8c45179cd9ceed9f9f38c4df532d6dd9257e8 docs/models/components/destinationgcppubsub.md: id: 557a06720b9c - last_write_checksum: sha1:52bc8e3e9f23a5486a73a7c70d44bf6e7cb5db34 - pristine_git_object: 6a3dd54fc937455b50d276d6e60488111ba23cae + last_write_checksum: sha1:5b71670868eca67fbde6558701091bb6e9e8a390 + pristine_git_object: b36dab407ee9a79fa0eb84d583653c77787fde0f docs/models/components/destinationgcppubsubtype.md: id: 534d34c1b5da last_write_checksum: sha1:9565b47deb99273e373e3983629e5f98c28fdf3f pristine_git_object: f5c90e98edde70281d4069d65b2a3670b44134ff docs/models/components/destinationhookdeck.md: id: 96d7701b7615 - last_write_checksum: sha1:3fe17761bd6d094740f466d6ac0144953fd2c8db - pristine_git_object: 08ea58e7984c5be614b4da4b20d01a2527a06886 + last_write_checksum: sha1:e3390bd56f1efd437898f273dfd1789c426e9f48 + pristine_git_object: d3d840aabadc0ba553c5dd78688dde19d27b6934 docs/models/components/destinationhookdecktype.md: id: 20b93e4b32a3 last_write_checksum: sha1:ab3d845bedfc96d091498992ae82bcd6cfffea82 pristine_git_object: d72769fda77f452e8007b6da877a37180280a18b docs/models/components/destinationrabbitmq.md: id: 30c699fde40a - last_write_checksum: sha1:e88989176a10b0c449f6896c59091eabf781869d - pristine_git_object: 9b223805f8e95fc6bbc3888667fb1b222a25f9b4 + last_write_checksum: sha1:0dcf9fc63721214306b398c485afe8779e30c172 + pristine_git_object: b26eaa02bc12b3263a48fe32e627c0edc795a8f5 docs/models/components/destinationrabbitmqtype.md: id: 36f7e64c4fe6 last_write_checksum: sha1:a9dfc1e02b50445b35ecabab2959b9b18ecb4367 pristine_git_object: 1a5def774b0efc716abde6898019259201fda495 docs/models/components/destinationschemafield.md: id: 4d759c96e266 - last_write_checksum: sha1:5f8ead0c5e997500934e4eb9f0f8ecac0903d7e8 - pristine_git_object: bd2112c0165b874677c47a4e570440976989bbb7 + last_write_checksum: sha1:d37c49fe6aa2ce205a7d06c0c0ac5cf7ddd2d1a5 + pristine_git_object: eecb304b06eeefe79bfe49006cfc8c9585968e11 docs/models/components/destinationschemafieldtype.md: id: a3bc014869f3 last_write_checksum: sha1:33e186a363ae7e65ad31eb5a724562c4fecfbc80 @@ -269,48 +270,48 @@ trackedFiles: pristine_git_object: 229a2f732428877a183f0205dda8171b51292bc2 docs/models/components/destinationtypeschema.md: id: f83242f4d690 - last_write_checksum: sha1:fe308b3f042e556e6c1b74e4c57f549dffe4d131 - pristine_git_object: 7867f978cd9ac4190393e847d58c2fc8aef7866a + last_write_checksum: sha1:a2a8041d6f053cfea704dc26d0f03bc08048e14e + pristine_git_object: 91aad493574c6bf4b2350be987ce1d90c10ff319 docs/models/components/destinationupdate.md: id: b3a23ab3e68a last_write_checksum: sha1:d0cf642554a17c4142f7ed036ca78f5de3d1afbd pristine_git_object: 5b8f272ba14323e2abec5e49b8b4be353093569f docs/models/components/destinationupdateawskinesis.md: id: e0a4842ef74c - last_write_checksum: sha1:e29d1039baf679bf461220027039a92926111699 - pristine_git_object: 793158dfab2f1300c4819f4e8de95cff07fdcf97 + last_write_checksum: sha1:f32d7121436d90814331a6b39c34927fe4287f53 + pristine_git_object: b13b636ebb383a3f29b173c8ad66e7d48ccdba40 docs/models/components/destinationupdateawss3.md: id: c250ff90df94 - last_write_checksum: sha1:51c9cb8fedceaeb68198908d9b07ac43bffb480e - pristine_git_object: f155e243aaea1bb3efd843c655ead455d4f4ea51 + last_write_checksum: sha1:fa7279d98f5afedc69f830cc6d1aacbd77386320 + pristine_git_object: 16e05ecfc0e7106e28615c8f500259b23e41d3d0 docs/models/components/destinationupdateawssqs.md: id: e2401ded4e44 - last_write_checksum: sha1:51d544b7e10f7425de8b21dd0a887b46158273dd - pristine_git_object: 0cccef37878f0f029188ae11593c31e4c0211f42 + last_write_checksum: sha1:61cc0e69e790611b2c871663a81c60f472b877ba + pristine_git_object: 5b13b770ea003934c8460f7e7ab67f680d69dbde docs/models/components/destinationupdateazureservicebus.md: id: f230709db383 - last_write_checksum: sha1:57d2348802a1dd738b8debafc82cca22c56ae175 - pristine_git_object: 19a3327f3f1a576b74fa1537b91fb597b241a69a + last_write_checksum: sha1:3f0aac2c67a64c968cb3caa313b27d2948fcd136 + pristine_git_object: 24102c10037aef31844ce9dc616e74b3b17c171f docs/models/components/destinationupdategcppubsub.md: id: dfb954a0431a - last_write_checksum: sha1:47b4f2f2786ad447189b9602a609ff56618001bf - pristine_git_object: 51ef6c08d26da8124e4fea3b16f0c765c46499d3 + last_write_checksum: sha1:10f0b9cdeec080cb15bcd98eab9e080cc0fc76cd + pristine_git_object: dda5442e7cd92dfcf8ccb51175f6bca477c8ff3e docs/models/components/destinationupdatehookdeck.md: id: 2d0fe3ebe94f - last_write_checksum: sha1:78d12cfd08c62c18901f522f9b4a4fcc75bc49a9 - pristine_git_object: b21d1005e87466c44c6bac842c714b83b53dd041 + last_write_checksum: sha1:6d34803b934d73c2105c949e58582266251dc805 + pristine_git_object: abbda56e127f24701a69a162d64544b2dd4b97a4 docs/models/components/destinationupdaterabbitmq.md: id: 75ae8e40dfd5 - last_write_checksum: sha1:f63dd96a037a47d7191c06feb174dcd22aedc922 - pristine_git_object: 2e0157b9233436c48e86c565c6a1a726a6e9c2c6 + last_write_checksum: sha1:123bf6722088d0ae10583eb24e57a2a15a8316a8 + pristine_git_object: 09fc793183626d5866b79f2fa7d068186652ac13 docs/models/components/destinationupdatewebhook.md: id: 86013f6d41fd - last_write_checksum: sha1:3bbd9c456e832806daa69ba6c55391516c14a3b1 - pristine_git_object: 96a4cc016cb626afa3f07a9593e5060a2529181d + last_write_checksum: sha1:1f7552281379c2530951774d5ca77c96ae697c7f + pristine_git_object: 9dc06b944e3eb8ce23be4394f15a5bcef07a8841 docs/models/components/destinationwebhook.md: id: 1b6ca867dbc9 - last_write_checksum: sha1:2ef6ccae030d9097bfe6892121f708615cce5295 - pristine_git_object: 1333ef4b6668a6652b8b3c6c96214610fde20136 + last_write_checksum: sha1:1c91508fa6f9d2f96e52eed59e9d739a31cd8a0e + pristine_git_object: 4fc1c851f4c2ea73e352529d3cde0a06de29898c docs/models/components/destinationwebhooktype.md: id: 9af3df11d0a9 last_write_checksum: sha1:011daec8699debd918c086819320e74e8f7061f8 @@ -321,96 +322,96 @@ trackedFiles: pristine_git_object: 6a8ddbb1a4e13ef6f0c0dbce182c961d934b2542 docs/models/components/event.md: id: 0593e0f6a673 - last_write_checksum: sha1:d4e7159602026bbf70cff961f2bbfc18322a7fba - pristine_git_object: eaf59f69d43be2b1569617cefda80e2d13a9c1e3 + last_write_checksum: sha1:ddc636c4318578b1d7deb47b44d860fc1fe42122 + pristine_git_object: 8fa6165345202e089c3ff7078353b39c0fd50961 docs/models/components/eventfull.md: id: 75e5dcb8f7e4 - last_write_checksum: sha1:cbf15e445b7df0515f8ef6e0f2e3797f7c2c136a - pristine_git_object: f27f98863e2ee166e209b7637c6bd2e7dc8f7763 + last_write_checksum: sha1:2b20ca3b36b0e0d93f2074fec8b2323064d14071 + pristine_git_object: f431c607e98771fe07164b9f3aa8a0f3bf48c2b4 docs/models/components/eventpaginatedresult.md: id: da7af284fd49 last_write_checksum: sha1:7aeab717d0d74b3a90491135686c39554cea7067 pristine_git_object: a064f1d015a4180505bd20ffd49c5301822d7649 docs/models/components/eventsummary.md: id: 1a9a28919205 - last_write_checksum: sha1:2e2705806eb7ba8591d143e0621be8c22ce7e701 - pristine_git_object: 077d2f6ab1b2457541f1cbff8c25059f71fc9806 + last_write_checksum: sha1:504d68ff9284d164de0ea65fc6d55788abd7337a + pristine_git_object: fac32a588a737cb4a699e1fed06eca4c90f82dec docs/models/components/eventunion.md: id: c1dabc25bfe2 last_write_checksum: sha1:c56149d6871c5abf055706ac29e716ad83a90f17 pristine_git_object: 1cd39c4db1faa073fd9c0247aef881dbf690b78e docs/models/components/gcppubsubconfig.md: id: 77b79c449da7 - last_write_checksum: sha1:5aa83eee176747bdf0304b093f02d4ff4a94dbda - pristine_git_object: 3455e10f9b719d38b4022901c75a09ec75e27c89 + last_write_checksum: sha1:34a7e4539a20119564f02f26f9ef272031b9db94 + pristine_git_object: a8f579fb83f8b289bda50e5d677931872b5fabc4 docs/models/components/gcppubsubcredentials.md: id: 5d3ac2925858 - last_write_checksum: sha1:e31d44aa42fb438e50691c4d9bef5f2e7925175d - pristine_git_object: e5a2e9e72ed5cf0d007039fc462c6dde7acf1b0b + last_write_checksum: sha1:90d77e50a5033b11b1150febda74cf999f3bf19e + pristine_git_object: 605e1019e4f6d0d04d2b8ca8dd3872a08bf4505c docs/models/components/hookdeckcredentials.md: id: a80eb3867695 - last_write_checksum: sha1:a896df64075553c9d09a540af8936a05d3e778e5 - pristine_git_object: 62ddadf03a916b25435ededfe1c03f1b75923059 + last_write_checksum: sha1:dc3df301aa6c8f57df9b9ae44bbf49e388bffba7 + pristine_git_object: e35047829e62a8aeddd197a41a9c6fcc1b80ccb7 docs/models/components/httpmetadata.md: id: 728948c70168 last_write_checksum: sha1:7c40945dac218ce5e5e11e7c907d27a3ea14c417 pristine_git_object: df1fdd59f3c85e4ba70573ff7954b12ac1d33d08 docs/models/components/portalredirect.md: id: bd1e51e1707f - last_write_checksum: sha1:2b96fcbe0003d74a768dac204446b46d5cd13dd2 - pristine_git_object: 768eb5c98107c22d273f285fdbed327ca8a2e878 + last_write_checksum: sha1:f14dc9ef3182ec15849c2d2a56cc2db18fe1b8b4 + pristine_git_object: a88ea6f6917e70127f4d9a753f8b5115c5bb8915 docs/models/components/publishrequest.md: id: 2a23e49f8f3f - last_write_checksum: sha1:9b1247ab5933b487da2fd86f9e27beb0232ac45e - pristine_git_object: 61f6946bbb1099277703d7c41d26cc368c713ce3 + last_write_checksum: sha1:3082cd7198d80de2652ea3e994dad97a49fbe114 + pristine_git_object: d2529ac9c3ed5849a0791781b93a898674f4b55a docs/models/components/publishresponse.md: id: e31e05fdaf9a - last_write_checksum: sha1:57c2dfca59b86764aa64b711b11d010746485231 - pristine_git_object: 768acd278e5f2e345d66ac981cc6ca95f12ba4e4 + last_write_checksum: sha1:5075f693a2e371ae1e397bd3cd2832fdc7b822ff + pristine_git_object: 79886ae3c7543777bc6364787819d868726f88b2 docs/models/components/rabbitmqconfig.md: id: b754a3c2f712 - last_write_checksum: sha1:bc0cde827dd8191d20f53709d810c96f139b7170 - pristine_git_object: aca91aa6254990b2e2da232dc5ac3aca569c9385 + last_write_checksum: sha1:31bd3f8072ee6c5eff0e95c76c44a776f990ca23 + pristine_git_object: 2e7c1fe46dc8c56d4c76e610539d10966d124ef9 docs/models/components/rabbitmqcredentials.md: id: ff67acc94cd3 - last_write_checksum: sha1:fe4394a2c02b5a03f5dcd833274ce8fde0cfa334 - pristine_git_object: 5fa7182a77baac0d46c7ef0a255e7f190c587568 + last_write_checksum: sha1:e26e1289e89e5810c959eb1f34b90e3620edb325 + pristine_git_object: 6ac827d5ab899d9aaf8e27777ebafe979e90152d docs/models/components/retryrequest.md: id: c8b7d065a709 - last_write_checksum: sha1:9a0490017ed0e406296ee55532ffd10b68310c5e - pristine_git_object: 956cda4e69aa2dd6119ff2197dc0424b05f96241 + last_write_checksum: sha1:3b8705ea15f8cd0e9ed84423a892e7a658776fc1 + pristine_git_object: e6cf5862b3eb9921c6fda83d135eedd32abbcd07 docs/models/components/security.md: id: 54906b49ea28 - last_write_checksum: sha1:cadabc1b22a6818f73817229cf80dfa1a16e812f - pristine_git_object: 07f77c436f214aca4e0eebc7c2e7701048904960 + last_write_checksum: sha1:17e398b2abd89b7459f07c9ff820a7cc7c7b7bb7 + pristine_git_object: 634e6368385c203eacc61b1d31e40bf72b7dca0e docs/models/components/seekpagination.md: id: 72fb642d581e - last_write_checksum: sha1:0a5301b90ad3b4f0c096d158f6d38a5719a58417 - pristine_git_object: ed2043e20abc84edc44d318c8199a490f62b4ad8 + last_write_checksum: sha1:2046286ebddba829e80bfca90f5919df073b18fa + pristine_git_object: 2fa256633b6f45fd5777a77e5f2649dc5c4965c8 docs/models/components/status.md: id: e26b2fe7f53e last_write_checksum: sha1:1a148b4f55864be26e9a1e46d261e7d51c5caff4 pristine_git_object: 06cf0179165162a7b9535d5ac324f934e752a474 docs/models/components/successresponse.md: id: 1ae417c0a56f - last_write_checksum: sha1:75f1b243b3ef273c05ef2508005915b9a7fe2567 - pristine_git_object: 621589d968145c22ff055564e30371e2aad8494b + last_write_checksum: sha1:7ee43334698bb00024ad62299e0830d40822d47f + pristine_git_object: 5e7beb9ca698fe92e1677bac37f8153ecbb84f0a docs/models/components/tenant.md: id: a8a770edd971 - last_write_checksum: sha1:c21d0475b2131f17c3c68d232612e6f24f7cc9b1 - pristine_git_object: b2626a9f61c0a68ac2e6a8a10a0029380de492d4 + last_write_checksum: sha1:5908a2211b2ccd4d1e79b2e35c746e0ceda12750 + pristine_git_object: 547730418a376980e97138463538b89db95348cb docs/models/components/tenantpaginatedresult.md: id: 5b83463bf265 - last_write_checksum: sha1:a4de93d4ffb7620379261b162a6e946fb3d36018 - pristine_git_object: 14d128c442355f2005ce7eb239e57a051b657a04 + last_write_checksum: sha1:7f2aeb0b9c69fcf8f108bd7512a671ece8882ed0 + pristine_git_object: c3d1f9a7e71548ef459a5840916ed7447dc74d2d docs/models/components/tenanttoken.md: id: "107345815042" - last_write_checksum: sha1:bc9b14e980febc671b7fa28149ed8f639c879146 - pristine_git_object: 1a68f6f232776d106ade3239e60461d51ccd55f3 + last_write_checksum: sha1:4115968d51456f91ebc13202f9740ef705974e49 + pristine_git_object: f97a806c7f328599b141669c3794a86cfd454c33 docs/models/components/tenantupsert.md: id: c61842c48e12 - last_write_checksum: sha1:da315846fc460a96dd2cf37e6929c0a7e8a288a7 - pristine_git_object: 4d2bab11ba14705a8b46a70e7910265dab0bbaff + last_write_checksum: sha1:6a29be85293e3a462982c51475f0673b53cc1062 + pristine_git_object: aa5169f66d6fc97859a03e3bf1245a9a472dff49 docs/models/components/tls.md: id: f5383ff05cf7 last_write_checksum: sha1:216010c15ba64f6131c04de03bfde5e3b8cc1fd4 @@ -425,128 +426,116 @@ trackedFiles: pristine_git_object: 61ebc652b27c002b1fe1f5cb1151958c9db0ff70 docs/models/components/webhookconfig.md: id: a93975601f79 - last_write_checksum: sha1:ba115e3211a3227a42c7b21dbaaadef31c23e0cf - pristine_git_object: 0fd9836e7b869c9e42c3a70ee4aec88fde43fe68 + last_write_checksum: sha1:e0e3dfba72bc04c8d3938f90a1786cf348c6c8df + pristine_git_object: 5f3cc3a4653516ad890c61bf0a63341cb9fbbc0a docs/models/components/webhookcredentials.md: id: b84a317af170 - last_write_checksum: sha1:8a749ae8486e0e8248084cba75c66a31ba940c6c - pristine_git_object: 567982c213db3fa5e2d9e4b7f75db9d933a33265 + last_write_checksum: sha1:06c160a190fc8005b0b53c4709f222b757aa43d1 + pristine_git_object: 783f3213b1cabda05d8823ba0036d8eff33e42d2 docs/models/components/webhookcredentialsupdate.md: id: d6b56d9278f9 - last_write_checksum: sha1:5dc37e07b72dfe5e278ca7fb8a0be4af1c67a0d0 - pristine_git_object: aa163807bbcfdfce0e427ef589fd70bd4a6b95df + last_write_checksum: sha1:711923e4fb24ec7c0a87ec739a666b17b6637355 + pristine_git_object: c5936f725544c984490156b434ed85e43ef10138 docs/models/operations/createtenantdestinationrequest.md: id: 5c201a2c92c3 - last_write_checksum: sha1:44e40cb07c58f6309740eeba3091102af01d7f0a - pristine_git_object: 0eda003cd26eada9d5f256bbdbc774faa5c7c996 + last_write_checksum: sha1:8dd042b531abcb627382e368225734706dbcc4aa + pristine_git_object: 9bfef655add769adf9364af0265c08b9f95fb5e6 docs/models/operations/createtenantdestinationresponse.md: id: e9d68499b7dd last_write_checksum: sha1:556fa267998636fee1eda7a41a6890bbd6e7138f pristine_git_object: 0b989fce6d891f9d777fc7ab1537dcf373b718a5 docs/models/operations/deletetenantdestinationrequest.md: id: 4bf9f875c288 - last_write_checksum: sha1:477759e15a96e37ea90e300ebfc0805c31a6cc76 - pristine_git_object: d974b7c4fe9cfb6dd2aaef99f5f160bc6a7da82c + last_write_checksum: sha1:b3d56554d88ac5f1ea3d5aeef38fb9d0bbdeaea1 + pristine_git_object: d3a3e99586cba518a986338ebb6e3e568b2ed69a docs/models/operations/deletetenantdestinationresponse.md: id: 94d5ea3af3df last_write_checksum: sha1:23588a326b2c8634f5d0dce0d1a9de9c961ad237 pristine_git_object: 432caab53d97d7d76146cc60eafe31b562231576 docs/models/operations/deletetenantrequest.md: id: b983367702a8 - last_write_checksum: sha1:acc3a365e3eab1c0753d5221621731a40509d5b8 - pristine_git_object: c94e091a3dd1f78c989a899cd106ba2a5e6cf109 + last_write_checksum: sha1:554b2dacbc84cf28d8c2ed89e1d509c201f0740d + pristine_git_object: c32ba3260cfb467cda3cf7b23c163822b69495b6 docs/models/operations/deletetenantresponse.md: id: 53843bce2519 last_write_checksum: sha1:a828d2a069753790c3fae3c31bedec6b93b1cac3 pristine_git_object: 529cf112c7c2366ca3974ba45ca4e1aa5899e84a docs/models/operations/disabletenantdestinationrequest.md: id: f1eba2d52881 - last_write_checksum: sha1:e078c1187d0f9db6c7c57034083e7160d12943a9 - pristine_git_object: 300fd06556690aa55962e928bb24cafde6b417db + last_write_checksum: sha1:95b8f05fa94d4159ffc130d12ef2e6a22b217612 + pristine_git_object: fa11b1650458bb36f55d9438721285bd9426dadc docs/models/operations/disabletenantdestinationresponse.md: id: c013f51d3cf8 last_write_checksum: sha1:f5abe251da2b552bfe42b81f176cce002d22242f pristine_git_object: d6a4f54e900c521fde17667e68dc1dafd7ee7fa9 docs/models/operations/enabletenantdestinationrequest.md: id: 8ab704c59cb2 - last_write_checksum: sha1:35d2c380cc6aa560254a241637cbd835d473e3af - pristine_git_object: a2e60b0b53175c8e2b24b62f647c4519879e4d3a + last_write_checksum: sha1:9ab120b71295cb2d7618d4ffb7f3434b1bc606ec + pristine_git_object: b226f80a9ac870aff344966b5776dcb4c10eced3 docs/models/operations/enabletenantdestinationresponse.md: id: b795ac6783b2 last_write_checksum: sha1:bc61c705302651aeeed1e3cb65f4c3880fb35825 pristine_git_object: 36fdba2e3a1e447f386a62fe5b70a452e35a59e6 - docs/models/operations/getattemptinclude.md: - id: 899622c94b52 - last_write_checksum: sha1:5fcf98d7cedaaf2b444821337c7a011626c27571 - pristine_git_object: 2c8b410f280808652ab594fc24e32e2d2dd9ddd5 docs/models/operations/getattemptrequest.md: id: 58916c0b18d3 - last_write_checksum: sha1:caf9547144ed77bcfc5826af5112bf133413e005 - pristine_git_object: afd53f1269aebbe28389dbd76c66abf202f5f3a7 + last_write_checksum: sha1:b28ba005e425bb3208484b48ecf42109c7c60593 + pristine_git_object: dffc6fbb246101084e11aabf42df29f8717830c1 docs/models/operations/getattemptresponse.md: id: c167b6fb6be1 last_write_checksum: sha1:1cd2a22dc75f0bb162f603d572273f9a9e8c4b5f pristine_git_object: 64d9c10930bc1f8c5f3dcdab53de3d9bc91c06dc docs/models/operations/getdestinationtypeschemarequest.md: id: 28942fdcd1d3 - last_write_checksum: sha1:ed8f7c4097f53083f3f54daa42260654bc90edcf - pristine_git_object: 7ff45cf651b7d30fb5c63cbd85e29da07fe055aa + last_write_checksum: sha1:cfcba0059bb25d255aae683ebb4c5b4b042829ce + pristine_git_object: f668590ce393409023380c460a116f57adcd59da docs/models/operations/getdestinationtypeschemaresponse.md: id: ddc808c51d22 last_write_checksum: sha1:55ba8aca411d0c24994bf9337502f10717506c07 pristine_git_object: ad61ebe1c989506ccf92da97dbed7365762a08c0 - docs/models/operations/getdestinationtypeschematype.md: - id: d0a606c7256d - last_write_checksum: sha1:6b23a0a1fbf76560b6d0e64e9065109bc350a484 - pristine_git_object: 3c9ff186459e9da1b5ce609769496422fe560243 docs/models/operations/geteventrequest.md: id: ed4423b8e9dd - last_write_checksum: sha1:22b63b53d4a3d6ebea3ea964dfb080c61cddc3bb - pristine_git_object: 248c0df967126a29b61691e71c8b91d6cb1c8a1e + last_write_checksum: sha1:d3c74c42699e2fce61db02de129ca8fa02a0ec00 + pristine_git_object: e496902dd8759b2f4106efd75c26032d2003721a docs/models/operations/geteventresponse.md: id: e12431243d6d last_write_checksum: sha1:47c12bb70d74e0fe7e546fe64570c8494480c891 pristine_git_object: b91badabb475ffaeadaeb6030a11bc4c47245238 - docs/models/operations/gettenantdestinationattemptinclude.md: - id: 6a2a3c5c804d - last_write_checksum: sha1:4e677348cf79f6634f66a20504df14d7e03a4351 - pristine_git_object: 1f365f0b5764fb8aa5c9a13cb1108389a11b3d0e docs/models/operations/gettenantdestinationattemptrequest.md: id: ba08fde2adc7 - last_write_checksum: sha1:d11b706afc8e4cc20cd0b508094f61c667c9eb3f - pristine_git_object: 41fc8a5d78c3a6f40ee7a5054f449154d76843d7 + last_write_checksum: sha1:d7c7c7bd153e9149afc65852e7f3bbf9366247ad + pristine_git_object: 049c52de5ac404a266beb6d85aeb8d2391aa2c2a docs/models/operations/gettenantdestinationattemptresponse.md: id: a3d87920e70c last_write_checksum: sha1:94c25e711ef5320350a137fc58fdef479022f7f8 pristine_git_object: 1de5d75321ece536e46e9aee6b854bf64110e14b docs/models/operations/gettenantdestinationrequest.md: id: f6dbaa55f398 - last_write_checksum: sha1:b587164c52c4e670ffeb2fce57bfac5242396d8c - pristine_git_object: 87a8efcaf575b76b4b036888e5b9917ec54dbdac + last_write_checksum: sha1:9bb2af513b0d0715afbf18800bc69872b90a9707 + pristine_git_object: 0d5641f6d88feba0e6910e910d585b6fa7c8f08d docs/models/operations/gettenantdestinationresponse.md: id: 385af443a819 last_write_checksum: sha1:14fd7e00c4de7a34a64c2c97f7d538bddfcea32e pristine_git_object: fd07a1415ec1cb4f62f6b8736513cdd1a20ddfd0 docs/models/operations/gettenantportalurlrequest.md: id: ead888c7c189 - last_write_checksum: sha1:3307136c4165c99de0b1a8826946a08930566de6 - pristine_git_object: 27ed6ef6cfee65bdb0a5ab78e1febff19bc2a156 + last_write_checksum: sha1:dba66f299ebb943a8a6b9ec4d8231cd2cec97b38 + pristine_git_object: f5361cb55dd6bc14032222cb17b4808f8adc027c docs/models/operations/gettenantportalurlresponse.md: id: 3605c3484f78 last_write_checksum: sha1:af4b1345c9be80634aa1812da3554572005bddf8 pristine_git_object: 18ecf8ffe6baf6a6756ce7317b1f9a7d97ad41f9 docs/models/operations/gettenantrequest.md: id: ae7951a9bb57 - last_write_checksum: sha1:d9c12f5867aad3ae9774ef92e13996e2345ec64f - pristine_git_object: 39bc340deb8cc8ee8c65ac3d12c97fad3d253eae + last_write_checksum: sha1:319cb8e5e72659b922fa8478bedaada4109f5d76 + pristine_git_object: 823e623151d08ae1817c9d62198b544c7b1b332d docs/models/operations/gettenantresponse.md: id: db0db32e96bb last_write_checksum: sha1:73f5e9531b466ab431678c103ad8bdcfa58568b8 pristine_git_object: 511af08dabdbd2b2169d34b5baa1165c997b817c docs/models/operations/gettenanttokenrequest.md: id: 894815c0e5a1 - last_write_checksum: sha1:335131dd6779a5b76973f25b09494170747d359d - pristine_git_object: 329aac18bc07f00db840641af3e06617645c67c1 + last_write_checksum: sha1:4798eb8492ac69092444f761094ffa525248d56c + pristine_git_object: a7c0bc07bb5f8a39e541b1c2be60369a6515768d docs/models/operations/gettenanttokenresponse.md: id: 5e12e9b07294 last_write_checksum: sha1:c856041206c1a48dbcbf8a7c24070da2e82281cf @@ -571,18 +560,14 @@ trackedFiles: id: dda592e84dd0 last_write_checksum: sha1:bb070d56bd16443665c799c5c30dab5e9e102c08 pristine_git_object: 55c31fd481c82323856cb956a103678da5606dbf - docs/models/operations/listattemptsinclude.md: - id: cc99e9b38c4b - last_write_checksum: sha1:6681950c70c0ee0352b9063a573aa796fa39b020 - pristine_git_object: 6b79bce2c22b42de1ceb3af7aa6b17269046ba84 docs/models/operations/listattemptsorderby.md: id: 8aa3505e4088 last_write_checksum: sha1:9261bc67116ef6e9297b7aaebf796d8b7bbc0896 pristine_git_object: 021610147662ccba72666c2c460084c201250be5 docs/models/operations/listattemptsrequest.md: id: c664c21b68cc - last_write_checksum: sha1:cfd79e939094a7371bdaf5a09ec79fe6ffda15bf - pristine_git_object: b2aa9c1a18c310f2a2d0d2a68ab0f366c7934e1d + last_write_checksum: sha1:38fe46ce82fd345cfc36e7eb3ea4ba0a465543a1 + pristine_git_object: 8a4b24dcea60eefabeb329c02d32a457e829b852 docs/models/operations/listattemptsresponse.md: id: fa9c919a289b last_write_checksum: sha1:6eed5efa749686ef922a53fef7fe3b6852355dae @@ -591,10 +576,6 @@ trackedFiles: id: 2135342ab1bc last_write_checksum: sha1:f5f779f3f4008e06104af6f6ae1701a59cc6c6ec pristine_git_object: 28e79f381face1f6344be65ae1ef4bad502601bc - docs/models/operations/listattemptstopic.md: - id: f2821d472cd9 - last_write_checksum: sha1:56424792d2d1048ff13f29887e9202dc5a4a39a1 - pristine_git_object: 27361c77d8d4c171f9779053bcfddfd1663de309 docs/models/operations/listdestinationtypeschemasresponse.md: id: 2dc90af7de8e last_write_checksum: sha1:f3c318ec514c0b422cf72ffa3360aa7eb507b165 @@ -609,32 +590,24 @@ trackedFiles: pristine_git_object: ac165202be68b41d5974ac7aeb762471b2a3c56e docs/models/operations/listeventsrequest.md: id: 4c63e4d672e2 - last_write_checksum: sha1:ff45f05988d652ba8b4fd390ca542109ee31b20e - pristine_git_object: b9e5d7f117c3526fdd74a1f18e0ccc4f8018ad38 + last_write_checksum: sha1:53d433bd6870709869c926a935d8148a222c0bec + pristine_git_object: 7e7f483ec537b2797a7b4ce9618dd502d783f94f docs/models/operations/listeventsresponse.md: id: 4ce22aaeca78 last_write_checksum: sha1:8cd1b9a25a99f4258daaa1ccae7513d50d19815c pristine_git_object: 8f3c744f76cccf1a1c997b86af35234713176f1b - docs/models/operations/listeventstopic.md: - id: 181dd268f9dc - last_write_checksum: sha1:7208b6f9e2f46033db905c05648dc19b8b63aa31 - pristine_git_object: afec1c4811876fbba8eca499e7522627534f65b2 docs/models/operations/listtenantdestinationattemptsdir.md: id: 34ec44a1d6ee last_write_checksum: sha1:f939f926fad33095d04290aa8346444329ad3b68 pristine_git_object: 5cbd862b5aecd531302d5d8bc0a7e1231a5379f5 - docs/models/operations/listtenantdestinationattemptsinclude.md: - id: 2540a66e35b0 - last_write_checksum: sha1:dd6eff8f10ff99afae662e5f42cebbaa48577b40 - pristine_git_object: deb4112f96e13ea129f6f80936fe2772362ea891 docs/models/operations/listtenantdestinationattemptsorderby.md: id: 528d7d98d88e last_write_checksum: sha1:38a54b4096fc3c9c8ff4b325a7eccba0fc1859ce pristine_git_object: 289bab4419ad077e95a8418271d9646621d17131 docs/models/operations/listtenantdestinationattemptsrequest.md: id: 341955bbcb29 - last_write_checksum: sha1:d14a1d0fce2153476f601aec5cd25fb684aac600 - pristine_git_object: a504e0502027329ffbc056398360218b20b6a67b + last_write_checksum: sha1:9bfe6816b6c8c4a9ddc30a56c7d87533df696505 + pristine_git_object: bf2e6bc3f5aa3e5e3a6765b8e7456b74aeafa420 docs/models/operations/listtenantdestinationattemptsresponse.md: id: 2e6018891322 last_write_checksum: sha1:279b89417ca9c301009d0a4c92a98587a4f82583 @@ -643,42 +616,34 @@ trackedFiles: id: 5185c1081587 last_write_checksum: sha1:df5c5076e2a1bcd2c8c7c82d5633752b5387f9f0 pristine_git_object: c411a12d08c1d82c61d300b140cf7b797f246f6b - docs/models/operations/listtenantdestinationattemptstopic.md: - id: 3212865488ce - last_write_checksum: sha1:9e404a22859a259078fdd6acbca682326a7c5eb1 - pristine_git_object: e622cf21b43846a3a1d26bcb779521c13cd01a16 docs/models/operations/listtenantdestinationsrequest.md: id: 76b4ddfe6a6d - last_write_checksum: sha1:adfdae0ac9df3f892c01da1e163877fcbeb0abd3 - pristine_git_object: ceb692170b42a4beba849925f753fbab8b9f44ff + last_write_checksum: sha1:e12f187f6c56a21e590efa7ff4e9a10227c1a81a + pristine_git_object: 10442788921dccc7a161819cc45573cdc7208498 docs/models/operations/listtenantdestinationsresponse.md: id: c0ed91b39419 last_write_checksum: sha1:9231f0909a88a62f6d653a791915012edecbf527 pristine_git_object: 6859c6b605a9398743b4413070b7057633394b86 - docs/models/operations/listtenantdestinationstype.md: - id: a20b115e8b0f - last_write_checksum: sha1:4fcc66b907bda96b441242a0ac1d0d7793d74c96 - pristine_git_object: b3580dad530ae885aac9cce49de8bd84fc8dcf71 docs/models/operations/listtenantsdir.md: id: 1c1e3cb1ad58 last_write_checksum: sha1:ad16434c71b8aa7324d0f1c00e42e15070f495d4 pristine_git_object: 6ab00a7ff89df8880333104c3fd897fc5cd676c8 docs/models/operations/listtenantsrequest.md: id: f550d84e5a64 - last_write_checksum: sha1:cc82611a980bb69d94341c2aec9b216075798667 - pristine_git_object: 0bef7a8bf2519e31e2a53901890273102e1bd513 + last_write_checksum: sha1:632f801ee21b47109168274eaadc0ff5b4172f0c + pristine_git_object: 0a8dafde8899940c409ff4f88cc3f6e924e48e7b docs/models/operations/listtenantsresponse.md: id: f9d4a4333302 last_write_checksum: sha1:d7b0b5def4ece22a4ab3310b9c66d77b4457dd8c pristine_git_object: c8781755acbf52c8d99e2e09e01d9a70974d4190 docs/models/operations/listtopicsresponse.md: id: fbb3bbcae195 - last_write_checksum: sha1:3ac5e656f0f779f255d414a3651ff74161f87d0c - pristine_git_object: 5bc8757291b8307f42ee6f32e906366db1c718fd + last_write_checksum: sha1:5d9f012899c0d5b6be5ea13cc896eeb4baf82bf0 + pristine_git_object: 9b6c9cba4b851c1aaca5b85a9348831ad81a9cee docs/models/operations/option.md: id: 2ac1bd52a5fb - last_write_checksum: sha1:08cfee5d266c9d82987e448f6c98a143aa42c5f8 - pristine_git_object: 35d8a1e2ad48a64702c6a654ac8880dabec053b0 + last_write_checksum: sha1:005eef82f3e38e59a9aa3913844a248889ddfc10 + pristine_git_object: b2f134960fd1643b5a5aa50ba266744623da817c docs/models/operations/publisheventresponse.md: id: 61a8830f15e4 last_write_checksum: sha1:e97a86d198aae858360037ce27b249a63e93b186 @@ -691,14 +656,14 @@ trackedFiles: id: 2f9a390ad334 last_write_checksum: sha1:3c55dd83c9bb6554ccdbccc0469d3ca700b05a4f pristine_git_object: 1361c526e983a532195e03f17cb4dccbac85257e - docs/models/operations/topics.md: - id: b18fd8c48c1d - last_write_checksum: sha1:02aa279a5b78eb0b7202296cf12fbc4411431300 - pristine_git_object: 7134f7b2d7c943d40655c1485fff76c258506424 + docs/models/operations/type.md: + id: 8e39682ca85e + last_write_checksum: sha1:8d02dcbb0580a39215de6e547ebc3408b3737155 + pristine_git_object: 45e1e19f9c8286e2f36e9faa0cce668c3b53c58d docs/models/operations/updatetenantdestinationrequest.md: id: 3806f88d7729 - last_write_checksum: sha1:d9772ab01b3bfb979fd35029d0866559f4b30eed - pristine_git_object: c59aaf241f0993ddfa8ee4c37d09a9955cf3a504 + last_write_checksum: sha1:92ee8f37403f6d57e380b89b07c5b608df3d7d39 + pristine_git_object: bef13e157f59717c98344713854d9521f12b9018 docs/models/operations/updatetenantdestinationresponse.md: id: 7f18084651f9 last_write_checksum: sha1:4c116dbcef518b56d72d0cc3ee9aaec6ff34a8f9 @@ -709,8 +674,8 @@ trackedFiles: pristine_git_object: 3dacbe15aecf0ba1b922de37e8fc2209e0027d2e docs/models/operations/upserttenantrequest.md: id: 7df83dab5d53 - last_write_checksum: sha1:eed6e162d0ac18f30d9f1849ff53327d8f391596 - pristine_git_object: 061d97b1f78aab90a2f9f208dda31ceae9820f03 + last_write_checksum: sha1:c809fc2bdd8c95101d10bff7a5523592b8c581b4 + pristine_git_object: 8fe782e9ee1a094e3b409fc62ffe882d3c0fadfe docs/models/operations/upserttenantresponse.md: id: 06d537ccfe54 last_write_checksum: sha1:ff5e08d7322f8877539f84ac08fe3df524db5aa0 @@ -721,16 +686,16 @@ trackedFiles: pristine_git_object: 2ee4dd095128cac6926139658e39e3e815e51396 docs/sdks/attempts/README.md: id: 41a6f5edd623 - last_write_checksum: sha1:57a8476ea55262b538cc0f288d24d18508738074 - pristine_git_object: d75c1c4af0184c2d3cb15442613f1e09eb2762b5 + last_write_checksum: sha1:42ab97552d7b07e7461967a2bcee9e031eb452f8 + pristine_git_object: 91b2d248eb0315301f7e8cbea3c04e49968fa7dd docs/sdks/destinations/README.md: id: e83d288899aa - last_write_checksum: sha1:2eb48b29d04630b592e9f19a0a7a0fad79440852 - pristine_git_object: 52c4ede12da3847dc209c09d0d48bd34d91d4e5a + last_write_checksum: sha1:87a4fa0ab33895feb2dc8e27edece39fb4e5a90c + pristine_git_object: 0de1f256b179b31232574fdc003020efdb97ec5f docs/sdks/events/README.md: id: cf45a4390b9b - last_write_checksum: sha1:f4fd35bd101d9c412ff627e36e8f9b3ad9e1aa10 - pristine_git_object: 86a35324e520514a5b74b8997b92814d68988225 + last_write_checksum: sha1:89e2774d5d34b8822b6e9df9d2e9f1e0fabbf321 + pristine_git_object: 93de00545c4aaea9da1512b0ba80367504f6a773 docs/sdks/health/README.md: id: 5082c50d5e82 last_write_checksum: sha1:23157d5489dfa44c296067f57581ada0ad7ee463 @@ -741,24 +706,24 @@ trackedFiles: pristine_git_object: 181bbfe8d4e9b089b3b3162cf093c2c66d6eeabd docs/sdks/schemas/README.md: id: 26a0abac640e - last_write_checksum: sha1:67a1bcd8b8728bb223354f8a21e8eed1bdbf4c90 - pristine_git_object: fbcabb80e5de9ead6f734f2cbcf1214b3cca94b5 + last_write_checksum: sha1:406145e745f64cc0677b8037ef52ed35ec4daecc + pristine_git_object: 554ff233b21715c4488eb1d06a3e68099845c57c docs/sdks/tenants/README.md: id: 68a2b19779b5 - last_write_checksum: sha1:98c2080ee903edfabf3f48bd7a575da01e911733 - pristine_git_object: 50b88ead1389d715561ac92533be9205e124d18c + last_write_checksum: sha1:a93bd8a3fa13ab41b2eca5c32d0fd2ff736af757 + pristine_git_object: de7bc4e0001f1c73aea6b0f2cf551805db29f288 docs/sdks/topics/README.md: id: db4aff1adac3 last_write_checksum: sha1:ba3dad55f9dd8572abc32f1ba05f11406e264aaa pristine_git_object: 06521340cdc87ea87950c1496d48056b6e723b51 events.go: id: fe26b3f87ab7 - last_write_checksum: sha1:659f58dccc78169546e51195e245cf0307552e60 - pristine_git_object: 650ed2fb191ed793f2abb863dbd588e856c2417e + last_write_checksum: sha1:56dbf3741be413d85a5c6fb028ec14f736b86673 + pristine_git_object: ca3cf23dd94143c74ad38b4bccd575e11ac3e3c1 go.mod: id: c47645c391ad - last_write_checksum: sha1:79dd70b8063184ec2aedf2a926c867febdda9263 - pristine_git_object: 5dd9b9351841dfcd9fb261d2f83a2f1884fd0753 + last_write_checksum: sha1:23351a3e9a83d12c4bfe2ddd96c828b326a00a2a + pristine_git_object: ca479d94dc00be26348e3bf15ff7e7d4e10986d9 health.go: id: ca291aa88e47 last_write_checksum: sha1:c77cc7ff78cb172da1a404e7562b26ca5bf6afb4 @@ -785,12 +750,12 @@ trackedFiles: pristine_git_object: 33162f7fcdaa09a1c1af1451db512f85963a9871 internal/utils/headers.go: id: 90d4f18d4adf - last_write_checksum: sha1:5bebe44910a8709c6a0204b79436a13a6af59ed7 - pristine_git_object: dc9e1fde9df65c30cd3a7ed3598d132b132528fa + last_write_checksum: sha1:624a2d5a633e0eb1f66fdcf01ebb9371fe210dba + pristine_git_object: d44fa066f74f2b6b1fbc13bb4c79a2b6b09ac174 internal/utils/json.go: id: ad03e3c502d8 - last_write_checksum: sha1:008e93b009e850893eacf402f55fc321de8422b0 - pristine_git_object: fca58cdea468be32a950ee7b81f3b88da512caaa + last_write_checksum: sha1:b004e1621a75ea29c25ea96665aa2da38a816a49 + pristine_git_object: 2f3958f68254bc553e0a19baf48b13e47081a3cd internal/utils/pathparams.go: id: 1f3e0c30fd90 last_write_checksum: sha1:6f59c72b7d953a2507689b4beb0e4a83d1f6458d @@ -801,12 +766,12 @@ trackedFiles: pristine_git_object: 5143c4f03948fa7c885ae3e901a98ce4c42d2295 internal/utils/requestbody.go: id: 22445ec1c044 - last_write_checksum: sha1:9e211017b30ff7ed2f8ecfa7f03e8d2473f6542d - pristine_git_object: b391f6009a13c76eaff0f0ec9bae91fa55da3e63 + last_write_checksum: sha1:e43956cb67aaf6c4601d50aaf8a651a610f327c5 + pristine_git_object: f89fb8c11fa4bd66c33bfc91fc11227c8258770e internal/utils/retries.go: id: b5e011d15c2d - last_write_checksum: sha1:126451276fac69a7ea1a524e186f27aa177b509e - pristine_git_object: 1f4f8c94b284e93b4caaee8e7b5b7f582f315314 + last_write_checksum: sha1:f3194c3a3bc9722dc78e24c3b84f82475d3d3795 + pristine_git_object: 24278f26419416ef87cc6dc53a025b3be2af43cd internal/utils/security.go: id: eeb54c55241b last_write_checksum: sha1:573140faaff017cb3bd31e579c6b3949f3d8365b @@ -821,8 +786,8 @@ trackedFiles: pristine_git_object: f66814c73ace94d8e71d785fd6161fb405745754 internal/utils/utils.go: id: 1133b2a27019 - last_write_checksum: sha1:22e28614144c04201e6cf662643d96a0416f7d8c - pristine_git_object: 4f35c6b5ed8d47d0ac4a904f540a24b524cf2312 + last_write_checksum: sha1:c03378176a107205b8938606faef3fd8fb8f91a0 + pristine_git_object: a614e37673d3ea81eabc6139236edfb22a15dc55 models/apierrors/apierror.go: id: 4cecf27a5a54 last_write_checksum: sha1:e699d3325ea82ea2b0d29656396210f0513c3391 @@ -877,12 +842,12 @@ trackedFiles: pristine_git_object: 9b55f6eb047efd60eac85c1791215d632c291cdf models/components/awss3config.go: id: 197d430bd23e - last_write_checksum: sha1:1599ab337e3d5c5fdc176138f3c525542abfb405 - pristine_git_object: 74c486996d41a10e2e3218e9937b38957382660c + last_write_checksum: sha1:ff386b42efb9e0c6beee5064bc6c75937dd4d29b + pristine_git_object: 5d1038ed7b208d01d207fec4d4bf238e97988259 models/components/awss3credentials.go: id: d2abe7d8a2c5 - last_write_checksum: sha1:235acda263c87201de500c28a0251a54a024fa5d - pristine_git_object: cd6c8556cb8b6564650df9f5cd94877f3d50f9b4 + last_write_checksum: sha1:2a80cfe70334e1d5254148ff9dc7fcd5f24336ed + pristine_git_object: ba18009808ee662c4e5d3b94a081ef79fa827fb6 models/components/awssqsconfig.go: id: c5bfa0616d45 last_write_checksum: sha1:5d39dcd9cf597f7c7daedcc0bd84f0167cb80198 @@ -909,8 +874,8 @@ trackedFiles: pristine_git_object: 84b7d578a4d9bc64002a221798ed5444ac5e2a00 models/components/destinationawss3.go: id: 4dd2b7e18110 - last_write_checksum: sha1:a63041888a2bf5936c46f8ef95916e10904164d6 - pristine_git_object: 2312166e19c42fdae9d565edbd8e222a13481201 + last_write_checksum: sha1:626fef7c2f77d60ff5258360fc569906b260d232 + pristine_git_object: abe9add699a20a818668115aa7a424c670cf9cf0 models/components/destinationawssqs.go: id: 1292078f8606 last_write_checksum: sha1:ab399cdbd1f4c7f199c57f7c6b8fdeff31c682b2 @@ -929,8 +894,8 @@ trackedFiles: pristine_git_object: 763c9bb1521fe5ebf27bd7704c6102acde3f7bcc models/components/destinationcreateawss3.go: id: 7bea39e95ede - last_write_checksum: sha1:ce70998404e689658255997bafa94ae2d2471efd - pristine_git_object: 1742a83dac192e17ac475dde02fbfaf773f843be + last_write_checksum: sha1:47cf618cbd8049a1dd4749f26d173088ba06844c + pristine_git_object: 5ccd36620f4eacc34a238b74cc586c1c0a694eb2 models/components/destinationcreateawssqs.go: id: c60d19e6d3de last_write_checksum: sha1:d56741276ce2915793920260c7140b1ecdf2708c @@ -989,8 +954,8 @@ trackedFiles: pristine_git_object: 46b7bff20d4e1fdfb79f03b8aef0e9e3a7b8cac4 models/components/destinationupdateawss3.go: id: 79a4859f0cea - last_write_checksum: sha1:a953bfc370e3c6de5e4a64c68ade8a51dac16a47 - pristine_git_object: baf5c596b24817eeb8adadcebb212090b8dbdec7 + last_write_checksum: sha1:c0cb7ad2e19ff3fdcf3db44badf540b5a45de88f + pristine_git_object: 1d15e922a09b145dc03515745873c65025cfbd0a models/components/destinationupdateawssqs.go: id: 23190d1a3d21 last_write_checksum: sha1:bf06febe8a575081ff4d3fb6dbde82ce13336f6d @@ -1121,8 +1086,8 @@ trackedFiles: pristine_git_object: 4cf95e6375feebad8fac43c150cf86f3e8a4fbe3 models/operations/createtenantdestination.go: id: 3e498dd32fa9 - last_write_checksum: sha1:b1a5e763f8160a34899094df20129e4c6e18b763 - pristine_git_object: e7d29eb7980e1df3f420781796439ff5e4455d7c + last_write_checksum: sha1:a5cbafcdaca1d5372c9da0715de92692f1d95166 + pristine_git_object: 6e62d7a61790b4961714978750d48f4ce986be57 models/operations/deletetenant.go: id: 25bd9d75cc45 last_write_checksum: sha1:12448d5b184d61102ed5b6259d726d72df14d164 @@ -1141,12 +1106,12 @@ trackedFiles: pristine_git_object: 8612b4b6a5732b83935fc1509b10765bbc7a6778 models/operations/getattempt.go: id: 5bdbb1b54eed - last_write_checksum: sha1:f13e4bebeac136ad3d9b2fc725d5bd6250dd75f8 - pristine_git_object: 15679319774cc5e22930f528bb699dc99c40d25a + last_write_checksum: sha1:64d55a0ad5aaeb722c281e6d4b907bab1ee4de56 + pristine_git_object: f2c75fc33fe5340103fd24186c5cc3791b92b047 models/operations/getdestinationtypeschema.go: id: 469bb274efa3 - last_write_checksum: sha1:5e127a7f02662475d1682b30c498cd2599f6fe76 - pristine_git_object: 9420676a0e8734ad57c2c73aced465b5d63ef2b2 + last_write_checksum: sha1:4432b390507c74248fbd263cfebc10e51297b05e + pristine_git_object: fbe4ce01191594c2edc6c28191711a8deca473e5 models/operations/getevent.go: id: c0f52659220b last_write_checksum: sha1:af461521a094389ef681c192b8e7c74f472aece7 @@ -1161,8 +1126,8 @@ trackedFiles: pristine_git_object: 156a49b5516c8c20421406c97ab2925308472353 models/operations/gettenantdestinationattempt.go: id: f1b412ffe1c3 - last_write_checksum: sha1:fce37eedc9dda0d221302ba5037afaaadb9dbb0a - pristine_git_object: d719d8f388d58faeeda50d080bcc790ab89f24bc + last_write_checksum: sha1:f67d59e7d5b99b95abd6b655c59814d0c9ede810 + pristine_git_object: 5a8f9a6f8cfd94cc43bd73240a00b708d3e722c3 models/operations/gettenantportalurl.go: id: 5430be50389e last_write_checksum: sha1:872ba375dc6429ec504915a5bbb6fa7450ad3149 @@ -1177,28 +1142,28 @@ trackedFiles: pristine_git_object: 0dd35327c5d50f6989eb6efc122bbc494a2321fe models/operations/listattempts.go: id: 2aa25aef61af - last_write_checksum: sha1:889b6853dfb1939edcb06c16e8bb7d897aa624d5 - pristine_git_object: b066904bd92a77263aa61f67447898d6d687f33b + last_write_checksum: sha1:5ec578e7b32381f892892ee2e9281d01714f743a + pristine_git_object: aa71fe196d29b14f2af5991d32665fd897d860bf models/operations/listdestinationtypeschemas.go: id: d2e665967050 last_write_checksum: sha1:a001a482905b714996e6379d376970e46f67980e pristine_git_object: defe9931af9a8695ac03a6110614eeb7f8c954b7 models/operations/listevents.go: id: 798ff0fb0954 - last_write_checksum: sha1:69b5aa7e3181943d730642767e9c2d4632d08f9e - pristine_git_object: d1f3dcb7889b8bef89fb95ea5599d16623745184 + last_write_checksum: sha1:a19a39e8f56cbd393b25389101231eff09f6412e + pristine_git_object: bc2dcf28c93ddab219eecad93c918e3aa37fc07b models/operations/listtenantdestinationattempts.go: id: d8e07f679505 - last_write_checksum: sha1:de2128756255b2809fd53f86c4aafcc308e4b7dc - pristine_git_object: 6872001b1ec04bef7c3d8f14d39bdf5514a0a996 + last_write_checksum: sha1:a743b5f84749827e9037c8120db1cbbca69c3f89 + pristine_git_object: 883ad4769654f30d3037a4136a4e0a08439ccabd models/operations/listtenantdestinations.go: id: ce62042d8804 - last_write_checksum: sha1:361e25c178548a3a32cf2ddf813002c4eeea3010 - pristine_git_object: 830fb4f2293b4c242db571ae8ecf43ef69a5c7b2 + last_write_checksum: sha1:65aa11c2afd66d0e3b37adfa188d51d94808374c + pristine_git_object: ecefb99cf31be2f76c174bc1107ff8838142d057 models/operations/listtenants.go: id: 1d503b0f52be - last_write_checksum: sha1:3852d4aff07d3df5cbd3fffcd3eec7f965ebb94d - pristine_git_object: cbd159c4da7d7527f41f6e0114d4a332ef5ffbc7 + last_write_checksum: sha1:a7a03850aab9453f8f2f9d4bea2b1e894400d84b + pristine_git_object: 214fc5b0c5b595cc1b70111e865df2e023b63d8b models/operations/listtopics.go: id: 512c7390c9df last_write_checksum: sha1:9386b5f1d2bd1b456f33b0c279f38d75a10d9d1f @@ -1217,12 +1182,12 @@ trackedFiles: pristine_git_object: 92a1ad5c4d5f53463f67939097b015362dbae64f models/operations/updatetenantdestination.go: id: 3edf01e2b712 - last_write_checksum: sha1:d60eca9b544b04143e3f25feb41718679b2d1550 - pristine_git_object: 96ac03828a93396acc4777ce25eaa3dbc1ca3dea + last_write_checksum: sha1:5d89d33200db4d5b3a938d5458fcee9f1df2c722 + pristine_git_object: c8b9a718d6b306eaaf7a74705d19993a5c49d7b0 models/operations/upserttenant.go: id: 309f717443f9 - last_write_checksum: sha1:173d34fab2a8a34385c808e575409bfe6fa3b905 - pristine_git_object: 477b550c648ea9e725aa9624580ef8a4f38def97 + last_write_checksum: sha1:8c468ff0fac5a54ea1dc6f37d2e1c5d0b1ff035f + pristine_git_object: f7da22b5ea287c28bf783f26e14676abe111e48f optionalnullable/optionalnullable.go: id: ce60f259ead3 last_write_checksum: sha1:d6aff1a420c31e025ea21d46cf056e305ae76fe8 @@ -1233,24 +1198,24 @@ trackedFiles: pristine_git_object: e6e5a01c6e721e879e24a38a1f97e3e27d4686d4 outpost.go: id: 7aebc57e3f81 - last_write_checksum: sha1:26c36f8624020b222d2bf7d6003fb8cc37f29bb2 - pristine_git_object: 6aa9c7a3b98c047a4dbe2b772bc07192f8eb16cd + last_write_checksum: sha1:9eaa256937c8f4463b6453478a50e672342f5ff0 + pristine_git_object: 61e79c800e7736bda9a88b87ad7d2925349b9bf3 publish.go: id: b4cd78c909e0 last_write_checksum: sha1:2591f3410b71150c66f40f3c9448e35594e4b6ab pristine_git_object: 174d8803f296716b4510a243b6715c14b1b37460 retry/config.go: id: 82d673cb0389 - last_write_checksum: sha1:f565273be789ffe0e3c160de1ac72a63cfe67fbe - pristine_git_object: aa809fccb3445b1e2530a979dad620512f50e70f + last_write_checksum: sha1:7f7d96b59a18e95bac847ae09c63bbd911ee8432 + pristine_git_object: 5b3dc7c122d8ab08905485342d7474f8f163888d schemas.go: id: 5a2cc530e9a9 - last_write_checksum: sha1:603e6dc717b37e95ab1f5a451d72bb665818ca54 - pristine_git_object: cdf0ea8846c841218e440510286564916e681d95 + last_write_checksum: sha1:cf1dfbb8b4d4105d42cb6ca0527130b3c046538a + pristine_git_object: c3c2c311fc6e8d0bc18bfc18b2604e4f4b37a7db tenants.go: id: 391d6dd7cdcc - last_write_checksum: sha1:51986adc86ec560f346f16c158b9a040f6d3d0c7 - pristine_git_object: 73a65e9566c2b8cedbe08064ffa5505d83515b97 + last_write_checksum: sha1:c09389c3f1ae77c42c06590a2994fa1b55ff5869 + pristine_git_object: cffc168de1653826b3e16aa645194a4d92793578 topics.go: id: 75500a830fc2 last_write_checksum: sha1:bb9f98c89001c12f1b3659c63b9f7f7b17fa9fcd @@ -1371,7 +1336,7 @@ examples: path: tenant_id: "" query: - type: "webhook" + type: ["webhook"] responses: "200": application/json: [{"id": "des_webhook_123", "type": "webhook", "topics": ["user.created", "order.shipped"], "disabled_at": null, "created_at": "2024-02-15T10:00:00Z", "updated_at": "2024-02-15T10:00:00Z", "config": {"url": "https://my-service.com/webhook/handler"}, "credentials": {"secret": "whsec_abc123def456", "previous_secret": "whsec_prev789xyz012", "previous_secret_invalid_at": "2024-02-16T10:00:00Z"}}, {"id": "des_sqs_456", "type": "aws_sqs", "topics": ["*"], "disabled_at": "2024-03-01T12:00:00Z", "created_at": "2024-02-20T11:30:00Z", "updated_at": "2024-02-20T11:30:00Z", "config": {"endpoint": "https://sqs.us-west-2.amazonaws.com", "queue_url": "https://sqs.us-west-2.amazonaws.com/123456789012/my-app-queue"}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}}, {"id": "des_s3_789", "type": "aws_s3", "topics": ["*"], "disabled_at": null, "created_at": "2024-03-20T12:00:00Z", "updated_at": "2024-03-20T12:00:00Z", "config": {"bucket": "my-bucket", "region": "us-east-1"}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}}] @@ -1716,7 +1681,16 @@ examples: application/json: {"models": [{"id": "del_123", "status": "success", "time": "2024-01-01T00:00:05Z", "code": "200", "attempt_number": 1, "event_id": "evt_123", "destination_id": "des_456", "event": {"id": "evt_123", "topic": "user.created", "time": "2024-01-01T00:00:00Z", "eligible_for_retry": false, "metadata": {"source": "crm"}}}], "pagination": {"order_by": "time", "dir": "desc", "limit": 100, "next": null, "prev": null}} examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: "## Go SDK Changes:\n* `Outpost.Attempts.List()`: `error` **Changed** (Breaking ⚠️)\n* `Outpost.Destinations.ListAttempts()`: \n * `request.Request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed** (Breaking ⚠️)\n* `Outpost.Publish.Event()`: `error` **Changed** (Breaking ⚠️)\n* `Outpost.Destinations.GetAttempt()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Tenants.ListTenants()`: \n * `request` **Changed** (Breaking ⚠️)\n * `error` **Changed** (Breaking ⚠️)\n* `Outpost.Tenants.Upsert()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Tenants.Get()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Tenants.Delete()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Tenants.GetPortalUrl()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Tenants.GetToken()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Events.List()`: \n * `response.Models[].SuccessfulAt` **Removed** (Breaking ⚠️)\n * `error` **Changed** (Breaking ⚠️)\n* `Outpost.Events.Get()`: \n * `response.SuccessfulAt` **Removed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Destinations.Disable()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Destinations.Enable()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Destinations.Update()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed** (Breaking ⚠️)\n* `Outpost.Destinations.List()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Destinations.Create()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed** (Breaking ⚠️)\n* `Outpost.Destinations.Get()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Attempts.Retry()`: `error` **Changed** (Breaking ⚠️)\n* `Outpost.Destinations.Delete()`: \n * `request.TenantId` **Changed** (Breaking ⚠️)\n * `error` **Changed**\n* `Outpost.Schemas.ListDestinationTypes()`: **Added**\n* `Outpost.Schemas.GetDestinationType()`: **Added**\n* `Outpost.Attempts.Get()`: `error` **Changed**\n* `Outpost.Schemas.GetDestinationTypeJwt()`: **Removed** (Breaking ⚠️)\n* `Outpost.Schemas.ListDestinationTypesJwt()`: **Removed** (Breaking ⚠️)\n* `Outpost.Topics.List()`: `error.status[401]` **Added**\n" +releaseNotes: | + ## Go SDK Changes: + * `Outpost.Events.List()`: `request.Request` **Changed** (Breaking ⚠️) + * `Outpost.Attempts.List()`: `request.Request` **Changed** (Breaking ⚠️) + * `Outpost.Attempts.Get()`: `request.Include` **Changed** (Breaking ⚠️) + * `Outpost.Destinations.List()`: `request` **Changed** (Breaking ⚠️) + * `Outpost.Destinations.ListAttempts()`: `request.Request` **Changed** (Breaking ⚠️) + * `Outpost.Destinations.GetAttempt()`: `request.Include` **Changed** (Breaking ⚠️) + * `Outpost.Tenants.List()`: **Added** + * `Outpost.Tenants.ListTenants()`: **Removed** (Breaking ⚠️) generatedFiles: - .gitattributes - /models/apierrors/badrequesterror.go diff --git a/sdks/outpost-go/.speakeasy/gen.yaml b/sdks/outpost-go/.speakeasy/gen.yaml index d0480574a..c07cb4ac8 100644 --- a/sdks/outpost-go/.speakeasy/gen.yaml +++ b/sdks/outpost-go/.speakeasy/gen.yaml @@ -29,12 +29,14 @@ generation: generateNewTests: false skipResponseBodyAssertions: false go: - version: 0.7.0 + version: 0.8.0 additionalDependencies: {} allowUnknownFieldsInWeakUnions: false baseErrorName: OutpostError clientServerStatusCodesAsErrors: true defaultErrorName: APIError + enableCustomCodeRegions: false + enableSkipDeserialization: false flattenGlobalSecurity: true flatteningOrder: parameters-first forwardCompatibleEnumsByDefault: false diff --git a/sdks/outpost-go/README.md b/sdks/outpost-go/README.md index f3bbd87a7..df3663e0c 100644 --- a/sdks/outpost-go/README.md +++ b/sdks/outpost-go/README.md @@ -23,6 +23,7 @@ Outpost API: The Outpost API is a REST-based JSON API for managing tenants, dest * [SDK Example Usage](#sdk-example-usage) * [Authentication](#authentication) * [Available Resources and Operations](#available-resources-and-operations) + * [Pagination](#pagination) * [Retries](#retries) * [Error Handling](#error-handling) * [Server Selection](#server-selection) @@ -157,7 +158,7 @@ func main() { ### [Tenants](docs/sdks/tenants/README.md) -* [ListTenants](docs/sdks/tenants/README.md#listtenants) - List Tenants +* [List](docs/sdks/tenants/README.md#list) - List Tenants * [Upsert](docs/sdks/tenants/README.md#upsert) - Create or Update Tenant * [Get](docs/sdks/tenants/README.md#get) - Get Tenant * [Delete](docs/sdks/tenants/README.md#delete) - Delete Tenant @@ -171,6 +172,55 @@ func main() { + +## Pagination + +Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the +returned response object will have a `Next` method that can be called to pull down the next group of results. If the +return value of `Next` is `nil`, then there are no more pages to be fetched. + +Here's an example of one such pagination call: +```go +package main + +import ( + "context" + outpostgo "github.com/hookdeck/outpost/sdks/outpost-go" + "github.com/hookdeck/outpost/sdks/outpost-go/models/operations" + "log" +) + +func main() { + ctx := context.Background() + + s := outpostgo.New( + outpostgo.WithSecurity(""), + ) + + res, err := s.Tenants.List(ctx, operations.ListTenantsRequest{}) + if err != nil { + log.Fatal(err) + } + if res.TenantPaginatedResult != nil { + for { + // handle items + + res, err = res.Next() + + if err != nil { + // handle error + } + + if res == nil { + break + } + } + } +} + +``` + + ## Retries diff --git a/sdks/outpost-go/RELEASES.md b/sdks/outpost-go/RELEASES.md index c1bf0d310..d0b06f540 100644 --- a/sdks/outpost-go/RELEASES.md +++ b/sdks/outpost-go/RELEASES.md @@ -98,4 +98,14 @@ Based on: ### Generated - [go v0.7.0] sdks/outpost-go ### Releases -- [Go v0.7.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.7.0 - sdks/outpost-go \ No newline at end of file +- [Go v0.7.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.7.0 - sdks/outpost-go + +## 2026-03-13 12:46:11 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.753.0 (2.862.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [go v0.8.0] sdks/outpost-go +### Releases +- [Go v0.8.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.8.0 - sdks/outpost-go \ No newline at end of file diff --git a/sdks/outpost-go/attempts.go b/sdks/outpost-go/attempts.go index e73d6bff0..51208c5f6 100644 --- a/sdks/outpost-go/attempts.go +++ b/sdks/outpost-go/attempts.go @@ -13,8 +13,11 @@ import ( "github.com/hookdeck/outpost/sdks/outpost-go/models/components" "github.com/hookdeck/outpost/sdks/outpost-go/models/operations" "github.com/hookdeck/outpost/sdks/outpost-go/retry" + "github.com/spyzhov/ajson" "net/http" "net/url" + "strconv" + "strings" ) // Attempts represent individual delivery attempts of events to destinations. The attempts API provides an attempt-centric view of event processing. @@ -212,6 +215,72 @@ func (s *Attempts) List(ctx context.Context, request operations.ListAttemptsRequ Response: httpRes, }, } + res.Next = func() (*operations.ListAttemptsResponse, error) { + rawBody, err := utils.ConsumeRawBody(httpRes) + if err != nil { + return nil, err + } + + b, err := ajson.Unmarshal(rawBody) + if err != nil { + return nil, err + } + nC, err := ajson.Eval(b, "$.pagination.next") + if err != nil { + return nil, err + } + var nCVal string + + if nC.IsNumeric() { + numVal, err := nC.GetNumeric() + if err != nil { + return nil, err + } + // GetNumeric returns as float64 so convert to the appropriate type. + nCVal = strconv.FormatFloat(numVal, 'f', 0, 64) + } else { + val, err := nC.Value() + if err != nil { + return nil, err + } + if val == nil { + return nil, nil + } + nCVal = val.(string) + if strings.TrimSpace(nCVal) == "" { + return nil, nil + } + } + r, err := ajson.Eval(b, "$.models") + if err != nil { + return nil, err + } + if !r.IsArray() { + return nil, nil + } + arr, err := r.GetArray() + if err != nil { + return nil, err + } + if len(arr) == 0 { + return nil, nil + } + + l := 0 + if request.Limit != nil { + l = int(*request.Limit) + } + if len(arr) < l { + return nil, nil + } + request.Next = &nCVal + + return s.List( + ctx, + request, + opts..., + ) + } switch { case httpRes.StatusCode == 200: @@ -306,7 +375,7 @@ func (s *Attempts) List(ctx context.Context, request operations.ListAttemptsRequ // // When authenticated with a Tenant JWT, only attempts belonging to that tenant can be accessed. // When authenticated with Admin API Key, attempts from any tenant can be accessed. -func (s *Attempts) Get(ctx context.Context, attemptID string, include *operations.GetAttemptInclude, opts ...operations.Option) (*operations.GetAttemptResponse, error) { +func (s *Attempts) Get(ctx context.Context, attemptID string, include []string, opts ...operations.Option) (*operations.GetAttemptResponse, error) { request := operations.GetAttemptRequest{ AttemptID: attemptID, Include: include, diff --git a/sdks/outpost-go/destinations.go b/sdks/outpost-go/destinations.go index 5baf66257..cbb3003a1 100644 --- a/sdks/outpost-go/destinations.go +++ b/sdks/outpost-go/destinations.go @@ -13,7 +13,10 @@ import ( "github.com/hookdeck/outpost/sdks/outpost-go/models/components" "github.com/hookdeck/outpost/sdks/outpost-go/models/operations" "github.com/hookdeck/outpost/sdks/outpost-go/retry" + "github.com/spyzhov/ajson" "net/http" + "strconv" + "strings" ) // Destinations are the endpoints where events are sent. Each destination is associated with a tenant and can be configured to receive specific event topics. @@ -57,7 +60,7 @@ func newDestinations(rootSDK *Outpost, sdkConfig config.SDKConfiguration, hooks // List Destinations // Return a list of the destinations for the tenant. The endpoint is not paged. -func (s *Destinations) List(ctx context.Context, tenantID string, type_ *operations.ListTenantDestinationsType, topics *operations.Topics, opts ...operations.Option) (*operations.ListTenantDestinationsResponse, error) { +func (s *Destinations) List(ctx context.Context, tenantID string, type_ []components.DestinationType, topics []string, opts ...operations.Option) (*operations.ListTenantDestinationsResponse, error) { request := operations.ListTenantDestinationsRequest{ TenantID: tenantID, Type: type_, @@ -336,10 +339,10 @@ func (s *Destinations) List(ctx context.Context, tenantID string, type_ *operati // Create Destination // Creates a new destination for the tenant. The request body structure depends on the `type`. -func (s *Destinations) Create(ctx context.Context, tenantID string, params components.DestinationCreate, opts ...operations.Option) (*operations.CreateTenantDestinationResponse, error) { +func (s *Destinations) Create(ctx context.Context, tenantID string, body components.DestinationCreate, opts ...operations.Option) (*operations.CreateTenantDestinationResponse, error) { request := operations.CreateTenantDestinationRequest{ TenantID: tenantID, - Params: params, + Body: body, } o := operations.Options{} @@ -374,7 +377,7 @@ func (s *Destinations) Create(ctx context.Context, tenantID string, params compo OAuth2Scopes: nil, SecuritySource: s.sdkConfiguration.Security, } - bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, false, "Params", "json", `request:"mediaType=application/json"`) + bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, false, "Body", "json", `request:"mediaType=application/json"`) if err != nil { return nil, err } @@ -912,11 +915,11 @@ func (s *Destinations) Get(ctx context.Context, tenantID string, destinationID s // Update Destination // Updates the configuration of an existing destination. The request body structure depends on the destination's `type`. Type itself cannot be updated. May return an OAuth redirect URL for certain types. -func (s *Destinations) Update(ctx context.Context, tenantID string, destinationID string, params components.DestinationUpdate, opts ...operations.Option) (*operations.UpdateTenantDestinationResponse, error) { +func (s *Destinations) Update(ctx context.Context, tenantID string, destinationID string, body components.DestinationUpdate, opts ...operations.Option) (*operations.UpdateTenantDestinationResponse, error) { request := operations.UpdateTenantDestinationRequest{ TenantID: tenantID, DestinationID: destinationID, - Params: params, + Body: body, } o := operations.Options{} @@ -951,7 +954,7 @@ func (s *Destinations) Update(ctx context.Context, tenantID string, destinationI OAuth2Scopes: nil, SecuritySource: s.sdkConfiguration.Security, } - bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, false, "Params", "json", `request:"mediaType=application/json"`) + bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, false, "Body", "json", `request:"mediaType=application/json"`) if err != nil { return nil, err } @@ -2198,6 +2201,72 @@ func (s *Destinations) ListAttempts(ctx context.Context, request operations.List Response: httpRes, }, } + res.Next = func() (*operations.ListTenantDestinationAttemptsResponse, error) { + rawBody, err := utils.ConsumeRawBody(httpRes) + if err != nil { + return nil, err + } + + b, err := ajson.Unmarshal(rawBody) + if err != nil { + return nil, err + } + nC, err := ajson.Eval(b, "$.pagination.next") + if err != nil { + return nil, err + } + var nCVal string + + if nC.IsNumeric() { + numVal, err := nC.GetNumeric() + if err != nil { + return nil, err + } + // GetNumeric returns as float64 so convert to the appropriate type. + nCVal = strconv.FormatFloat(numVal, 'f', 0, 64) + } else { + val, err := nC.Value() + if err != nil { + return nil, err + } + if val == nil { + return nil, nil + } + nCVal = val.(string) + if strings.TrimSpace(nCVal) == "" { + return nil, nil + } + } + r, err := ajson.Eval(b, "$.models") + if err != nil { + return nil, err + } + if !r.IsArray() { + return nil, nil + } + arr, err := r.GetArray() + if err != nil { + return nil, err + } + if len(arr) == 0 { + return nil, nil + } + + l := 0 + if request.Limit != nil { + l = int(*request.Limit) + } + if len(arr) < l { + return nil, nil + } + request.Next = &nCVal + + return s.ListAttempts( + ctx, + request, + opts..., + ) + } switch { case httpRes.StatusCode == 200: @@ -2310,7 +2379,7 @@ func (s *Destinations) ListAttempts(ctx context.Context, request operations.List // GetAttempt - Get Destination Attempt // Retrieves details for a specific attempt scoped to a destination. -func (s *Destinations) GetAttempt(ctx context.Context, tenantID string, destinationID string, attemptID string, include *operations.GetTenantDestinationAttemptInclude, opts ...operations.Option) (*operations.GetTenantDestinationAttemptResponse, error) { +func (s *Destinations) GetAttempt(ctx context.Context, tenantID string, destinationID string, attemptID string, include []string, opts ...operations.Option) (*operations.GetTenantDestinationAttemptResponse, error) { request := operations.GetTenantDestinationAttemptRequest{ TenantID: tenantID, DestinationID: destinationID, diff --git a/sdks/outpost-go/docs/models/apierrors/apierrorresponse.md b/sdks/outpost-go/docs/models/apierrors/apierrorresponse.md index 4938273ae..ed0b0a881 100644 --- a/sdks/outpost-go/docs/models/apierrors/apierrorresponse.md +++ b/sdks/outpost-go/docs/models/apierrors/apierrorresponse.md @@ -7,6 +7,6 @@ Standard error response format. | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `Status` | **int64* | :heavy_minus_sign: | HTTP status code. | 422 | -| `Message` | **string* | :heavy_minus_sign: | Human-readable error message. | validation error | +| `Status` | `*int64` | :heavy_minus_sign: | HTTP status code. | 422 | +| `Message` | `*string` | :heavy_minus_sign: | Human-readable error message. | validation error | | `Data` | [*apierrors.Data](../../models/apierrors/data.md) | :heavy_minus_sign: | Additional error details. For validation errors, this is an array of human-readable messages. | | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/apierrors/badrequesterror.md b/sdks/outpost-go/docs/models/apierrors/badrequesterror.md index d8d170516..5a89097ca 100644 --- a/sdks/outpost-go/docs/models/apierrors/badrequesterror.md +++ b/sdks/outpost-go/docs/models/apierrors/badrequesterror.md @@ -7,5 +7,5 @@ A collection of codes that generally means the end user got something wrong in m | Field | Type | Required | Description | | ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `Message` | **string* | :heavy_minus_sign: | N/A | -| `AdditionalProperties` | map[string]*any* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `Message` | `*string` | :heavy_minus_sign: | N/A | +| `AdditionalProperties` | map[string]`any` | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/apierrors/internalservererror.md b/sdks/outpost-go/docs/models/apierrors/internalservererror.md index 7c02f93b9..2cc606976 100644 --- a/sdks/outpost-go/docs/models/apierrors/internalservererror.md +++ b/sdks/outpost-go/docs/models/apierrors/internalservererror.md @@ -7,5 +7,5 @@ A collection of status codes that generally mean the server failed in an unexpec | Field | Type | Required | Description | | ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `Message` | **string* | :heavy_minus_sign: | N/A | -| `AdditionalProperties` | map[string]*any* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `Message` | `*string` | :heavy_minus_sign: | N/A | +| `AdditionalProperties` | map[string]`any` | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/apierrors/notfounderror.md b/sdks/outpost-go/docs/models/apierrors/notfounderror.md index 2d4800dc3..1774dcd94 100644 --- a/sdks/outpost-go/docs/models/apierrors/notfounderror.md +++ b/sdks/outpost-go/docs/models/apierrors/notfounderror.md @@ -7,5 +7,5 @@ Status codes relating to the resource/entity they are requesting not being found | Field | Type | Required | Description | | ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `Message` | **string* | :heavy_minus_sign: | N/A | -| `AdditionalProperties` | map[string]*any* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `Message` | `*string` | :heavy_minus_sign: | N/A | +| `AdditionalProperties` | map[string]`any` | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/apierrors/notimplementederror.md b/sdks/outpost-go/docs/models/apierrors/notimplementederror.md index 9f5d1df8f..74bb78a04 100644 --- a/sdks/outpost-go/docs/models/apierrors/notimplementederror.md +++ b/sdks/outpost-go/docs/models/apierrors/notimplementederror.md @@ -7,5 +7,5 @@ List Tenants feature is not available. Requires Redis with RediSearch module. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `Error` | **string* | :heavy_minus_sign: | N/A | list tenant not supported | +| `Error` | `*string` | :heavy_minus_sign: | N/A | list tenant not supported | | `HTTPMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/apierrors/ratelimitederror.md b/sdks/outpost-go/docs/models/apierrors/ratelimitederror.md index ba1212522..2a1d777cc 100644 --- a/sdks/outpost-go/docs/models/apierrors/ratelimitederror.md +++ b/sdks/outpost-go/docs/models/apierrors/ratelimitederror.md @@ -7,5 +7,5 @@ Status codes relating to the client being rate limited by the server | Field | Type | Required | Description | | ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `Message` | **string* | :heavy_minus_sign: | N/A | -| `AdditionalProperties` | map[string]*any* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `Message` | `*string` | :heavy_minus_sign: | N/A | +| `AdditionalProperties` | map[string]`any` | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/apierrors/timeouterror.md b/sdks/outpost-go/docs/models/apierrors/timeouterror.md index d6328241c..d3622c91b 100644 --- a/sdks/outpost-go/docs/models/apierrors/timeouterror.md +++ b/sdks/outpost-go/docs/models/apierrors/timeouterror.md @@ -7,5 +7,5 @@ Timeouts occurred with the request | Field | Type | Required | Description | | ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `Message` | **string* | :heavy_minus_sign: | N/A | -| `AdditionalProperties` | map[string]*any* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `Message` | `*string` | :heavy_minus_sign: | N/A | +| `AdditionalProperties` | map[string]`any` | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/apierrors/unauthorizederror.md b/sdks/outpost-go/docs/models/apierrors/unauthorizederror.md index 8bf81c350..71ddaa3bf 100644 --- a/sdks/outpost-go/docs/models/apierrors/unauthorizederror.md +++ b/sdks/outpost-go/docs/models/apierrors/unauthorizederror.md @@ -7,5 +7,5 @@ A collection of codes that generally means the client was not authenticated corr | Field | Type | Required | Description | | ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `Message` | **string* | :heavy_minus_sign: | N/A | -| `AdditionalProperties` | map[string]*any* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `Message` | `*string` | :heavy_minus_sign: | N/A | +| `AdditionalProperties` | map[string]`any` | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/attempt.md b/sdks/outpost-go/docs/models/components/attempt.md index ddc649136..8372100a1 100644 --- a/sdks/outpost-go/docs/models/components/attempt.md +++ b/sdks/outpost-go/docs/models/components/attempt.md @@ -7,14 +7,14 @@ An attempt represents a single delivery attempt of an event to a destination. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `ID` | **string* | :heavy_minus_sign: | Unique identifier for this attempt. | atm_123 | -| `TenantID` | **string* | :heavy_minus_sign: | The tenant this attempt belongs to. | tnt_123 | +| `ID` | `*string` | :heavy_minus_sign: | Unique identifier for this attempt. | atm_123 | +| `TenantID` | `*string` | :heavy_minus_sign: | The tenant this attempt belongs to. | tnt_123 | | `Status` | [*components.Status](../../models/components/status.md) | :heavy_minus_sign: | The attempt status. | success | | `Time` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Time the attempt was made. | 2024-01-01T00:00:05Z | -| `Code` | **string* | :heavy_minus_sign: | Response status code or error code. | 200 | -| `ResponseData` | map[string]*any* | :heavy_minus_sign: | Response data from the attempt. Only included when include=response_data. | {
"status_code": 200,
"body": "{\"status\":\"ok\"}",
"headers": {
"content-type": "application/json"
}
} | -| `AttemptNumber` | **int64* | :heavy_minus_sign: | The attempt number (1 for first attempt, 2+ for retries). | 1 | -| `Manual` | **bool* | :heavy_minus_sign: | Whether this attempt was manually triggered (e.g., a retry initiated by a user). | false | -| `EventID` | **string* | :heavy_minus_sign: | The ID of the associated event. | evt_123 | -| `DestinationID` | **string* | :heavy_minus_sign: | The destination ID this attempt was sent to. | des_456 | +| `Code` | `*string` | :heavy_minus_sign: | Response status code or error code. | 200 | +| `ResponseData` | map[string]`any` | :heavy_minus_sign: | Response data from the attempt. Only included when include=response_data. | {
"status_code": 200,
"body": "{\"status\":\"ok\"}",
"headers": {
"content-type": "application/json"
}
} | +| `AttemptNumber` | `*int64` | :heavy_minus_sign: | The attempt number (1 for first attempt, 2+ for retries). | 1 | +| `Manual` | `*bool` | :heavy_minus_sign: | Whether this attempt was manually triggered (e.g., a retry initiated by a user). | false | +| `EventID` | `*string` | :heavy_minus_sign: | The ID of the associated event. | evt_123 | +| `DestinationID` | `*string` | :heavy_minus_sign: | The destination ID this attempt was sent to. | des_456 | | `Event` | [*components.EventUnion](../../models/components/eventunion.md) | :heavy_minus_sign: | The associated event object. Only present when include=event or include=event.data. | | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/awskinesisconfig.md b/sdks/outpost-go/docs/models/components/awskinesisconfig.md index f9bc47332..93c706e43 100644 --- a/sdks/outpost-go/docs/models/components/awskinesisconfig.md +++ b/sdks/outpost-go/docs/models/components/awskinesisconfig.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `StreamName` | *string* | :heavy_check_mark: | The name of the AWS Kinesis stream. | my-data-stream | -| `Region` | *string* | :heavy_check_mark: | The AWS region where the Kinesis stream is located. | us-east-1 | -| `Endpoint` | **string* | :heavy_minus_sign: | Optional. Custom AWS endpoint URL (e.g., for LocalStack or VPC endpoints). | https://kinesis.us-east-1.amazonaws.com | -| `PartitionKeyTemplate` | **string* | :heavy_minus_sign: | Optional. JMESPath template to extract the partition key from the event payload (e.g., `metadata."event-id"`). Defaults to event ID. | data."user_id" | \ No newline at end of file +| `StreamName` | `string` | :heavy_check_mark: | The name of the AWS Kinesis stream. | my-data-stream | +| `Region` | `string` | :heavy_check_mark: | The AWS region where the Kinesis stream is located. | us-east-1 | +| `Endpoint` | `*string` | :heavy_minus_sign: | Optional. Custom AWS endpoint URL (e.g., for LocalStack or VPC endpoints). | https://kinesis.us-east-1.amazonaws.com | +| `PartitionKeyTemplate` | `*string` | :heavy_minus_sign: | Optional. JMESPath template to extract the partition key from the event payload (e.g., `metadata."event-id"`). Defaults to event ID. | data."user_id" | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/awskinesiscredentials.md b/sdks/outpost-go/docs/models/components/awskinesiscredentials.md index 3f4856f8b..1b663ee36 100644 --- a/sdks/outpost-go/docs/models/components/awskinesiscredentials.md +++ b/sdks/outpost-go/docs/models/components/awskinesiscredentials.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | -| `Key` | *string* | :heavy_check_mark: | AWS Access Key ID. | AKIAIOSFODNN7EXAMPLE | -| `Secret` | *string* | :heavy_check_mark: | AWS Secret Access Key. | wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | -| `Session` | **string* | :heavy_minus_sign: | Optional AWS Session Token (for temporary credentials). | AQoDYXdzEPT//////////wEXAMPLE... | \ No newline at end of file +| `Key` | `string` | :heavy_check_mark: | AWS Access Key ID. | AKIAIOSFODNN7EXAMPLE | +| `Secret` | `string` | :heavy_check_mark: | AWS Secret Access Key. | wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | +| `Session` | `*string` | :heavy_minus_sign: | Optional AWS Session Token (for temporary credentials). | AQoDYXdzEPT//////////wEXAMPLE... | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/awss3config.md b/sdks/outpost-go/docs/models/components/awss3config.md index 5296ae614..0fd08f477 100644 --- a/sdks/outpost-go/docs/models/components/awss3config.md +++ b/sdks/outpost-go/docs/models/components/awss3config.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `Bucket` | *string* | :heavy_check_mark: | The name of your AWS S3 bucket. | my-bucket | -| `Region` | *string* | :heavy_check_mark: | The AWS region where your bucket is located. | us-east-1 | -| `KeyTemplate` | **string* | :heavy_minus_sign: | JMESPath expression for generating S3 object keys. Default is join('', [time.rfc3339_nano, '_', metadata."event-id", '.json']). | join('/', [time.year, time.month, time.day, metadata."event-id", '.json']) | -| `StorageClass` | **string* | :heavy_minus_sign: | The storage class for the S3 objects (e.g., STANDARD, INTELLIGENT_TIERING, GLACIER, etc.). Defaults to "STANDARD". | STANDARD | \ No newline at end of file +| `Bucket` | `string` | :heavy_check_mark: | The name of your AWS S3 bucket. | my-bucket | +| `Region` | `string` | :heavy_check_mark: | The AWS region where your bucket is located. | us-east-1 | +| `KeyTemplate` | `*string` | :heavy_minus_sign: | JMESPath expression for generating S3 object keys. Default is join('', [time.rfc3339_nano, '_', metadata."event-id", '.json']). | join('/', [time.year, time.month, time.day, metadata."event-id", '.json']) | +| `StorageClass` | `*string` | :heavy_minus_sign: | The storage class for the S3 objects (e.g., STANDARD, INTELLIGENT_TIERING, GLACIER, etc.). Defaults to "STANDARD". | STANDARD | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/awss3credentials.md b/sdks/outpost-go/docs/models/components/awss3credentials.md index db0ef61e5..50d1f119b 100644 --- a/sdks/outpost-go/docs/models/components/awss3credentials.md +++ b/sdks/outpost-go/docs/models/components/awss3credentials.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | -| `Key` | *string* | :heavy_check_mark: | AWS Access Key ID. | AKIAIOSFODNN7EXAMPLE | -| `Secret` | *string* | :heavy_check_mark: | AWS Secret Access Key. | wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | -| `Session` | **string* | :heavy_minus_sign: | Optional AWS Session Token (for temporary credentials). | AQoDYXdzEPT//////////wEXAMPLE... | \ No newline at end of file +| `Key` | `string` | :heavy_check_mark: | AWS Access Key ID. | AKIAIOSFODNN7EXAMPLE | +| `Secret` | `string` | :heavy_check_mark: | AWS Secret Access Key. | wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | +| `Session` | `*string` | :heavy_minus_sign: | Optional AWS Session Token (for temporary credentials). | AQoDYXdzEPT//////////wEXAMPLE... | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/awssqsconfig.md b/sdks/outpost-go/docs/models/components/awssqsconfig.md index 6b2fb0ac4..e0844ae44 100644 --- a/sdks/outpost-go/docs/models/components/awssqsconfig.md +++ b/sdks/outpost-go/docs/models/components/awssqsconfig.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Endpoint` | **string* | :heavy_minus_sign: | Optional. Custom AWS endpoint URL (e.g., for LocalStack or specific regions). | https://sqs.us-east-1.amazonaws.com | -| `QueueURL` | *string* | :heavy_check_mark: | The URL of the SQS queue. | https://sqs.us-east-1.amazonaws.com/123456789012/my-queue | \ No newline at end of file +| `Endpoint` | `*string` | :heavy_minus_sign: | Optional. Custom AWS endpoint URL (e.g., for LocalStack or specific regions). | https://sqs.us-east-1.amazonaws.com | +| `QueueURL` | `string` | :heavy_check_mark: | The URL of the SQS queue. | https://sqs.us-east-1.amazonaws.com/123456789012/my-queue | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/awssqscredentials.md b/sdks/outpost-go/docs/models/components/awssqscredentials.md index d53059fcb..7af5f6c8f 100644 --- a/sdks/outpost-go/docs/models/components/awssqscredentials.md +++ b/sdks/outpost-go/docs/models/components/awssqscredentials.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | -| `Key` | *string* | :heavy_check_mark: | AWS Access Key ID. | AKIAIOSFODNN7EXAMPLE | -| `Secret` | *string* | :heavy_check_mark: | AWS Secret Access Key. | wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | -| `Session` | **string* | :heavy_minus_sign: | Optional AWS Session Token (for temporary credentials). | AQoDYXdzEPT//////////wEXAMPLE... | \ No newline at end of file +| `Key` | `string` | :heavy_check_mark: | AWS Access Key ID. | AKIAIOSFODNN7EXAMPLE | +| `Secret` | `string` | :heavy_check_mark: | AWS Secret Access Key. | wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | +| `Session` | `*string` | :heavy_minus_sign: | Optional AWS Session Token (for temporary credentials). | AQoDYXdzEPT//////////wEXAMPLE... | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/azureservicebusconfig.md b/sdks/outpost-go/docs/models/components/azureservicebusconfig.md index 6f4da0b89..d4e218a9a 100644 --- a/sdks/outpost-go/docs/models/components/azureservicebusconfig.md +++ b/sdks/outpost-go/docs/models/components/azureservicebusconfig.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `Name` | *string* | :heavy_check_mark: | The name of the Azure Service Bus queue or topic to publish messages to. | my-queue-or-topic | \ No newline at end of file +| `Name` | `string` | :heavy_check_mark: | The name of the Azure Service Bus queue or topic to publish messages to. | my-queue-or-topic | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/azureservicebuscredentials.md b/sdks/outpost-go/docs/models/components/azureservicebuscredentials.md index d5cf2705b..3df747ff9 100644 --- a/sdks/outpost-go/docs/models/components/azureservicebuscredentials.md +++ b/sdks/outpost-go/docs/models/components/azureservicebuscredentials.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `ConnectionString` | *string* | :heavy_check_mark: | The connection string for the Azure Service Bus namespace. | Endpoint=sb://namespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=abc123 | \ No newline at end of file +| `ConnectionString` | `string` | :heavy_check_mark: | The connection string for the Azure Service Bus namespace. | Endpoint=sb://namespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=abc123 | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationawskinesis.md b/sdks/outpost-go/docs/models/components/destinationawskinesis.md index e16cc5498..e933dd5fe 100644 --- a/sdks/outpost-go/docs/models/components/destinationawskinesis.md +++ b/sdks/outpost-go/docs/models/components/destinationawskinesis.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | *string* | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | +| `ID` | `string` | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | | `Type` | [components.DestinationAWSKinesisType](../../models/components/destinationawskinesistype.md) | :heavy_check_mark: | Type of the destination. | aws_kinesis | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `DisabledAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | | `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `Config` | [components.AWSKinesisConfig](../../models/components/awskinesisconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.AWSKinesisCredentials](../../models/components/awskinesiscredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | -| `Target` | **string* | :heavy_minus_sign: | A human-readable representation of the destination target (Kinesis stream name). Read-only. | production-events | -| `TargetURL` | **string* | :heavy_minus_sign: | A URL link to the destination target (AWS Console link to the stream). Read-only. | https://eu-west-1.console.aws.amazon.com/kinesis/home?region=eu-west-1#/streams/details/production-events/details | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `Target` | `*string` | :heavy_minus_sign: | A human-readable representation of the destination target (Kinesis stream name). Read-only. | production-events | +| `TargetURL` | `*string` | :heavy_minus_sign: | A URL link to the destination target (AWS Console link to the stream). Read-only. | https://eu-west-1.console.aws.amazon.com/kinesis/home?region=eu-west-1#/streams/details/production-events/details | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationawss3.md b/sdks/outpost-go/docs/models/components/destinationawss3.md index b29b7b6d0..4d6aa5328 100644 --- a/sdks/outpost-go/docs/models/components/destinationawss3.md +++ b/sdks/outpost-go/docs/models/components/destinationawss3.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | *string* | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | +| `ID` | `string` | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | | `Type` | [components.DestinationAwss3Type](../../models/components/destinationawss3type.md) | :heavy_check_mark: | Type of the destination. | aws_s3 | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `DisabledAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | | `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `Config` | [components.Awss3Config](../../models/components/awss3config.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.Awss3Credentials](../../models/components/awss3credentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | -| `Target` | **string* | :heavy_minus_sign: | A human-readable representation of the destination target (bucket and region). Read-only. | my-bucket in us-east-1 | -| `TargetURL` | **string* | :heavy_minus_sign: | A URL link to the destination target (AWS Console link to the bucket). Read-only. | | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `Target` | `*string` | :heavy_minus_sign: | A human-readable representation of the destination target (bucket and region). Read-only. | my-bucket in us-east-1 | +| `TargetURL` | `*string` | :heavy_minus_sign: | A URL link to the destination target (AWS Console link to the bucket). Read-only. | | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationawssqs.md b/sdks/outpost-go/docs/models/components/destinationawssqs.md index 3969bcd7d..ab35a5060 100644 --- a/sdks/outpost-go/docs/models/components/destinationawssqs.md +++ b/sdks/outpost-go/docs/models/components/destinationawssqs.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | *string* | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | +| `ID` | `string` | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | | `Type` | [components.DestinationAWSSQSType](../../models/components/destinationawssqstype.md) | :heavy_check_mark: | Type of the destination. | aws_sqs | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `DisabledAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | | `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `Config` | [components.AWSSQSConfig](../../models/components/awssqsconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.AWSSQSCredentials](../../models/components/awssqscredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | -| `Target` | **string* | :heavy_minus_sign: | A human-readable representation of the destination target (SQS queue name). Read-only. | my-app-queue | -| `TargetURL` | **string* | :heavy_minus_sign: | A URL link to the destination target (AWS Console link to the queue). Read-only. | https://us-west-2.console.aws.amazon.com/sqs/v2/home?region=us-west-2#/queues/https%3A%2F%2Fsqs.us-west-2.amazonaws.com%2F123456789012%2Fmy-app-queue | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `Target` | `*string` | :heavy_minus_sign: | A human-readable representation of the destination target (SQS queue name). Read-only. | my-app-queue | +| `TargetURL` | `*string` | :heavy_minus_sign: | A URL link to the destination target (AWS Console link to the queue). Read-only. | https://us-west-2.console.aws.amazon.com/sqs/v2/home?region=us-west-2#/queues/https%3A%2F%2Fsqs.us-west-2.amazonaws.com%2F123456789012%2Fmy-app-queue | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationazureservicebus.md b/sdks/outpost-go/docs/models/components/destinationazureservicebus.md index 4afad88b0..5851a457b 100644 --- a/sdks/outpost-go/docs/models/components/destinationazureservicebus.md +++ b/sdks/outpost-go/docs/models/components/destinationazureservicebus.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | *string* | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | +| `ID` | `string` | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | | `Type` | [components.DestinationAzureServiceBusType](../../models/components/destinationazureservicebustype.md) | :heavy_check_mark: | Type of the destination. | azure_servicebus | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `DisabledAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | | `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `UpdatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `Config` | [components.AzureServiceBusConfig](../../models/components/azureservicebusconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.AzureServiceBusCredentials](../../models/components/azureservicebuscredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | -| `Target` | **string* | :heavy_minus_sign: | A human-readable representation of the destination target (Azure Service Bus queue/topic name). Read-only. | my-queue-or-topic | -| `TargetURL` | **string* | :heavy_minus_sign: | A URL link to the destination target (Azure Portal link to the Service Bus). Read-only. | https://portal.azure.com/#@tenant-id/resource/subscriptions/subscription-id/resourceGroups/resource-group/providers/Microsoft.ServiceBus/namespaces/namespace-name/queues/queue-name | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `Target` | `*string` | :heavy_minus_sign: | A human-readable representation of the destination target (Azure Service Bus queue/topic name). Read-only. | my-queue-or-topic | +| `TargetURL` | `*string` | :heavy_minus_sign: | A URL link to the destination target (Azure Portal link to the Service Bus). Read-only. | https://portal.azure.com/#@tenant-id/resource/subscriptions/subscription-id/resourceGroups/resource-group/providers/Microsoft.ServiceBus/namespaces/namespace-name/queues/queue-name | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationcreateawskinesis.md b/sdks/outpost-go/docs/models/components/destinationcreateawskinesis.md index 9f22bd60c..aad8f6376 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreateawskinesis.md +++ b/sdks/outpost-go/docs/models/components/destinationcreateawskinesis.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | **string* | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | +| `ID` | `*string` | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | | `Type` | [components.DestinationCreateAWSKinesisType](../../models/components/destinationcreateawskinesistype.md) | :heavy_check_mark: | Type of the destination. Must be 'aws_kinesis'. | | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [components.AWSKinesisConfig](../../models/components/awskinesisconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.AWSKinesisCredentials](../../models/components/awskinesiscredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationcreateawss3.md b/sdks/outpost-go/docs/models/components/destinationcreateawss3.md index 7cc1f9286..31584eeb5 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreateawss3.md +++ b/sdks/outpost-go/docs/models/components/destinationcreateawss3.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | **string* | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | +| `ID` | `*string` | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | | `Type` | [components.DestinationCreateAwss3Type](../../models/components/destinationcreateawss3type.md) | :heavy_check_mark: | Type of the destination. Must be 'aws_s3'. | | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [components.Awss3Config](../../models/components/awss3config.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.Awss3Credentials](../../models/components/awss3credentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationcreateawssqs.md b/sdks/outpost-go/docs/models/components/destinationcreateawssqs.md index 93b498dff..eecbeeb4d 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreateawssqs.md +++ b/sdks/outpost-go/docs/models/components/destinationcreateawssqs.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | **string* | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | +| `ID` | `*string` | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | | `Type` | [components.DestinationCreateAWSSQSType](../../models/components/destinationcreateawssqstype.md) | :heavy_check_mark: | Type of the destination. Must be 'aws_sqs'. | | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [components.AWSSQSConfig](../../models/components/awssqsconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.AWSSQSCredentials](../../models/components/awssqscredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationcreateazureservicebus.md b/sdks/outpost-go/docs/models/components/destinationcreateazureservicebus.md index 145d743f9..5fe116788 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreateazureservicebus.md +++ b/sdks/outpost-go/docs/models/components/destinationcreateazureservicebus.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | **string* | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | +| `ID` | `*string` | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | | `Type` | [components.DestinationCreateAzureServiceBusType](../../models/components/destinationcreateazureservicebustype.md) | :heavy_check_mark: | Type of the destination. Must be 'azure_servicebus'. | | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [components.AzureServiceBusConfig](../../models/components/azureservicebusconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.AzureServiceBusCredentials](../../models/components/azureservicebuscredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationcreategcppubsub.md b/sdks/outpost-go/docs/models/components/destinationcreategcppubsub.md index 4662ffff4..93232f9e8 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreategcppubsub.md +++ b/sdks/outpost-go/docs/models/components/destinationcreategcppubsub.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | **string* | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | +| `ID` | `*string` | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | | `Type` | [components.DestinationCreateGCPPubSubType](../../models/components/destinationcreategcppubsubtype.md) | :heavy_check_mark: | Type of the destination. Must be 'gcp_pubsub'. | | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [components.GCPPubSubConfig](../../models/components/gcppubsubconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.GCPPubSubCredentials](../../models/components/gcppubsubcredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationcreatehookdeck.md b/sdks/outpost-go/docs/models/components/destinationcreatehookdeck.md index 62533d729..0fe9439f5 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreatehookdeck.md +++ b/sdks/outpost-go/docs/models/components/destinationcreatehookdeck.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | **string* | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | +| `ID` | `*string` | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | | `Type` | [components.DestinationCreateHookdeckType](../../models/components/destinationcreatehookdecktype.md) | :heavy_check_mark: | Type of the destination. Must be 'hookdeck'. | | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `Config` | *any* | :heavy_minus_sign: | N/A | | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Config` | `any` | :heavy_minus_sign: | N/A | | | `Credentials` | [components.HookdeckCredentials](../../models/components/hookdeckcredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationcreaterabbitmq.md b/sdks/outpost-go/docs/models/components/destinationcreaterabbitmq.md index 199d3e815..61052e292 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreaterabbitmq.md +++ b/sdks/outpost-go/docs/models/components/destinationcreaterabbitmq.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | **string* | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | +| `ID` | `*string` | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | | `Type` | [components.DestinationCreateRabbitMQType](../../models/components/destinationcreaterabbitmqtype.md) | :heavy_check_mark: | Type of the destination. Must be 'rabbitmq'. | | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [components.RabbitMQConfig](../../models/components/rabbitmqconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.RabbitMQCredentials](../../models/components/rabbitmqcredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationcreatewebhook.md b/sdks/outpost-go/docs/models/components/destinationcreatewebhook.md index a2a3d587b..364b611de 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreatewebhook.md +++ b/sdks/outpost-go/docs/models/components/destinationcreatewebhook.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | **string* | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | +| `ID` | `*string` | :heavy_minus_sign: | Optional user-provided ID. A UUID will be generated if empty. | user-provided-id | | `Type` | [components.DestinationCreateWebhookType](../../models/components/destinationcreatewebhooktype.md) | :heavy_check_mark: | Type of the destination. Must be 'webhook'. | | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [components.WebhookConfig](../../models/components/webhookconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [*components.WebhookCredentials](../../models/components/webhookcredentials.md) | :heavy_minus_sign: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationgcppubsub.md b/sdks/outpost-go/docs/models/components/destinationgcppubsub.md index 6a3dd54fc..b36dab407 100644 --- a/sdks/outpost-go/docs/models/components/destinationgcppubsub.md +++ b/sdks/outpost-go/docs/models/components/destinationgcppubsub.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | *string* | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | +| `ID` | `string` | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | | `Type` | [components.DestinationGCPPubSubType](../../models/components/destinationgcppubsubtype.md) | :heavy_check_mark: | Type of the destination. | gcp_pubsub | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `DisabledAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | | `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `Config` | [components.GCPPubSubConfig](../../models/components/gcppubsubconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.GCPPubSubCredentials](../../models/components/gcppubsubcredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | -| `Target` | **string* | :heavy_minus_sign: | A human-readable representation of the destination target (project/topic). Read-only. | my-project-123/events-topic | -| `TargetURL` | **string* | :heavy_minus_sign: | A URL link to the destination target (GCP Console link to the topic). Read-only. | https://console.cloud.google.com/cloudpubsub/topic/detail/events-topic?project=my-project-123 | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `Target` | `*string` | :heavy_minus_sign: | A human-readable representation of the destination target (project/topic). Read-only. | my-project-123/events-topic | +| `TargetURL` | `*string` | :heavy_minus_sign: | A URL link to the destination target (GCP Console link to the topic). Read-only. | https://console.cloud.google.com/cloudpubsub/topic/detail/events-topic?project=my-project-123 | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationhookdeck.md b/sdks/outpost-go/docs/models/components/destinationhookdeck.md index 08ea58e79..d3d840aab 100644 --- a/sdks/outpost-go/docs/models/components/destinationhookdeck.md +++ b/sdks/outpost-go/docs/models/components/destinationhookdeck.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | *string* | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | +| `ID` | `string` | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | | `Type` | [components.DestinationHookdeckType](../../models/components/destinationhookdecktype.md) | :heavy_check_mark: | Type of the destination. | hookdeck | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `DisabledAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | | `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `UpdatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | -| `Config` | *any* | :heavy_minus_sign: | N/A | | +| `Config` | `any` | :heavy_minus_sign: | N/A | | | `Credentials` | [components.HookdeckCredentials](../../models/components/hookdeckcredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | -| `Target` | **string* | :heavy_minus_sign: | A human-readable representation of the destination target (Hookdeck). Read-only. | Hookdeck | -| `TargetURL` | **string* | :heavy_minus_sign: | A URL link to the destination target (e.g., Hookdeck dashboard). Read-only. | https://dashboard.hookdeck.com/sources/src_xxxyyyzzz | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `Target` | `*string` | :heavy_minus_sign: | A human-readable representation of the destination target (Hookdeck). Read-only. | Hookdeck | +| `TargetURL` | `*string` | :heavy_minus_sign: | A URL link to the destination target (e.g., Hookdeck dashboard). Read-only. | https://dashboard.hookdeck.com/sources/src_xxxyyyzzz | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationrabbitmq.md b/sdks/outpost-go/docs/models/components/destinationrabbitmq.md index 9b223805f..b26eaa02b 100644 --- a/sdks/outpost-go/docs/models/components/destinationrabbitmq.md +++ b/sdks/outpost-go/docs/models/components/destinationrabbitmq.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | *string* | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | +| `ID` | `string` | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | | `Type` | [components.DestinationRabbitMQType](../../models/components/destinationrabbitmqtype.md) | :heavy_check_mark: | Type of the destination. | rabbitmq | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `DisabledAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | | `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `Config` | [components.RabbitMQConfig](../../models/components/rabbitmqconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.RabbitMQCredentials](../../models/components/rabbitmqcredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | -| `Target` | **string* | :heavy_minus_sign: | A human-readable representation of the destination target (RabbitMQ exchange). Read-only. | events-exchange | -| `TargetURL` | **string* | :heavy_minus_sign: | A URL link to the destination target (not applicable for RabbitMQ exchange). Read-only. | | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `Target` | `*string` | :heavy_minus_sign: | A human-readable representation of the destination target (RabbitMQ exchange). Read-only. | events-exchange | +| `TargetURL` | `*string` | :heavy_minus_sign: | A URL link to the destination target (not applicable for RabbitMQ exchange). Read-only. | | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationschemafield.md b/sdks/outpost-go/docs/models/components/destinationschemafield.md index bd2112c01..eecb304b0 100644 --- a/sdks/outpost-go/docs/models/components/destinationschemafield.md +++ b/sdks/outpost-go/docs/models/components/destinationschemafield.md @@ -6,11 +6,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | `Type` | [components.DestinationSchemaFieldType](../../models/components/destinationschemafieldtype.md) | :heavy_check_mark: | N/A | text | -| `Label` | **string* | :heavy_minus_sign: | N/A | URL | -| `Description` | **string* | :heavy_minus_sign: | N/A | The URL to send the event to | -| `Required` | *bool* | :heavy_check_mark: | N/A | true | -| `Sensitive` | **bool* | :heavy_minus_sign: | Indicates if the field contains sensitive information. | false | -| `Default` | **string* | :heavy_minus_sign: | Default value for the field. | default_value | -| `Minlength` | **int64* | :heavy_minus_sign: | Minimum length for a text input. | 0 | -| `Maxlength` | **int64* | :heavy_minus_sign: | Maximum length for a text input. | 255 | -| `Pattern` | **string* | :heavy_minus_sign: | Regex pattern for validation (compatible with HTML5 pattern attribute). | ^[a-zA-Z0-9_]+$ | \ No newline at end of file +| `Label` | `*string` | :heavy_minus_sign: | N/A | URL | +| `Description` | `*string` | :heavy_minus_sign: | N/A | The URL to send the event to | +| `Required` | `bool` | :heavy_check_mark: | N/A | true | +| `Sensitive` | `*bool` | :heavy_minus_sign: | Indicates if the field contains sensitive information. | false | +| `Default` | `*string` | :heavy_minus_sign: | Default value for the field. | default_value | +| `Minlength` | `*int64` | :heavy_minus_sign: | Minimum length for a text input. | 0 | +| `Maxlength` | `*int64` | :heavy_minus_sign: | Maximum length for a text input. | 255 | +| `Pattern` | `*string` | :heavy_minus_sign: | Regex pattern for validation (compatible with HTML5 pattern attribute). | ^[a-zA-Z0-9_]+$ | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationtypeschema.md b/sdks/outpost-go/docs/models/components/destinationtypeschema.md index 7867f978c..91aad4935 100644 --- a/sdks/outpost-go/docs/models/components/destinationtypeschema.md +++ b/sdks/outpost-go/docs/models/components/destinationtypeschema.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Type` | **string* | :heavy_minus_sign: | N/A | webhook | -| `Label` | **string* | :heavy_minus_sign: | N/A | Webhook | -| `Description` | **string* | :heavy_minus_sign: | N/A | Send event via an HTTP POST request to a URL | -| `Icon` | **string* | :heavy_minus_sign: | SVG icon string. | | -| `Instructions` | **string* | :heavy_minus_sign: | Markdown instructions. | Some *markdown* | -| `RemoteSetupURL` | **string* | :heavy_minus_sign: | Some destinations may have Oauth flow or other managed-setup flow that can be triggered with a link. If a `remote_setup_url` is set then the user should be prompted to follow the link to configure the destination.
See the [building your own UI guide](https://outpost.hookdeck.com/guides/building-your-own-ui.mdx) for recommended UI patterns and wireframes for implementation in your own app. | https://dashboard.hookdeck.com/authorize?provider=acme | +| `Type` | `*string` | :heavy_minus_sign: | N/A | webhook | +| `Label` | `*string` | :heavy_minus_sign: | N/A | Webhook | +| `Description` | `*string` | :heavy_minus_sign: | N/A | Send event via an HTTP POST request to a URL | +| `Icon` | `*string` | :heavy_minus_sign: | SVG icon string. | | +| `Instructions` | `*string` | :heavy_minus_sign: | Markdown instructions. | Some *markdown* | +| `RemoteSetupURL` | `*string` | :heavy_minus_sign: | Some destinations may have Oauth flow or other managed-setup flow that can be triggered with a link. If a `remote_setup_url` is set then the user should be prompted to follow the link to configure the destination.
See the [building your own UI guide](https://outpost.hookdeck.com/guides/building-your-own-ui.mdx) for recommended UI patterns and wireframes for implementation in your own app. | https://dashboard.hookdeck.com/authorize?provider=acme | | `ConfigFields` | [][components.DestinationSchemaField](../../models/components/destinationschemafield.md) | :heavy_minus_sign: | Config fields are non-secret values that can be stored and displayed to the user in plain text. | | | `CredentialFields` | [][components.DestinationSchemaField](../../models/components/destinationschemafield.md) | :heavy_minus_sign: | Credential fields are secret values that will be AES encrypted and obfuscated to the user. Some credentials may not be obfuscated; the destination type dictates the obfuscation logic. | | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationupdateawskinesis.md b/sdks/outpost-go/docs/models/components/destinationupdateawskinesis.md index 793158dfa..b13b636eb 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdateawskinesis.md +++ b/sdks/outpost-go/docs/models/components/destinationupdateawskinesis.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `Topics` | [*components.Topics](../../models/components/topics.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [*components.AWSKinesisConfig](../../models/components/awskinesisconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.AWSKinesisCredentials](../../models/components/awskinesiscredentials.md) | :heavy_minus_sign: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationupdateawss3.md b/sdks/outpost-go/docs/models/components/destinationupdateawss3.md index f155e243a..16e05ecfc 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdateawss3.md +++ b/sdks/outpost-go/docs/models/components/destinationupdateawss3.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `Topics` | [*components.Topics](../../models/components/topics.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [*components.Awss3Config](../../models/components/awss3config.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.Awss3Credentials](../../models/components/awss3credentials.md) | :heavy_minus_sign: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationupdateawssqs.md b/sdks/outpost-go/docs/models/components/destinationupdateawssqs.md index 0cccef378..5b13b770e 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdateawssqs.md +++ b/sdks/outpost-go/docs/models/components/destinationupdateawssqs.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `Topics` | [*components.Topics](../../models/components/topics.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [*components.AWSSQSConfig](../../models/components/awssqsconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.AWSSQSCredentials](../../models/components/awssqscredentials.md) | :heavy_minus_sign: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationupdateazureservicebus.md b/sdks/outpost-go/docs/models/components/destinationupdateazureservicebus.md index 19a3327f3..24102c100 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdateazureservicebus.md +++ b/sdks/outpost-go/docs/models/components/destinationupdateazureservicebus.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `Topics` | [*components.Topics](../../models/components/topics.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [*components.AzureServiceBusConfig](../../models/components/azureservicebusconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.AzureServiceBusCredentials](../../models/components/azureservicebuscredentials.md) | :heavy_minus_sign: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationupdategcppubsub.md b/sdks/outpost-go/docs/models/components/destinationupdategcppubsub.md index 51ef6c08d..dda5442e7 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdategcppubsub.md +++ b/sdks/outpost-go/docs/models/components/destinationupdategcppubsub.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `Topics` | [*components.Topics](../../models/components/topics.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [*components.GCPPubSubConfig](../../models/components/gcppubsubconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.GCPPubSubCredentials](../../models/components/gcppubsubcredentials.md) | :heavy_minus_sign: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationupdatehookdeck.md b/sdks/outpost-go/docs/models/components/destinationupdatehookdeck.md index b21d1005e..abbda56e1 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdatehookdeck.md +++ b/sdks/outpost-go/docs/models/components/destinationupdatehookdeck.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `Topics` | [*components.Topics](../../models/components/topics.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `Config` | *any* | :heavy_minus_sign: | N/A | | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Config` | `any` | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.HookdeckCredentials](../../models/components/hookdeckcredentials.md) | :heavy_minus_sign: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationupdaterabbitmq.md b/sdks/outpost-go/docs/models/components/destinationupdaterabbitmq.md index 2e0157b92..09fc79318 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdaterabbitmq.md +++ b/sdks/outpost-go/docs/models/components/destinationupdaterabbitmq.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `Topics` | [*components.Topics](../../models/components/topics.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [*components.RabbitMQConfig](../../models/components/rabbitmqconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.RabbitMQCredentials](../../models/components/rabbitmqcredentials.md) | :heavy_minus_sign: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationupdatewebhook.md b/sdks/outpost-go/docs/models/components/destinationupdatewebhook.md index 96a4cc016..9dc06b944 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdatewebhook.md +++ b/sdks/outpost-go/docs/models/components/destinationupdatewebhook.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `Topics` | [*components.Topics](../../models/components/topics.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `Config` | [*components.WebhookConfig](../../models/components/webhookconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.WebhookCredentialsUpdate](../../models/components/webhookcredentialsupdate.md) | :heavy_minus_sign: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationwebhook.md b/sdks/outpost-go/docs/models/components/destinationwebhook.md index 1333ef4b6..4fc1c851f 100644 --- a/sdks/outpost-go/docs/models/components/destinationwebhook.md +++ b/sdks/outpost-go/docs/models/components/destinationwebhook.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | *string* | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | +| `ID` | `string` | :heavy_check_mark: | Control plane generated ID or user provided ID for the destination. | des_12345 | | `Type` | [components.DestinationWebhookType](../../models/components/destinationwebhooktype.md) | :heavy_check_mark: | Type of the destination. | webhook | | `Topics` | [components.Topics](../../models/components/topics.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | -| `Filter` | map[string]*any* | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | +| `Filter` | map[string]`any` | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
To remove an existing filter when updating a destination, set filter to an empty object `{}`.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | | `DisabledAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | | `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `Config` | [components.WebhookConfig](../../models/components/webhookconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.WebhookCredentials](../../models/components/webhookcredentials.md) | :heavy_check_mark: | N/A | | -| `DeliveryMetadata` | map[string]*string* | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | -| `Target` | **string* | :heavy_minus_sign: | A human-readable representation of the destination target (e.g., URL host). Read-only. | my-service.com | -| `TargetURL` | **string* | :heavy_minus_sign: | A URL link to the destination target (the webhook URL). Read-only. | https://my-service.com/webhook/handler | \ No newline at end of file +| `DeliveryMetadata` | map[string]`string` | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `Target` | `*string` | :heavy_minus_sign: | A human-readable representation of the destination target (e.g., URL host). Read-only. | my-service.com | +| `TargetURL` | `*string` | :heavy_minus_sign: | A URL link to the destination target (the webhook URL). Read-only. | https://my-service.com/webhook/handler | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/event.md b/sdks/outpost-go/docs/models/components/event.md index eaf59f69d..8fa616534 100644 --- a/sdks/outpost-go/docs/models/components/event.md +++ b/sdks/outpost-go/docs/models/components/event.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `ID` | **string* | :heavy_minus_sign: | N/A | evt_123 | -| `TenantID` | **string* | :heavy_minus_sign: | The tenant this event belongs to. | tnt_123 | -| `DestinationID` | **string* | :heavy_minus_sign: | N/A | des_456 | -| `Topic` | **string* | :heavy_minus_sign: | N/A | user.created | +| `ID` | `*string` | :heavy_minus_sign: | N/A | evt_123 | +| `TenantID` | `*string` | :heavy_minus_sign: | The tenant this event belongs to. | tnt_123 | +| `DestinationID` | `*string` | :heavy_minus_sign: | N/A | des_456 | +| `Topic` | `*string` | :heavy_minus_sign: | N/A | user.created | | `Time` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Time the event was received/processed. | 2024-01-01T00:00:00Z | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Key-value string pairs of metadata associated with the event. | {
"source": "crm"
} | -| `Data` | map[string]*any* | :heavy_minus_sign: | Freeform JSON data of the event. | {
"user_id": "userid",
"status": "active"
} | \ No newline at end of file +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Key-value string pairs of metadata associated with the event. | {
"source": "crm"
} | +| `Data` | map[string]`any` | :heavy_minus_sign: | Freeform JSON data of the event. | {
"user_id": "userid",
"status": "active"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/eventfull.md b/sdks/outpost-go/docs/models/components/eventfull.md index f27f98863..f431c607e 100644 --- a/sdks/outpost-go/docs/models/components/eventfull.md +++ b/sdks/outpost-go/docs/models/components/eventfull.md @@ -7,11 +7,11 @@ Full event object with data (returned when include=event.data). | Field | Type | Required | Description | Example | | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `ID` | **string* | :heavy_minus_sign: | N/A | evt_123 | -| `TenantID` | **string* | :heavy_minus_sign: | The tenant this event belongs to. | tnt_123 | -| `DestinationID` | **string* | :heavy_minus_sign: | The destination this event was delivered to. | des_456 | -| `Topic` | **string* | :heavy_minus_sign: | N/A | user.created | +| `ID` | `*string` | :heavy_minus_sign: | N/A | evt_123 | +| `TenantID` | `*string` | :heavy_minus_sign: | The tenant this event belongs to. | tnt_123 | +| `DestinationID` | `*string` | :heavy_minus_sign: | The destination this event was delivered to. | des_456 | +| `Topic` | `*string` | :heavy_minus_sign: | N/A | user.created | | `Time` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Time the event was received. | 2024-01-01T00:00:00Z | -| `EligibleForRetry` | **bool* | :heavy_minus_sign: | Whether this event can be retried. | true | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | N/A | {
"source": "crm"
} | -| `Data` | map[string]*any* | :heavy_minus_sign: | The event payload data. | {
"user_id": "userid",
"status": "active"
} | \ No newline at end of file +| `EligibleForRetry` | `*bool` | :heavy_minus_sign: | Whether this event can be retried. | true | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | N/A | {
"source": "crm"
} | +| `Data` | map[string]`any` | :heavy_minus_sign: | The event payload data. | {
"user_id": "userid",
"status": "active"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/eventsummary.md b/sdks/outpost-go/docs/models/components/eventsummary.md index 077d2f6ab..fac32a588 100644 --- a/sdks/outpost-go/docs/models/components/eventsummary.md +++ b/sdks/outpost-go/docs/models/components/eventsummary.md @@ -7,10 +7,10 @@ Event object without data (returned when include=event). | Field | Type | Required | Description | Example | | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `ID` | **string* | :heavy_minus_sign: | N/A | evt_123 | -| `TenantID` | **string* | :heavy_minus_sign: | The tenant this event belongs to. | tnt_123 | -| `DestinationID` | **string* | :heavy_minus_sign: | The destination this event was delivered to. | des_456 | -| `Topic` | **string* | :heavy_minus_sign: | N/A | user.created | +| `ID` | `*string` | :heavy_minus_sign: | N/A | evt_123 | +| `TenantID` | `*string` | :heavy_minus_sign: | The tenant this event belongs to. | tnt_123 | +| `DestinationID` | `*string` | :heavy_minus_sign: | The destination this event was delivered to. | des_456 | +| `Topic` | `*string` | :heavy_minus_sign: | N/A | user.created | | `Time` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Time the event was received. | 2024-01-01T00:00:00Z | -| `EligibleForRetry` | **bool* | :heavy_minus_sign: | Whether this event can be retried. | true | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | N/A | {
"source": "crm"
} | \ No newline at end of file +| `EligibleForRetry` | `*bool` | :heavy_minus_sign: | Whether this event can be retried. | true | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | N/A | {
"source": "crm"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/gcppubsubconfig.md b/sdks/outpost-go/docs/models/components/gcppubsubconfig.md index 3455e10f9..a8f579fb8 100644 --- a/sdks/outpost-go/docs/models/components/gcppubsubconfig.md +++ b/sdks/outpost-go/docs/models/components/gcppubsubconfig.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `ProjectID` | *string* | :heavy_check_mark: | The GCP project ID. | my-project-123 | -| `Topic` | *string* | :heavy_check_mark: | The Pub/Sub topic name. | events-topic | -| `Endpoint` | **string* | :heavy_minus_sign: | Optional. Custom endpoint URL (e.g., localhost:8085 for emulator). | pubsub.googleapis.com:443 | \ No newline at end of file +| `ProjectID` | `string` | :heavy_check_mark: | The GCP project ID. | my-project-123 | +| `Topic` | `string` | :heavy_check_mark: | The Pub/Sub topic name. | events-topic | +| `Endpoint` | `*string` | :heavy_minus_sign: | Optional. Custom endpoint URL (e.g., localhost:8085 for emulator). | pubsub.googleapis.com:443 | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/gcppubsubcredentials.md b/sdks/outpost-go/docs/models/components/gcppubsubcredentials.md index e5a2e9e72..605e1019e 100644 --- a/sdks/outpost-go/docs/models/components/gcppubsubcredentials.md +++ b/sdks/outpost-go/docs/models/components/gcppubsubcredentials.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ServiceAccountJSON` | *string* | :heavy_check_mark: | Service account key JSON. The entire JSON key file content as a string. | {"type":"service_account","project_id":"my-project","private_key_id":"key123","private_key":"-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n","client_email":"my-service@my-project.iam.gserviceaccount.com"} | \ No newline at end of file +| `ServiceAccountJSON` | `string` | :heavy_check_mark: | Service account key JSON. The entire JSON key file content as a string. | {"type":"service_account","project_id":"my-project","private_key_id":"key123","private_key":"-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n","client_email":"my-service@my-project.iam.gserviceaccount.com"} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/hookdeckcredentials.md b/sdks/outpost-go/docs/models/components/hookdeckcredentials.md index 62ddadf03..e35047829 100644 --- a/sdks/outpost-go/docs/models/components/hookdeckcredentials.md +++ b/sdks/outpost-go/docs/models/components/hookdeckcredentials.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `Token` | *string* | :heavy_check_mark: | Hookdeck authentication token. | hd_token_... | \ No newline at end of file +| `Token` | `string` | :heavy_check_mark: | Hookdeck authentication token. | hd_token_... | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/portalredirect.md b/sdks/outpost-go/docs/models/components/portalredirect.md index 768eb5c98..a88ea6f69 100644 --- a/sdks/outpost-go/docs/models/components/portalredirect.md +++ b/sdks/outpost-go/docs/models/components/portalredirect.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `RedirectURL` | **string* | :heavy_minus_sign: | Redirect URL containing a JWT to authenticate the user with the portal. | https://webhooks.acme.com/?token=JWT_TOKEN&tenant_id=tenant_123 | -| `TenantID` | **string* | :heavy_minus_sign: | The ID of the tenant associated with this portal session. | tenant_123 | \ No newline at end of file +| `RedirectURL` | `*string` | :heavy_minus_sign: | Redirect URL containing a JWT to authenticate the user with the portal. | https://webhooks.acme.com/?token=JWT_TOKEN&tenant_id=tenant_123 | +| `TenantID` | `*string` | :heavy_minus_sign: | The ID of the tenant associated with this portal session. | tenant_123 | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/publishrequest.md b/sdks/outpost-go/docs/models/components/publishrequest.md index 61f6946bb..d2529ac9c 100644 --- a/sdks/outpost-go/docs/models/components/publishrequest.md +++ b/sdks/outpost-go/docs/models/components/publishrequest.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `ID` | **string* | :heavy_minus_sign: | Optional. A unique identifier for the event. If not provided, a UUID will be generated. | evt_custom_123 | -| `TenantID` | **string* | :heavy_minus_sign: | The ID of the tenant to publish for. | | -| `DestinationID` | **string* | :heavy_minus_sign: | Optional. Route event to a specific destination. | | -| `Topic` | **string* | :heavy_minus_sign: | Topic name for the event. Required if Outpost has been configured with topics. | topic.name | -| `EligibleForRetry` | **bool* | :heavy_minus_sign: | Should event delivery be retried on failure. | | +| `ID` | `*string` | :heavy_minus_sign: | Optional. A unique identifier for the event. If not provided, a UUID will be generated. | evt_custom_123 | +| `TenantID` | `*string` | :heavy_minus_sign: | The ID of the tenant to publish for. | | +| `DestinationID` | `*string` | :heavy_minus_sign: | Optional. Route event to a specific destination. | | +| `Topic` | `*string` | :heavy_minus_sign: | Topic name for the event. Required if Outpost has been configured with topics. | topic.name | +| `EligibleForRetry` | `*bool` | :heavy_minus_sign: | Should event delivery be retried on failure. | | | `Time` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Optional. Custom timestamp for the event. If not provided, defaults to the current time. | 2024-01-15T10:30:00Z | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Any key-value string pairs for metadata. | {
"source": "crm"
} | -| `Data` | map[string]*any* | :heavy_check_mark: | Any JSON payload for the event data. | {
"user_id": "userid",
"status": "active"
} | \ No newline at end of file +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Any key-value string pairs for metadata. | {
"source": "crm"
} | +| `Data` | map[string]`any` | :heavy_check_mark: | Any JSON payload for the event data. | {
"user_id": "userid",
"status": "active"
} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/publishresponse.md b/sdks/outpost-go/docs/models/components/publishresponse.md index 768acd278..79886ae3c 100644 --- a/sdks/outpost-go/docs/models/components/publishresponse.md +++ b/sdks/outpost-go/docs/models/components/publishresponse.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ID` | *string* | :heavy_check_mark: | The ID of the event that was accepted for publishing. This will be the ID provided in the request's `id` field if present, otherwise it's a server-generated UUID. | evt_abc123xyz789 | -| `Duplicate` | *bool* | :heavy_check_mark: | Whether this event was already processed (idempotency hit). If true, the event was not queued again. | false | -| `DestinationIds` | []*string* | :heavy_check_mark: | The IDs of destinations that matched this event. Empty array if no destinations matched. | [
"des_456",
"des_789"
] | \ No newline at end of file +| `ID` | `string` | :heavy_check_mark: | The ID of the event that was accepted for publishing. This will be the ID provided in the request's `id` field if present, otherwise it's a server-generated UUID. | evt_abc123xyz789 | +| `Duplicate` | `bool` | :heavy_check_mark: | Whether this event was already processed (idempotency hit). If true, the event was not queued again. | false | +| `DestinationIds` | []`string` | :heavy_check_mark: | The IDs of destinations that matched this event. Empty array if no destinations matched. | [
"des_456",
"des_789"
] | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/rabbitmqconfig.md b/sdks/outpost-go/docs/models/components/rabbitmqconfig.md index aca91aa62..2e7c1fe46 100644 --- a/sdks/outpost-go/docs/models/components/rabbitmqconfig.md +++ b/sdks/outpost-go/docs/models/components/rabbitmqconfig.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `ServerURL` | *string* | :heavy_check_mark: | RabbitMQ server address (host:port). | localhost:5672 | -| `Exchange` | *string* | :heavy_check_mark: | The exchange to publish messages to. | my-exchange | +| `ServerURL` | `string` | :heavy_check_mark: | RabbitMQ server address (host:port). | localhost:5672 | +| `Exchange` | `string` | :heavy_check_mark: | The exchange to publish messages to. | my-exchange | | `TLS` | [*components.TLS](../../models/components/tls.md) | :heavy_minus_sign: | Whether to use TLS connection (amqps). Defaults to "false". | false | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/rabbitmqcredentials.md b/sdks/outpost-go/docs/models/components/rabbitmqcredentials.md index 5fa7182a7..6ac827d5a 100644 --- a/sdks/outpost-go/docs/models/components/rabbitmqcredentials.md +++ b/sdks/outpost-go/docs/models/components/rabbitmqcredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `Username` | *string* | :heavy_check_mark: | RabbitMQ username. | guest | -| `Password` | *string* | :heavy_check_mark: | RabbitMQ password. | guest | \ No newline at end of file +| `Username` | `string` | :heavy_check_mark: | RabbitMQ username. | guest | +| `Password` | `string` | :heavy_check_mark: | RabbitMQ password. | guest | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/retryrequest.md b/sdks/outpost-go/docs/models/components/retryrequest.md index 956cda4e6..e6cf5862b 100644 --- a/sdks/outpost-go/docs/models/components/retryrequest.md +++ b/sdks/outpost-go/docs/models/components/retryrequest.md @@ -7,5 +7,5 @@ Request body for retrying event delivery to a destination. | Field | Type | Required | Description | Example | | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `EventID` | *string* | :heavy_check_mark: | The ID of the event to retry. | evt_123 | -| `DestinationID` | *string* | :heavy_check_mark: | The ID of the destination to deliver to. | des_456 | \ No newline at end of file +| `EventID` | `string` | :heavy_check_mark: | The ID of the event to retry. | evt_123 | +| `DestinationID` | `string` | :heavy_check_mark: | The ID of the destination to deliver to. | des_456 | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/security.md b/sdks/outpost-go/docs/models/components/security.md index 07f77c436..634e63683 100644 --- a/sdks/outpost-go/docs/models/components/security.md +++ b/sdks/outpost-go/docs/models/components/security.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `APIKey` | **string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `APIKey` | `*string` | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/seekpagination.md b/sdks/outpost-go/docs/models/components/seekpagination.md index ed2043e20..2fa256633 100644 --- a/sdks/outpost-go/docs/models/components/seekpagination.md +++ b/sdks/outpost-go/docs/models/components/seekpagination.md @@ -7,8 +7,8 @@ Cursor-based pagination metadata for list responses. | Field | Type | Required | Description | Example | | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `OrderBy` | **string* | :heavy_minus_sign: | The field being sorted on. | created_at | +| `OrderBy` | `*string` | :heavy_minus_sign: | The field being sorted on. | created_at | | `Dir` | [*components.Dir](../../models/components/dir.md) | :heavy_minus_sign: | Sort direction. | desc | -| `Limit` | **int64* | :heavy_minus_sign: | Page size limit. | 100 | -| `Next` | **string* | :heavy_minus_sign: | Cursor for the next page of results. Null if no more results. | MTcwNDA2NzIwMA== | -| `Prev` | **string* | :heavy_minus_sign: | Cursor for the previous page of results. Null if on first page. | | \ No newline at end of file +| `Limit` | `*int64` | :heavy_minus_sign: | Page size limit. | 100 | +| `Next` | `*string` | :heavy_minus_sign: | Cursor for the next page of results. Null if no more results. | MTcwNDA2NzIwMA== | +| `Prev` | `*string` | :heavy_minus_sign: | Cursor for the previous page of results. Null if on first page. | | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/successresponse.md b/sdks/outpost-go/docs/models/components/successresponse.md index 621589d96..5e7beb9ca 100644 --- a/sdks/outpost-go/docs/models/components/successresponse.md +++ b/sdks/outpost-go/docs/models/components/successresponse.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `Success` | **bool* | :heavy_minus_sign: | N/A | true | \ No newline at end of file +| `Success` | `*bool` | :heavy_minus_sign: | N/A | true | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/tenant.md b/sdks/outpost-go/docs/models/components/tenant.md index b2626a9f6..547730418 100644 --- a/sdks/outpost-go/docs/models/components/tenant.md +++ b/sdks/outpost-go/docs/models/components/tenant.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `ID` | **string* | :heavy_minus_sign: | User-defined system ID for the tenant. | 123 | -| `DestinationsCount` | **int64* | :heavy_minus_sign: | Number of destinations associated with the tenant. | 5 | -| `Topics` | []*string* | :heavy_minus_sign: | List of subscribed topics across all destinations for this tenant. | [
"user.created",
"user.deleted"
] | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Arbitrary key-value pairs for storing contextual information about the tenant. | | +| `ID` | `*string` | :heavy_minus_sign: | User-defined system ID for the tenant. | 123 | +| `DestinationsCount` | `*int64` | :heavy_minus_sign: | Number of destinations associated with the tenant. | 5 | +| `Topics` | []`string` | :heavy_minus_sign: | List of subscribed topics across all destinations for this tenant. | [
"user.created",
"user.deleted"
] | +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Arbitrary key-value pairs for storing contextual information about the tenant. | | | `CreatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | ISO Date when the tenant was created. | 2024-01-01T00:00:00Z | | `UpdatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | ISO Date when the tenant was last updated. | 2024-01-01T00:00:00Z | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/tenantpaginatedresult.md b/sdks/outpost-go/docs/models/components/tenantpaginatedresult.md index 14d128c44..c3d1f9a7e 100644 --- a/sdks/outpost-go/docs/models/components/tenantpaginatedresult.md +++ b/sdks/outpost-go/docs/models/components/tenantpaginatedresult.md @@ -9,4 +9,4 @@ Paginated list of tenants. | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | | `Models` | [][components.Tenant](../../models/components/tenant.md) | :heavy_minus_sign: | Array of tenant objects. | | | `Pagination` | [*components.SeekPagination](../../models/components/seekpagination.md) | :heavy_minus_sign: | Cursor-based pagination metadata for list responses. | | -| `Count` | **int64* | :heavy_minus_sign: | Total count of all tenants. | 42 | \ No newline at end of file +| `Count` | `*int64` | :heavy_minus_sign: | Total count of all tenants. | 42 | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/tenanttoken.md b/sdks/outpost-go/docs/models/components/tenanttoken.md index 1a68f6f23..f97a806c7 100644 --- a/sdks/outpost-go/docs/models/components/tenanttoken.md +++ b/sdks/outpost-go/docs/models/components/tenanttoken.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `Token` | **string* | :heavy_minus_sign: | JWT token scoped to the tenant for safe browser API calls. | SOME_JWT_TOKEN | -| `TenantID` | **string* | :heavy_minus_sign: | The ID of the tenant this token is scoped to. | tenant_123 | \ No newline at end of file +| `Token` | `*string` | :heavy_minus_sign: | JWT token scoped to the tenant for safe browser API calls. | SOME_JWT_TOKEN | +| `TenantID` | `*string` | :heavy_minus_sign: | The ID of the tenant this token is scoped to. | tenant_123 | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/tenantupsert.md b/sdks/outpost-go/docs/models/components/tenantupsert.md index 4d2bab11b..aa5169f66 100644 --- a/sdks/outpost-go/docs/models/components/tenantupsert.md +++ b/sdks/outpost-go/docs/models/components/tenantupsert.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| `Metadata` | map[string]*string* | :heavy_minus_sign: | Optional metadata to store with the tenant. | \ No newline at end of file +| `Metadata` | map[string]`string` | :heavy_minus_sign: | Optional metadata to store with the tenant. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/webhookconfig.md b/sdks/outpost-go/docs/models/components/webhookconfig.md index 0fd9836e7..5f3cc3a46 100644 --- a/sdks/outpost-go/docs/models/components/webhookconfig.md +++ b/sdks/outpost-go/docs/models/components/webhookconfig.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `URL` | *string* | :heavy_check_mark: | The URL to send the webhook events to. | https://example.com/webhooks/user | -| `CustomHeaders` | **string* | :heavy_minus_sign: | JSON string of custom HTTP headers to include with every webhook request. Header names must be valid HTTP header tokens (alphanumeric, hyphens, underscores). Reserved headers (Content-Type, Host, etc.) cannot be overridden. | {"x-api-key":"secret123","x-tenant-id":"customer-456"} | \ No newline at end of file +| `URL` | `string` | :heavy_check_mark: | The URL to send the webhook events to. | https://example.com/webhooks/user | +| `CustomHeaders` | `*string` | :heavy_minus_sign: | JSON string of custom HTTP headers to include with every webhook request. Header names must be valid HTTP header tokens (alphanumeric, hyphens, underscores). Reserved headers (Content-Type, Host, etc.) cannot be overridden. | {"x-api-key":"secret123","x-tenant-id":"customer-456"} | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/webhookcredentials.md b/sdks/outpost-go/docs/models/components/webhookcredentials.md index 567982c21..783f3213b 100644 --- a/sdks/outpost-go/docs/models/components/webhookcredentials.md +++ b/sdks/outpost-go/docs/models/components/webhookcredentials.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `Secret` | **string* | :heavy_minus_sign: | The secret used for signing webhook requests. Auto-generated if omitted on creation by admin. Read-only for tenants unless rotating. | whsec_abc123 | -| `PreviousSecret` | **string* | :heavy_minus_sign: | The previous secret used during rotation. Valid for 24 hours by default. Read-only. | whsec_xyz789 | +| `Secret` | `*string` | :heavy_minus_sign: | The secret used for signing webhook requests. Auto-generated if omitted on creation by admin. Read-only for tenants unless rotating. | whsec_abc123 | +| `PreviousSecret` | `*string` | :heavy_minus_sign: | The previous secret used during rotation. Valid for 24 hours by default. Read-only. | whsec_xyz789 | | `PreviousSecretInvalidAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | ISO timestamp when the previous secret becomes invalid. Read-only. | 2024-01-02T00:00:00Z | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/webhookcredentialsupdate.md b/sdks/outpost-go/docs/models/components/webhookcredentialsupdate.md index aa163807b..c5936f725 100644 --- a/sdks/outpost-go/docs/models/components/webhookcredentialsupdate.md +++ b/sdks/outpost-go/docs/models/components/webhookcredentialsupdate.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Secret` | **string* | :heavy_minus_sign: | New secret (only allowed for admin). | -| `PreviousSecret` | **string* | :heavy_minus_sign: | Previous secret for rotation (only allowed for admin). | +| `Secret` | `*string` | :heavy_minus_sign: | New secret (only allowed for admin). | +| `PreviousSecret` | `*string` | :heavy_minus_sign: | Previous secret for rotation (only allowed for admin). | | `PreviousSecretInvalidAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Invalidation time for previous secret (only allowed for admin). | -| `RotateSecret` | **bool* | :heavy_minus_sign: | Set to true to rotate the secret. The current secret becomes the previous_secret, and a new secret is generated. `previous_secret_invalid_at` defaults to 24h if not provided. | \ No newline at end of file +| `RotateSecret` | `*bool` | :heavy_minus_sign: | Set to true to rotate the secret. The current secret becomes the previous_secret, and a new secret is generated. `previous_secret_invalid_at` defaults to 24h if not provided. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/createtenantdestinationrequest.md b/sdks/outpost-go/docs/models/operations/createtenantdestinationrequest.md index 0eda003cd..9bfef655a 100644 --- a/sdks/outpost-go/docs/models/operations/createtenantdestinationrequest.md +++ b/sdks/outpost-go/docs/models/operations/createtenantdestinationrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `Params` | [components.DestinationCreate](../../models/components/destinationcreate.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `Body` | [components.DestinationCreate](../../models/components/destinationcreate.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/deletetenantdestinationrequest.md b/sdks/outpost-go/docs/models/operations/deletetenantdestinationrequest.md index d974b7c4f..d3a3e9958 100644 --- a/sdks/outpost-go/docs/models/operations/deletetenantdestinationrequest.md +++ b/sdks/outpost-go/docs/models/operations/deletetenantdestinationrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `DestinationID` | *string* | :heavy_check_mark: | The ID of the destination. | \ No newline at end of file +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `DestinationID` | `string` | :heavy_check_mark: | The ID of the destination. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/deletetenantrequest.md b/sdks/outpost-go/docs/models/operations/deletetenantrequest.md index c94e091a3..c32ba3260 100644 --- a/sdks/outpost-go/docs/models/operations/deletetenantrequest.md +++ b/sdks/outpost-go/docs/models/operations/deletetenantrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | \ No newline at end of file +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/disabletenantdestinationrequest.md b/sdks/outpost-go/docs/models/operations/disabletenantdestinationrequest.md index 300fd0655..fa11b1650 100644 --- a/sdks/outpost-go/docs/models/operations/disabletenantdestinationrequest.md +++ b/sdks/outpost-go/docs/models/operations/disabletenantdestinationrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `DestinationID` | *string* | :heavy_check_mark: | The ID of the destination. | \ No newline at end of file +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `DestinationID` | `string` | :heavy_check_mark: | The ID of the destination. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/enabletenantdestinationrequest.md b/sdks/outpost-go/docs/models/operations/enabletenantdestinationrequest.md index a2e60b0b5..b226f80a9 100644 --- a/sdks/outpost-go/docs/models/operations/enabletenantdestinationrequest.md +++ b/sdks/outpost-go/docs/models/operations/enabletenantdestinationrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `DestinationID` | *string* | :heavy_check_mark: | The ID of the destination. | \ No newline at end of file +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `DestinationID` | `string` | :heavy_check_mark: | The ID of the destination. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/getattemptinclude.md b/sdks/outpost-go/docs/models/operations/getattemptinclude.md deleted file mode 100644 index 2c8b410f2..000000000 --- a/sdks/outpost-go/docs/models/operations/getattemptinclude.md +++ /dev/null @@ -1,35 +0,0 @@ -# GetAttemptInclude - -Fields to include in the response. Can be specified multiple times or comma-separated. -- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) -- `event.data`: Include full event with payload data -- `response_data`: Include response body and headers - - - -## Supported Types - -### - -```go -getAttemptInclude := operations.CreateGetAttemptIncludeStr(string{/* values here */}) -``` - -### - -```go -getAttemptInclude := operations.CreateGetAttemptIncludeArrayOfStr([]string{/* values here */}) -``` - -## Union Discrimination - -Use the `Type` field to determine which variant is active, then access the corresponding field: - -```go -switch getAttemptInclude.Type { - case operations.GetAttemptIncludeTypeStr: - // getAttemptInclude.Str is populated - case operations.GetAttemptIncludeTypeArrayOfStr: - // getAttemptInclude.ArrayOfStr is populated -} -``` diff --git a/sdks/outpost-go/docs/models/operations/getattemptrequest.md b/sdks/outpost-go/docs/models/operations/getattemptrequest.md index afd53f126..dffc6fbb2 100644 --- a/sdks/outpost-go/docs/models/operations/getattemptrequest.md +++ b/sdks/outpost-go/docs/models/operations/getattemptrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `AttemptID` | *string* | :heavy_check_mark: | The ID of the attempt. | -| `Include` | [*operations.GetAttemptInclude](../../models/operations/getattemptinclude.md) | :heavy_minus_sign: | Fields to include in the response. Can be specified multiple times or comma-separated.
- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `AttemptID` | `string` | :heavy_check_mark: | The ID of the attempt. | +| `Include` | []`string` | :heavy_minus_sign: | Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`).
- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/getdestinationtypeschemarequest.md b/sdks/outpost-go/docs/models/operations/getdestinationtypeschemarequest.md index 7ff45cf65..f668590ce 100644 --- a/sdks/outpost-go/docs/models/operations/getdestinationtypeschemarequest.md +++ b/sdks/outpost-go/docs/models/operations/getdestinationtypeschemarequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `Type` | [operations.GetDestinationTypeSchemaType](../../models/operations/getdestinationtypeschematype.md) | :heavy_check_mark: | The type of the destination. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `Type` | [operations.Type](../../models/operations/type.md) | :heavy_check_mark: | The type of the destination. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/getdestinationtypeschematype.md b/sdks/outpost-go/docs/models/operations/getdestinationtypeschematype.md deleted file mode 100644 index 3c9ff1864..000000000 --- a/sdks/outpost-go/docs/models/operations/getdestinationtypeschematype.md +++ /dev/null @@ -1,27 +0,0 @@ -# GetDestinationTypeSchemaType - -The type of the destination. - -## Example Usage - -```go -import ( - "github.com/hookdeck/outpost/sdks/outpost-go/models/operations" -) - -value := operations.GetDestinationTypeSchemaTypeWebhook -``` - - -## Values - -| Name | Value | -| --------------------------------------------- | --------------------------------------------- | -| `GetDestinationTypeSchemaTypeWebhook` | webhook | -| `GetDestinationTypeSchemaTypeAwsSqs` | aws_sqs | -| `GetDestinationTypeSchemaTypeRabbitmq` | rabbitmq | -| `GetDestinationTypeSchemaTypeHookdeck` | hookdeck | -| `GetDestinationTypeSchemaTypeAwsKinesis` | aws_kinesis | -| `GetDestinationTypeSchemaTypeAzureServicebus` | azure_servicebus | -| `GetDestinationTypeSchemaTypeAwsS3` | aws_s3 | -| `GetDestinationTypeSchemaTypeGcpPubsub` | gcp_pubsub | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/geteventrequest.md b/sdks/outpost-go/docs/models/operations/geteventrequest.md index 248c0df96..e496902dd 100644 --- a/sdks/outpost-go/docs/models/operations/geteventrequest.md +++ b/sdks/outpost-go/docs/models/operations/geteventrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | -------------------- | -------------------- | -------------------- | -------------------- | -| `EventID` | *string* | :heavy_check_mark: | The ID of the event. | \ No newline at end of file +| `EventID` | `string` | :heavy_check_mark: | The ID of the event. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/gettenantdestinationattemptinclude.md b/sdks/outpost-go/docs/models/operations/gettenantdestinationattemptinclude.md deleted file mode 100644 index 1f365f0b5..000000000 --- a/sdks/outpost-go/docs/models/operations/gettenantdestinationattemptinclude.md +++ /dev/null @@ -1,35 +0,0 @@ -# GetTenantDestinationAttemptInclude - -Fields to include in the response. Can be specified multiple times or comma-separated. -- `event`: Include event summary -- `event.data`: Include full event with payload data -- `response_data`: Include response body and headers - - - -## Supported Types - -### - -```go -getTenantDestinationAttemptInclude := operations.CreateGetTenantDestinationAttemptIncludeStr(string{/* values here */}) -``` - -### - -```go -getTenantDestinationAttemptInclude := operations.CreateGetTenantDestinationAttemptIncludeArrayOfStr([]string{/* values here */}) -``` - -## Union Discrimination - -Use the `Type` field to determine which variant is active, then access the corresponding field: - -```go -switch getTenantDestinationAttemptInclude.Type { - case operations.GetTenantDestinationAttemptIncludeTypeStr: - // getTenantDestinationAttemptInclude.Str is populated - case operations.GetTenantDestinationAttemptIncludeTypeArrayOfStr: - // getTenantDestinationAttemptInclude.ArrayOfStr is populated -} -``` diff --git a/sdks/outpost-go/docs/models/operations/gettenantdestinationattemptrequest.md b/sdks/outpost-go/docs/models/operations/gettenantdestinationattemptrequest.md index 41fc8a5d7..049c52de5 100644 --- a/sdks/outpost-go/docs/models/operations/gettenantdestinationattemptrequest.md +++ b/sdks/outpost-go/docs/models/operations/gettenantdestinationattemptrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `DestinationID` | *string* | :heavy_check_mark: | The ID of the destination. | -| `AttemptID` | *string* | :heavy_check_mark: | The ID of the attempt. | -| `Include` | [*operations.GetTenantDestinationAttemptInclude](../../models/operations/gettenantdestinationattemptinclude.md) | :heavy_minus_sign: | Fields to include in the response. Can be specified multiple times or comma-separated.
- `event`: Include event summary
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `DestinationID` | `string` | :heavy_check_mark: | The ID of the destination. | +| `AttemptID` | `string` | :heavy_check_mark: | The ID of the attempt. | +| `Include` | []`string` | :heavy_minus_sign: | Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`).
- `event`: Include event summary
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/gettenantdestinationrequest.md b/sdks/outpost-go/docs/models/operations/gettenantdestinationrequest.md index 87a8efcaf..0d5641f6d 100644 --- a/sdks/outpost-go/docs/models/operations/gettenantdestinationrequest.md +++ b/sdks/outpost-go/docs/models/operations/gettenantdestinationrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `DestinationID` | *string* | :heavy_check_mark: | The ID of the destination. | \ No newline at end of file +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `DestinationID` | `string` | :heavy_check_mark: | The ID of the destination. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/gettenantportalurlrequest.md b/sdks/outpost-go/docs/models/operations/gettenantportalurlrequest.md index 27ed6ef6c..f5361cb55 100644 --- a/sdks/outpost-go/docs/models/operations/gettenantportalurlrequest.md +++ b/sdks/outpost-go/docs/models/operations/gettenantportalurlrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | | `Theme` | [*operations.Theme](../../models/operations/theme.md) | :heavy_minus_sign: | Optional theme preference for the portal. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/gettenantrequest.md b/sdks/outpost-go/docs/models/operations/gettenantrequest.md index 39bc340de..823e62315 100644 --- a/sdks/outpost-go/docs/models/operations/gettenantrequest.md +++ b/sdks/outpost-go/docs/models/operations/gettenantrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | \ No newline at end of file +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/gettenanttokenrequest.md b/sdks/outpost-go/docs/models/operations/gettenanttokenrequest.md index 329aac18b..a7c0bc07b 100644 --- a/sdks/outpost-go/docs/models/operations/gettenanttokenrequest.md +++ b/sdks/outpost-go/docs/models/operations/gettenanttokenrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | \ No newline at end of file +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/listattemptsinclude.md b/sdks/outpost-go/docs/models/operations/listattemptsinclude.md deleted file mode 100644 index 6b79bce2c..000000000 --- a/sdks/outpost-go/docs/models/operations/listattemptsinclude.md +++ /dev/null @@ -1,35 +0,0 @@ -# ListAttemptsInclude - -Fields to include in the response. Can be specified multiple times or comma-separated. -- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) -- `event.data`: Include full event with payload data -- `response_data`: Include response body and headers - - - -## Supported Types - -### - -```go -listAttemptsInclude := operations.CreateListAttemptsIncludeStr(string{/* values here */}) -``` - -### - -```go -listAttemptsInclude := operations.CreateListAttemptsIncludeArrayOfStr([]string{/* values here */}) -``` - -## Union Discrimination - -Use the `Type` field to determine which variant is active, then access the corresponding field: - -```go -switch listAttemptsInclude.Type { - case operations.ListAttemptsIncludeTypeStr: - // listAttemptsInclude.Str is populated - case operations.ListAttemptsIncludeTypeArrayOfStr: - // listAttemptsInclude.ArrayOfStr is populated -} -``` diff --git a/sdks/outpost-go/docs/models/operations/listattemptsrequest.md b/sdks/outpost-go/docs/models/operations/listattemptsrequest.md index b2aa9c1a1..8a4b24dce 100644 --- a/sdks/outpost-go/docs/models/operations/listattemptsrequest.md +++ b/sdks/outpost-go/docs/models/operations/listattemptsrequest.md @@ -3,18 +3,20 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `TenantID` | **string* | :heavy_minus_sign: | Filter attempts by tenant ID. If not provided, returns attempts from all tenants. | -| `EventID` | **string* | :heavy_minus_sign: | Filter attempts by event ID. | -| `DestinationID` | **string* | :heavy_minus_sign: | Filter attempts by destination ID. | -| `Status` | [*operations.ListAttemptsStatus](../../models/operations/listattemptsstatus.md) | :heavy_minus_sign: | Filter attempts by status. | -| `Topic` | [*operations.ListAttemptsTopic](../../models/operations/listattemptstopic.md) | :heavy_minus_sign: | Filter attempts by event topic(s). Can be specified multiple times or comma-separated. | -| `TimeGte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time >= value (RFC3339 or YYYY-MM-DD format). | -| `TimeLte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format). | -| `Limit` | **int64* | :heavy_minus_sign: | Number of items per page (default 100, max 1000). | -| `Next` | **string* | :heavy_minus_sign: | Cursor for next page of results. | -| `Prev` | **string* | :heavy_minus_sign: | Cursor for previous page of results. | -| `Include` | [*operations.ListAttemptsInclude](../../models/operations/listattemptsinclude.md) | :heavy_minus_sign: | Fields to include in the response. Can be specified multiple times or comma-separated.
- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| -| `OrderBy` | [*operations.ListAttemptsOrderBy](../../models/operations/listattemptsorderby.md) | :heavy_minus_sign: | Field to sort by. | -| `Dir` | [*operations.ListAttemptsDir](../../models/operations/listattemptsdir.md) | :heavy_minus_sign: | Sort direction. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `TenantID` | []`string` | :heavy_minus_sign: | Filter attempts by tenant ID(s). Use bracket notation for multiple values (e.g., `tenant_id[0]=t1&tenant_id[1]=t2`).
When authenticated with a Tenant JWT, this parameter is ignored and the JWT's tenant is used.
If not provided with API key auth, returns attempts from all tenants.
| +| `EventID` | []`string` | :heavy_minus_sign: | Filter attempts by event ID(s). Use bracket notation for multiple values (e.g., `event_id[0]=e1&event_id[1]=e2`). | +| `DestinationID` | []`string` | :heavy_minus_sign: | Filter attempts by destination ID(s). Use bracket notation for multiple values (e.g., `destination_id[0]=d1&destination_id[1]=d2`). | +| `Status` | [*operations.ListAttemptsStatus](../../models/operations/listattemptsstatus.md) | :heavy_minus_sign: | Filter attempts by status. | +| `Topic` | []`string` | :heavy_minus_sign: | Filter attempts by event topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). | +| `TimeGte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time >= value (RFC3339 or YYYY-MM-DD format). | +| `TimeLte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format). | +| `TimeGt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time > value (RFC3339 or YYYY-MM-DD format). | +| `TimeLt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time < value (RFC3339 or YYYY-MM-DD format). | +| `Limit` | `*int64` | :heavy_minus_sign: | Number of items per page (default 100, max 1000). | +| `Next` | `*string` | :heavy_minus_sign: | Cursor for next page of results. | +| `Prev` | `*string` | :heavy_minus_sign: | Cursor for previous page of results. | +| `Include` | []`string` | :heavy_minus_sign: | Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`).
- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| +| `OrderBy` | [*operations.ListAttemptsOrderBy](../../models/operations/listattemptsorderby.md) | :heavy_minus_sign: | Field to sort by. | +| `Dir` | [*operations.ListAttemptsDir](../../models/operations/listattemptsdir.md) | :heavy_minus_sign: | Sort direction. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/listattemptstopic.md b/sdks/outpost-go/docs/models/operations/listattemptstopic.md deleted file mode 100644 index 27361c77d..000000000 --- a/sdks/outpost-go/docs/models/operations/listattemptstopic.md +++ /dev/null @@ -1,31 +0,0 @@ -# ListAttemptsTopic - -Filter attempts by event topic(s). Can be specified multiple times or comma-separated. - - -## Supported Types - -### - -```go -listAttemptsTopic := operations.CreateListAttemptsTopicStr(string{/* values here */}) -``` - -### - -```go -listAttemptsTopic := operations.CreateListAttemptsTopicArrayOfStr([]string{/* values here */}) -``` - -## Union Discrimination - -Use the `Type` field to determine which variant is active, then access the corresponding field: - -```go -switch listAttemptsTopic.Type { - case operations.ListAttemptsTopicTypeStr: - // listAttemptsTopic.Str is populated - case operations.ListAttemptsTopicTypeArrayOfStr: - // listAttemptsTopic.ArrayOfStr is populated -} -``` diff --git a/sdks/outpost-go/docs/models/operations/listeventsrequest.md b/sdks/outpost-go/docs/models/operations/listeventsrequest.md index b9e5d7f11..7e7f483ec 100644 --- a/sdks/outpost-go/docs/models/operations/listeventsrequest.md +++ b/sdks/outpost-go/docs/models/operations/listeventsrequest.md @@ -3,14 +3,17 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `TenantID` | **string* | :heavy_minus_sign: | Filter events by tenant ID. If not provided, returns events from all tenants. | -| `Topic` | [*operations.ListEventsTopic](../../models/operations/listeventstopic.md) | :heavy_minus_sign: | Filter events by topic(s). Can be specified multiple times or comma-separated. | -| `TimeGte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter events with time >= value (RFC3339 or YYYY-MM-DD format). | -| `TimeLte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter events with time <= value (RFC3339 or YYYY-MM-DD format). | -| `Limit` | **int64* | :heavy_minus_sign: | Number of items per page (default 100, max 1000). | -| `Next` | **string* | :heavy_minus_sign: | Cursor for next page of results. | -| `Prev` | **string* | :heavy_minus_sign: | Cursor for previous page of results. | -| `OrderBy` | [*operations.ListEventsOrderBy](../../models/operations/listeventsorderby.md) | :heavy_minus_sign: | Field to sort by. | -| `Dir` | [*operations.ListEventsDir](../../models/operations/listeventsdir.md) | :heavy_minus_sign: | Sort direction. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `ID` | []`string` | :heavy_minus_sign: | Filter events by ID(s). Use bracket notation for multiple values (e.g., `id[0]=abc&id[1]=def`). | +| `TenantID` | []`string` | :heavy_minus_sign: | Filter events by tenant ID(s). Use bracket notation for multiple values (e.g., `tenant_id[0]=t1&tenant_id[1]=t2`).
When authenticated with a Tenant JWT, this parameter is ignored and the JWT's tenant is used.
If not provided with API key auth, returns events from all tenants.
| +| `Topic` | []`string` | :heavy_minus_sign: | Filter events by topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). | +| `TimeGte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter events with time >= value (RFC3339 or YYYY-MM-DD format). | +| `TimeLte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter events with time <= value (RFC3339 or YYYY-MM-DD format). | +| `TimeGt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter events with time > value (RFC3339 or YYYY-MM-DD format). | +| `TimeLt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter events with time < value (RFC3339 or YYYY-MM-DD format). | +| `Limit` | `*int64` | :heavy_minus_sign: | Number of items per page (default 100, max 1000). | +| `Next` | `*string` | :heavy_minus_sign: | Cursor for next page of results. | +| `Prev` | `*string` | :heavy_minus_sign: | Cursor for previous page of results. | +| `OrderBy` | [*operations.ListEventsOrderBy](../../models/operations/listeventsorderby.md) | :heavy_minus_sign: | Field to sort by. | +| `Dir` | [*operations.ListEventsDir](../../models/operations/listeventsdir.md) | :heavy_minus_sign: | Sort direction. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/listeventstopic.md b/sdks/outpost-go/docs/models/operations/listeventstopic.md deleted file mode 100644 index afec1c481..000000000 --- a/sdks/outpost-go/docs/models/operations/listeventstopic.md +++ /dev/null @@ -1,31 +0,0 @@ -# ListEventsTopic - -Filter events by topic(s). Can be specified multiple times or comma-separated. - - -## Supported Types - -### - -```go -listEventsTopic := operations.CreateListEventsTopicStr(string{/* values here */}) -``` - -### - -```go -listEventsTopic := operations.CreateListEventsTopicArrayOfStr([]string{/* values here */}) -``` - -## Union Discrimination - -Use the `Type` field to determine which variant is active, then access the corresponding field: - -```go -switch listEventsTopic.Type { - case operations.ListEventsTopicTypeStr: - // listEventsTopic.Str is populated - case operations.ListEventsTopicTypeArrayOfStr: - // listEventsTopic.ArrayOfStr is populated -} -``` diff --git a/sdks/outpost-go/docs/models/operations/listtenantdestinationattemptsinclude.md b/sdks/outpost-go/docs/models/operations/listtenantdestinationattemptsinclude.md deleted file mode 100644 index deb4112f9..000000000 --- a/sdks/outpost-go/docs/models/operations/listtenantdestinationattemptsinclude.md +++ /dev/null @@ -1,35 +0,0 @@ -# ListTenantDestinationAttemptsInclude - -Fields to include in the response. Can be specified multiple times or comma-separated. -- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) -- `event.data`: Include full event with payload data -- `response_data`: Include response body and headers - - - -## Supported Types - -### - -```go -listTenantDestinationAttemptsInclude := operations.CreateListTenantDestinationAttemptsIncludeStr(string{/* values here */}) -``` - -### - -```go -listTenantDestinationAttemptsInclude := operations.CreateListTenantDestinationAttemptsIncludeArrayOfStr([]string{/* values here */}) -``` - -## Union Discrimination - -Use the `Type` field to determine which variant is active, then access the corresponding field: - -```go -switch listTenantDestinationAttemptsInclude.Type { - case operations.ListTenantDestinationAttemptsIncludeTypeStr: - // listTenantDestinationAttemptsInclude.Str is populated - case operations.ListTenantDestinationAttemptsIncludeTypeArrayOfStr: - // listTenantDestinationAttemptsInclude.ArrayOfStr is populated -} -``` diff --git a/sdks/outpost-go/docs/models/operations/listtenantdestinationattemptsrequest.md b/sdks/outpost-go/docs/models/operations/listtenantdestinationattemptsrequest.md index a504e0502..bf2e6bc3f 100644 --- a/sdks/outpost-go/docs/models/operations/listtenantdestinationattemptsrequest.md +++ b/sdks/outpost-go/docs/models/operations/listtenantdestinationattemptsrequest.md @@ -3,18 +3,20 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `DestinationID` | *string* | :heavy_check_mark: | The ID of the destination. | -| `EventID` | **string* | :heavy_minus_sign: | Filter attempts by event ID. | -| `Status` | [*operations.ListTenantDestinationAttemptsStatus](../../models/operations/listtenantdestinationattemptsstatus.md) | :heavy_minus_sign: | Filter attempts by status. | -| `Topic` | [*operations.ListTenantDestinationAttemptsTopic](../../models/operations/listtenantdestinationattemptstopic.md) | :heavy_minus_sign: | Filter attempts by event topic(s). Can be specified multiple times or comma-separated. | -| `TimeGte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time >= value (RFC3339 or YYYY-MM-DD format). | -| `TimeLte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format). | -| `Limit` | **int64* | :heavy_minus_sign: | Number of items per page (default 100, max 1000). | -| `Next` | **string* | :heavy_minus_sign: | Cursor for next page of results. | -| `Prev` | **string* | :heavy_minus_sign: | Cursor for previous page of results. | -| `Include` | [*operations.ListTenantDestinationAttemptsInclude](../../models/operations/listtenantdestinationattemptsinclude.md) | :heavy_minus_sign: | Fields to include in the response. Can be specified multiple times or comma-separated.
- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| -| `OrderBy` | [*operations.ListTenantDestinationAttemptsOrderBy](../../models/operations/listtenantdestinationattemptsorderby.md) | :heavy_minus_sign: | Field to sort by. | -| `Dir` | [*operations.ListTenantDestinationAttemptsDir](../../models/operations/listtenantdestinationattemptsdir.md) | :heavy_minus_sign: | Sort direction. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `DestinationID` | `string` | :heavy_check_mark: | The ID of the destination. | +| `EventID` | []`string` | :heavy_minus_sign: | Filter attempts by event ID(s). Use bracket notation for multiple values (e.g., `event_id[0]=e1&event_id[1]=e2`). | +| `Status` | [*operations.ListTenantDestinationAttemptsStatus](../../models/operations/listtenantdestinationattemptsstatus.md) | :heavy_minus_sign: | Filter attempts by status. | +| `Topic` | []`string` | :heavy_minus_sign: | Filter attempts by event topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). | +| `TimeGte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time >= value (RFC3339 or YYYY-MM-DD format). | +| `TimeLte` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format). | +| `TimeGt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time > value (RFC3339 or YYYY-MM-DD format). | +| `TimeLt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | Filter attempts by event time < value (RFC3339 or YYYY-MM-DD format). | +| `Limit` | `*int64` | :heavy_minus_sign: | Number of items per page (default 100, max 1000). | +| `Next` | `*string` | :heavy_minus_sign: | Cursor for next page of results. | +| `Prev` | `*string` | :heavy_minus_sign: | Cursor for previous page of results. | +| `Include` | []`string` | :heavy_minus_sign: | Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`).
- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| +| `OrderBy` | [*operations.ListTenantDestinationAttemptsOrderBy](../../models/operations/listtenantdestinationattemptsorderby.md) | :heavy_minus_sign: | Field to sort by. | +| `Dir` | [*operations.ListTenantDestinationAttemptsDir](../../models/operations/listtenantdestinationattemptsdir.md) | :heavy_minus_sign: | Sort direction. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/listtenantdestinationattemptstopic.md b/sdks/outpost-go/docs/models/operations/listtenantdestinationattemptstopic.md deleted file mode 100644 index e622cf21b..000000000 --- a/sdks/outpost-go/docs/models/operations/listtenantdestinationattemptstopic.md +++ /dev/null @@ -1,31 +0,0 @@ -# ListTenantDestinationAttemptsTopic - -Filter attempts by event topic(s). Can be specified multiple times or comma-separated. - - -## Supported Types - -### - -```go -listTenantDestinationAttemptsTopic := operations.CreateListTenantDestinationAttemptsTopicStr(string{/* values here */}) -``` - -### - -```go -listTenantDestinationAttemptsTopic := operations.CreateListTenantDestinationAttemptsTopicArrayOfStr([]string{/* values here */}) -``` - -## Union Discrimination - -Use the `Type` field to determine which variant is active, then access the corresponding field: - -```go -switch listTenantDestinationAttemptsTopic.Type { - case operations.ListTenantDestinationAttemptsTopicTypeStr: - // listTenantDestinationAttemptsTopic.Str is populated - case operations.ListTenantDestinationAttemptsTopicTypeArrayOfStr: - // listTenantDestinationAttemptsTopic.ArrayOfStr is populated -} -``` diff --git a/sdks/outpost-go/docs/models/operations/listtenantdestinationsrequest.md b/sdks/outpost-go/docs/models/operations/listtenantdestinationsrequest.md index ceb692170..104427889 100644 --- a/sdks/outpost-go/docs/models/operations/listtenantdestinationsrequest.md +++ b/sdks/outpost-go/docs/models/operations/listtenantdestinationsrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `Type` | [*operations.ListTenantDestinationsType](../../models/operations/listtenantdestinationstype.md) | :heavy_minus_sign: | Filter destinations by type(s). | -| `Topics` | [*operations.Topics](../../models/operations/topics.md) | :heavy_minus_sign: | Filter destinations by supported topic(s). | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `Type` | [][components.DestinationType](../../models/components/destinationtype.md) | :heavy_minus_sign: | Filter destinations by type(s). Use bracket notation for multiple values (e.g., `type[0]=webhook&type[1]=aws_sqs`). | +| `Topics` | []`string` | :heavy_minus_sign: | Filter destinations by supported topic(s). Use bracket notation for multiple values (e.g., `topics[0]=user.created&topics[1]=user.deleted`). | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/listtenantdestinationstype.md b/sdks/outpost-go/docs/models/operations/listtenantdestinationstype.md deleted file mode 100644 index b3580dad5..000000000 --- a/sdks/outpost-go/docs/models/operations/listtenantdestinationstype.md +++ /dev/null @@ -1,31 +0,0 @@ -# ListTenantDestinationsType - -Filter destinations by type(s). - - -## Supported Types - -### DestinationType - -```go -listTenantDestinationsType := operations.CreateListTenantDestinationsTypeDestinationType(components.DestinationType{/* values here */}) -``` - -### - -```go -listTenantDestinationsType := operations.CreateListTenantDestinationsTypeArrayOfDestinationType([]components.DestinationType{/* values here */}) -``` - -## Union Discrimination - -Use the `Type` field to determine which variant is active, then access the corresponding field: - -```go -switch listTenantDestinationsType.Type { - case operations.ListTenantDestinationsTypeTypeDestinationType: - // listTenantDestinationsType.DestinationType is populated - case operations.ListTenantDestinationsTypeTypeArrayOfDestinationType: - // listTenantDestinationsType.ArrayOfDestinationType is populated -} -``` diff --git a/sdks/outpost-go/docs/models/operations/listtenantsrequest.md b/sdks/outpost-go/docs/models/operations/listtenantsrequest.md index 0bef7a8bf..0a8dafde8 100644 --- a/sdks/outpost-go/docs/models/operations/listtenantsrequest.md +++ b/sdks/outpost-go/docs/models/operations/listtenantsrequest.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `Limit` | **int64* | :heavy_minus_sign: | Number of tenants to return per page (1-100, default 20). | -| `Dir` | [*operations.ListTenantsDir](../../models/operations/listtenantsdir.md) | :heavy_minus_sign: | Sort direction. | -| `Next` | **string* | :heavy_minus_sign: | Cursor for the next page of results. Mutually exclusive with `prev`. | -| `Prev` | **string* | :heavy_minus_sign: | Cursor for the previous page of results. Mutually exclusive with `next`. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `ID` | []`string` | :heavy_minus_sign: | Filter tenants by ID(s). Use bracket notation for multiple values (e.g., `id[0]=t1&id[1]=t2` or `id[]=t1&id[]=t2`). | +| `Limit` | `*int64` | :heavy_minus_sign: | Number of tenants to return per page (1-100, default 20). | +| `Dir` | [*operations.ListTenantsDir](../../models/operations/listtenantsdir.md) | :heavy_minus_sign: | Sort direction. | +| `Next` | `*string` | :heavy_minus_sign: | Cursor for the next page of results. Mutually exclusive with `prev`. | +| `Prev` | `*string` | :heavy_minus_sign: | Cursor for the previous page of results. Mutually exclusive with `next`. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/listtopicsresponse.md b/sdks/outpost-go/docs/models/operations/listtopicsresponse.md index 5bc875729..9b6c9cba4 100644 --- a/sdks/outpost-go/docs/models/operations/listtopicsresponse.md +++ b/sdks/outpost-go/docs/models/operations/listtopicsresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `HTTPMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `Strings` | []*string* | :heavy_minus_sign: | A list of topic names. | \ No newline at end of file +| `Strings` | []`string` | :heavy_minus_sign: | A list of topic names. | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/option.md b/sdks/outpost-go/docs/models/operations/option.md index 35d8a1e2a..b2f134960 100644 --- a/sdks/outpost-go/docs/models/operations/option.md +++ b/sdks/outpost-go/docs/models/operations/option.md @@ -1,17 +1,101 @@ -## Options +# Options + +## Global Options + +Global options are passed when initializing the SDK client and apply to all operations. ### WithServerURL WithServerURL allows providing an alternative server URL. ```go -operations.WithServerURL("http://api.example.com") +outpostgo.WithServerURL("https://api.example.com") ``` -## WithTemplatedServerURL +### WithTemplatedServerURL WithTemplatedServerURL allows providing an alternative server URL with templated parameters. +```go +outpostgo.WithTemplatedServerURL("https://{host}:{port}", map[string]string{ + "host": "api.example.com", + "port": "8080", +}) +``` + +### WithServerIndex + +WithServerIndex allows the overriding of the default server by index. + +```go +outpostgo.WithServerIndex(1) +``` + +### WithClient + +WithClient allows the overriding of the default HTTP client used by the SDK. + +```go +outpostgo.WithClient(httpClient) +``` + +### WithSecurity + +WithSecurity configures the SDK to use the provided security details. + +```go +outpostgo.WithSecurity(/* ... */) +``` + +### WithSecuritySource + +WithSecuritySource configures the SDK to invoke the provided function on each method call to determine authentication. + +```go +outpostgo.WithSecuritySource(/* ... */) +``` + +### WithRetryConfig + +WithRetryConfig allows setting the default retry configuration used by the SDK for all supported operations. + +```go +outpostgo.WithRetryConfig(retry.Config{ + Strategy: "backoff", + Backoff: retry.BackoffStrategy{ + InitialInterval: 500 * time.Millisecond, + MaxInterval: 60 * time.Second, + Exponent: 1.5, + MaxElapsedTime: 5 * time.Minute, + }, + RetryConnectionErrors: true, +}) +``` + +### WithTimeout + +WithTimeout sets the default request timeout for all operations. + +```go +outpostgo.WithTimeout(30 * time.Second) +``` + +## Per-Method Options + +Per-method options are passed as the last argument to individual methods and override any global settings for that request. + +### WithServerURL + +WithServerURL allows providing an alternative server URL for a single request. + +```go +operations.WithServerURL("http://api.example.com") +``` + +### WithTemplatedServerURL + +WithTemplatedServerURL allows providing an alternative server URL with templated parameters for a single request. + ```go operations.WithTemplatedServerURL("http://{host}:{port}", map[string]string{ "host": "api.example.com", @@ -21,7 +105,7 @@ operations.WithTemplatedServerURL("http://{host}:{port}", map[string]string{ ### WithRetries -WithRetries allows customizing the default retry configuration. Only usable with methods that mention they support retries. +WithRetries allows customizing the default retry configuration for a single request. ```go operations.WithRetries(retry.Config{ @@ -34,4 +118,30 @@ operations.WithRetries(retry.Config{ }, RetryConnectionErrors: true, }) +``` + +### WithOperationTimeout + +WithOperationTimeout allows setting the request timeout for a single request. + +```go +operations.WithOperationTimeout(30 * time.Second) +``` + +### WithSetHeaders + +WithSetHeaders allows setting custom headers on a per-request basis. If the request already contains headers matching the provided keys, they will be overwritten. + +```go +operations.WithSetHeaders(map[string]string{ + "X-Cache-TTL": "60", +}) +``` + +### WithURLOverride + +WithURLOverride allows overriding the default URL for an operation. + +```go +operations.WithURLOverride("/custom/path") ``` \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/topics.md b/sdks/outpost-go/docs/models/operations/topics.md deleted file mode 100644 index 7134f7b2d..000000000 --- a/sdks/outpost-go/docs/models/operations/topics.md +++ /dev/null @@ -1,31 +0,0 @@ -# Topics - -Filter destinations by supported topic(s). - - -## Supported Types - -### - -```go -topics := operations.CreateTopicsStr(string{/* values here */}) -``` - -### - -```go -topics := operations.CreateTopicsArrayOfStr([]string{/* values here */}) -``` - -## Union Discrimination - -Use the `Type` field to determine which variant is active, then access the corresponding field: - -```go -switch topics.Type { - case operations.TopicsTypeStr: - // topics.Str is populated - case operations.TopicsTypeArrayOfStr: - // topics.ArrayOfStr is populated -} -``` diff --git a/sdks/outpost-go/docs/models/operations/type.md b/sdks/outpost-go/docs/models/operations/type.md new file mode 100644 index 000000000..45e1e19f9 --- /dev/null +++ b/sdks/outpost-go/docs/models/operations/type.md @@ -0,0 +1,27 @@ +# Type + +The type of the destination. + +## Example Usage + +```go +import ( + "github.com/hookdeck/outpost/sdks/outpost-go/models/operations" +) + +value := operations.TypeWebhook +``` + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `TypeWebhook` | webhook | +| `TypeAwsSqs` | aws_sqs | +| `TypeRabbitmq` | rabbitmq | +| `TypeHookdeck` | hookdeck | +| `TypeAwsKinesis` | aws_kinesis | +| `TypeAzureServicebus` | azure_servicebus | +| `TypeAwsS3` | aws_s3 | +| `TypeGcpPubsub` | gcp_pubsub | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/updatetenantdestinationrequest.md b/sdks/outpost-go/docs/models/operations/updatetenantdestinationrequest.md index c59aaf241..bef13e157 100644 --- a/sdks/outpost-go/docs/models/operations/updatetenantdestinationrequest.md +++ b/sdks/outpost-go/docs/models/operations/updatetenantdestinationrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `DestinationID` | *string* | :heavy_check_mark: | The ID of the destination. | -| `Params` | [components.DestinationUpdate](../../models/components/destinationupdate.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `DestinationID` | `string` | :heavy_check_mark: | The ID of the destination. | +| `Body` | [components.DestinationUpdate](../../models/components/destinationupdate.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/upserttenantrequest.md b/sdks/outpost-go/docs/models/operations/upserttenantrequest.md index 061d97b1f..8fe782e9e 100644 --- a/sdks/outpost-go/docs/models/operations/upserttenantrequest.md +++ b/sdks/outpost-go/docs/models/operations/upserttenantrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `TenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `Params` | [*components.TenantUpsert](../../models/components/tenantupsert.md) | :heavy_minus_sign: | Optional tenant metadata | \ No newline at end of file +| `TenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `Body` | [*components.TenantUpsert](../../models/components/tenantupsert.md) | :heavy_minus_sign: | Optional tenant metadata | \ No newline at end of file diff --git a/sdks/outpost-go/docs/sdks/attempts/README.md b/sdks/outpost-go/docs/sdks/attempts/README.md index d75c1c4af..91b2d248e 100644 --- a/sdks/outpost-go/docs/sdks/attempts/README.md +++ b/sdks/outpost-go/docs/sdks/attempts/README.md @@ -58,7 +58,19 @@ func main() { log.Fatal(err) } if res.AttemptPaginatedResult != nil { - // handle response + for { + // handle items + + res, err = res.Next() + + if err != nil { + // handle error + } + + if res == nil { + break + } + } } } ``` @@ -87,7 +99,19 @@ func main() { log.Fatal(err) } if res.AttemptPaginatedResult != nil { - // handle response + for { + // handle items + + res, err = res.Next() + + if err != nil { + // handle error + } + + if res == nil { + break + } + } } } ``` @@ -193,12 +217,12 @@ func main() { ### Parameters -| Parameter | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `attemptID` | *string* | :heavy_check_mark: | The ID of the attempt. | -| `include` | [*operations.GetAttemptInclude](../../models/operations/getattemptinclude.md) | :heavy_minus_sign: | Fields to include in the response. Can be specified multiple times or comma-separated.
- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| -| `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | +| `attemptID` | `string` | :heavy_check_mark: | The ID of the attempt. | +| `include` | []`string` | :heavy_minus_sign: | Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`).
- `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| +| `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response diff --git a/sdks/outpost-go/docs/sdks/destinations/README.md b/sdks/outpost-go/docs/sdks/destinations/README.md index 52c4ede12..0de1f256b 100644 --- a/sdks/outpost-go/docs/sdks/destinations/README.md +++ b/sdks/outpost-go/docs/sdks/destinations/README.md @@ -53,7 +53,6 @@ import( "context" outpostgo "github.com/hookdeck/outpost/sdks/outpost-go" "github.com/hookdeck/outpost/sdks/outpost-go/models/components" - "github.com/hookdeck/outpost/sdks/outpost-go/models/operations" "log" ) @@ -64,9 +63,9 @@ func main() { outpostgo.WithSecurity(""), ) - res, err := s.Destinations.List(ctx, "", outpostgo.Pointer(operations.CreateListTenantDestinationsTypeDestinationType( + res, err := s.Destinations.List(ctx, "", []components.DestinationType{ components.DestinationTypeWebhook, - )), nil) + }, nil) if err != nil { log.Fatal(err) } @@ -78,13 +77,13 @@ func main() { ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `type_` | [*operations.ListTenantDestinationsType](../../models/operations/listtenantdestinationstype.md) | :heavy_minus_sign: | Filter destinations by type(s). | -| `topics` | [*operations.Topics](../../models/operations/topics.md) | :heavy_minus_sign: | Filter destinations by supported topic(s). | -| `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `type_` | [][components.DestinationType](../../models/components/destinationtype.md) | :heavy_minus_sign: | Filter destinations by type(s). Use bracket notation for multiple values (e.g., `type[0]=webhook&type[1]=aws_sqs`). | +| `topics` | []`string` | :heavy_minus_sign: | Filter destinations by supported topic(s). Use bracket notation for multiple values (e.g., `topics[0]=user.created&topics[1]=user.deleted`). | +| `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -173,8 +172,8 @@ func main() { | Parameter | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `params` | [components.DestinationCreate](../../models/components/destinationcreate.md) | :heavy_check_mark: | N/A | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `body` | [components.DestinationCreate](../../models/components/destinationcreate.md) | :heavy_check_mark: | N/A | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -248,8 +247,8 @@ func main() { | Parameter | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `destinationID` | *string* | :heavy_check_mark: | The ID of the destination. | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `destinationID` | `string` | :heavy_check_mark: | The ID of the destination. | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -324,9 +323,9 @@ func main() { | Parameter | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `destinationID` | *string* | :heavy_check_mark: | The ID of the destination. | -| `params` | [components.DestinationUpdate](../../models/components/destinationupdate.md) | :heavy_check_mark: | N/A | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `destinationID` | `string` | :heavy_check_mark: | The ID of the destination. | +| `body` | [components.DestinationUpdate](../../models/components/destinationupdate.md) | :heavy_check_mark: | N/A | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -381,8 +380,8 @@ func main() { | Parameter | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `destinationID` | *string* | :heavy_check_mark: | The ID of the destination. | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `destinationID` | `string` | :heavy_check_mark: | The ID of the destination. | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -455,8 +454,8 @@ func main() { | Parameter | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `destinationID` | *string* | :heavy_check_mark: | The ID of the destination. | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `destinationID` | `string` | :heavy_check_mark: | The ID of the destination. | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -529,8 +528,8 @@ func main() { | Parameter | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `destinationID` | *string* | :heavy_check_mark: | The ID of the destination. | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `destinationID` | `string` | :heavy_check_mark: | The ID of the destination. | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -578,7 +577,19 @@ func main() { log.Fatal(err) } if res.AttemptPaginatedResult != nil { - // handle response + for { + // handle items + + res, err = res.Next() + + if err != nil { + // handle error + } + + if res == nil { + break + } + } } } ``` @@ -646,14 +657,14 @@ func main() { ### Parameters -| Parameter | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `destinationID` | *string* | :heavy_check_mark: | The ID of the destination. | -| `attemptID` | *string* | :heavy_check_mark: | The ID of the attempt. | -| `include` | [*operations.GetTenantDestinationAttemptInclude](../../models/operations/gettenantdestinationattemptinclude.md) | :heavy_minus_sign: | Fields to include in the response. Can be specified multiple times or comma-separated.
- `event`: Include event summary
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| -| `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `destinationID` | `string` | :heavy_check_mark: | The ID of the destination. | +| `attemptID` | `string` | :heavy_check_mark: | The ID of the attempt. | +| `include` | []`string` | :heavy_minus_sign: | Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`).
- `event`: Include event summary
- `event.data`: Include full event with payload data
- `response_data`: Include response body and headers
| +| `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response diff --git a/sdks/outpost-go/docs/sdks/events/README.md b/sdks/outpost-go/docs/sdks/events/README.md index 86a35324e..93de00545 100644 --- a/sdks/outpost-go/docs/sdks/events/README.md +++ b/sdks/outpost-go/docs/sdks/events/README.md @@ -42,7 +42,19 @@ func main() { log.Fatal(err) } if res.EventPaginatedResult != nil { - // handle response + for { + // handle items + + res, err = res.Next() + + if err != nil { + // handle error + } + + if res == nil { + break + } + } } } ``` @@ -109,7 +121,7 @@ func main() { | Parameter | Type | Required | Description | | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `eventID` | *string* | :heavy_check_mark: | The ID of the event. | +| `eventID` | `string` | :heavy_check_mark: | The ID of the event. | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response diff --git a/sdks/outpost-go/docs/sdks/schemas/README.md b/sdks/outpost-go/docs/sdks/schemas/README.md index fbcabb80e..554ff233b 100644 --- a/sdks/outpost-go/docs/sdks/schemas/README.md +++ b/sdks/outpost-go/docs/sdks/schemas/README.md @@ -93,7 +93,7 @@ func main() { outpostgo.WithSecurity(""), ) - res, err := s.Schemas.GetDestinationType(ctx, operations.GetDestinationTypeSchemaTypeRabbitmq) + res, err := s.Schemas.GetDestinationType(ctx, operations.TypeRabbitmq) if err != nil { log.Fatal(err) } @@ -105,11 +105,11 @@ func main() { ### Parameters -| Parameter | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `type_` | [operations.GetDestinationTypeSchemaType](../../models/operations/getdestinationtypeschematype.md) | :heavy_check_mark: | The type of the destination. | -| `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | +| Parameter | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | +| `type_` | [operations.Type](../../models/operations/type.md) | :heavy_check_mark: | The type of the destination. | +| `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response diff --git a/sdks/outpost-go/docs/sdks/tenants/README.md b/sdks/outpost-go/docs/sdks/tenants/README.md index 50b88ead1..de7bc4e00 100644 --- a/sdks/outpost-go/docs/sdks/tenants/README.md +++ b/sdks/outpost-go/docs/sdks/tenants/README.md @@ -9,14 +9,14 @@ If your system is not multi-tenant, create a single tenant with a hard-code tena ### Available Operations -* [ListTenants](#listtenants) - List Tenants +* [List](#list) - List Tenants * [Upsert](#upsert) - Create or Update Tenant * [Get](#get) - Get Tenant * [Delete](#delete) - Delete Tenant * [GetPortalURL](#getportalurl) - Get Portal Redirect URL * [GetToken](#gettoken) - Get Tenant JWT Token -## ListTenants +## List List all tenants with cursor-based pagination. @@ -46,26 +46,35 @@ func main() { outpostgo.WithSecurity(""), ) - res, err := s.Tenants.ListTenants(ctx, outpostgo.Pointer[int64](20), operations.ListTenantsDirDesc.ToPointer(), nil, nil) + res, err := s.Tenants.List(ctx, operations.ListTenantsRequest{}) if err != nil { log.Fatal(err) } if res.TenantPaginatedResult != nil { - // handle response + for { + // handle items + + res, err = res.Next() + + if err != nil { + // handle error + } + + if res == nil { + break + } + } } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `limit` | **int64* | :heavy_minus_sign: | Number of tenants to return per page (1-100, default 20). | -| `dir` | [*operations.ListTenantsDir](../../models/operations/listtenantsdir.md) | :heavy_minus_sign: | Sort direction. | -| `next` | **string* | :heavy_minus_sign: | Cursor for the next page of results. Mutually exclusive with `prev`. | -| `prev` | **string* | :heavy_minus_sign: | Cursor for the previous page of results. Mutually exclusive with `next`. | -| `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | +| `request` | [operations.ListTenantsRequest](../../models/operations/listtenantsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -119,8 +128,8 @@ func main() { | Parameter | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | -| `params` | [*components.TenantUpsert](../../models/components/tenantupsert.md) | :heavy_minus_sign: | Optional tenant metadata | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `body` | [*components.TenantUpsert](../../models/components/tenantupsert.md) | :heavy_minus_sign: | Optional tenant metadata | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -174,7 +183,7 @@ func main() { | Parameter | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -228,7 +237,7 @@ func main() { | Parameter | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response @@ -282,7 +291,7 @@ func main() { | Parameter | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | | `theme` | [*operations.Theme](../../models/operations/theme.md) | :heavy_minus_sign: | Optional theme preference for the portal. | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | @@ -337,7 +346,7 @@ func main() { | Parameter | Type | Required | Description | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | | `ctx` | [context.Context](https://pkg.go.dev/context#Context) | :heavy_check_mark: | The context to use for the request. | -| `tenantID` | *string* | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | +| `tenantID` | `string` | :heavy_check_mark: | The ID of the tenant. Required when using AdminApiKey authentication. | | `opts` | [][operations.Option](../../models/operations/option.md) | :heavy_minus_sign: | The options for this request. | ### Response diff --git a/sdks/outpost-go/events.go b/sdks/outpost-go/events.go index 650ed2fb1..ca3cf23dd 100644 --- a/sdks/outpost-go/events.go +++ b/sdks/outpost-go/events.go @@ -13,8 +13,11 @@ import ( "github.com/hookdeck/outpost/sdks/outpost-go/models/components" "github.com/hookdeck/outpost/sdks/outpost-go/models/operations" "github.com/hookdeck/outpost/sdks/outpost-go/retry" + "github.com/spyzhov/ajson" "net/http" "net/url" + "strconv" + "strings" ) // Events - Operations related to event history. @@ -198,6 +201,72 @@ func (s *Events) List(ctx context.Context, request operations.ListEventsRequest, Response: httpRes, }, } + res.Next = func() (*operations.ListEventsResponse, error) { + rawBody, err := utils.ConsumeRawBody(httpRes) + if err != nil { + return nil, err + } + + b, err := ajson.Unmarshal(rawBody) + if err != nil { + return nil, err + } + nC, err := ajson.Eval(b, "$.pagination.next") + if err != nil { + return nil, err + } + var nCVal string + + if nC.IsNumeric() { + numVal, err := nC.GetNumeric() + if err != nil { + return nil, err + } + // GetNumeric returns as float64 so convert to the appropriate type. + nCVal = strconv.FormatFloat(numVal, 'f', 0, 64) + } else { + val, err := nC.Value() + if err != nil { + return nil, err + } + if val == nil { + return nil, nil + } + nCVal = val.(string) + if strings.TrimSpace(nCVal) == "" { + return nil, nil + } + } + r, err := ajson.Eval(b, "$.models") + if err != nil { + return nil, err + } + if !r.IsArray() { + return nil, nil + } + arr, err := r.GetArray() + if err != nil { + return nil, err + } + if len(arr) == 0 { + return nil, nil + } + + l := 0 + if request.Limit != nil { + l = int(*request.Limit) + } + if len(arr) < l { + return nil, nil + } + request.Next = &nCVal + + return s.List( + ctx, + request, + opts..., + ) + } switch { case httpRes.StatusCode == 200: diff --git a/sdks/outpost-go/go.mod b/sdks/outpost-go/go.mod index 5dd9b9351..ca479d94d 100644 --- a/sdks/outpost-go/go.mod +++ b/sdks/outpost-go/go.mod @@ -2,7 +2,10 @@ module github.com/hookdeck/outpost/sdks/outpost-go go 1.22 -require github.com/stretchr/testify v1.11.1 +require ( + github.com/spyzhov/ajson v0.8.0 + github.com/stretchr/testify v1.11.1 +) require ( github.com/davecgh/go-spew v1.1.1 // indirect diff --git a/sdks/outpost-go/go.sum b/sdks/outpost-go/go.sum index c4c1710c4..ae2c38bc9 100644 --- a/sdks/outpost-go/go.sum +++ b/sdks/outpost-go/go.sum @@ -2,6 +2,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/spyzhov/ajson v0.8.0 h1:sFXyMbi4Y/BKjrsfkUZHSjA2JM1184enheSjjoT/zCc= +github.com/spyzhov/ajson v0.8.0/go.mod h1:63V+CGM6f1Bu/p4nLIN8885ojBdt88TbLoSFzyqMuVA= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= diff --git a/sdks/outpost-go/internal/utils/headers.go b/sdks/outpost-go/internal/utils/headers.go index dc9e1fde9..d44fa066f 100644 --- a/sdks/outpost-go/internal/utils/headers.go +++ b/sdks/outpost-go/internal/utils/headers.go @@ -45,6 +45,12 @@ func populateHeaders(headers interface{}, globals interface{}, reqHeaders http.H continue } + defaultConstValue := handleDefaultConstHeaderValue(valType, fieldType.Tag) + if defaultConstValue != "" { + reqHeaders.Add(tag.ParamName, defaultConstValue) + continue + } + value := serializeHeader(fieldType.Type, valType, tag.Explode) if value != "" { reqHeaders.Add(tag.ParamName, value) @@ -54,6 +60,22 @@ func populateHeaders(headers interface{}, globals interface{}, reqHeaders http.H return globalsAlreadyPopulated } +func handleDefaultConstHeaderValue(v reflect.Value, tag reflect.StructTag) string { + constTag := tag.Get("const") + if constTag != "" { + return constTag + } + + if isNil(v.Type(), v) { + defaultTag := tag.Get("default") + if defaultTag != "" { + return defaultTag + } + } + + return "" +} + func serializeHeader(objType reflect.Type, objValue reflect.Value, explode bool) string { if isNil(objType, objValue) { return "" @@ -91,10 +113,19 @@ func serializeHeader(objType reflect.Type, objValue reflect.Value, explode bool) continue } + var value string + + defaultConstValue := handleDefaultConstHeaderValue(valType, fieldType.Tag) + if defaultConstValue != "" { + value = defaultConstValue + } else { + value = valToString(valType.Interface()) + } + if explode { - items = append(items, fmt.Sprintf("%s=%s", fieldName, valToString(valType.Interface()))) + items = append(items, fmt.Sprintf("%s=%s", fieldName, value)) } else { - items = append(items, fieldName, valToString(valType.Interface())) + items = append(items, fieldName, value) } } diff --git a/sdks/outpost-go/internal/utils/json.go b/sdks/outpost-go/internal/utils/json.go index fca58cdea..2f3958f68 100644 --- a/sdks/outpost-go/internal/utils/json.go +++ b/sdks/outpost-go/internal/utils/json.go @@ -532,6 +532,11 @@ func unmarshalValue(value json.RawMessage, v reflect.Value, tag reflect.StructTa m.SetMapIndex(reflect.ValueOf(k), itemVal.Elem()) } + // Dereference pointer before setting the map value. + // v may be a pointer to a map (e.g., from reflect.ValueOf(&mapVar)). + if v.Kind() == reflect.Ptr { + v = v.Elem() + } v.Set(m) return nil case reflect.Slice, reflect.Array: @@ -576,7 +581,7 @@ func unmarshalValue(value json.RawMessage, v reflect.Value, tag reflect.StructTa } if v.Kind() == reflect.Ptr { - if v.IsNil() { + if v.IsNil() && v.CanSet() { v.Set(reflect.New(typ)) } v = v.Elem() @@ -624,7 +629,7 @@ func unmarshalValue(value json.RawMessage, v reflect.Value, tag reflect.StructTa } if v.Kind() == reflect.Ptr { - if v.IsNil() { + if v.IsNil() && v.CanSet() { v.Set(reflect.New(typ)) } v = v.Elem() diff --git a/sdks/outpost-go/internal/utils/requestbody.go b/sdks/outpost-go/internal/utils/requestbody.go index b391f6009..f89fb8c11 100644 --- a/sdks/outpost-go/internal/utils/requestbody.go +++ b/sdks/outpost-go/internal/utils/requestbody.go @@ -281,7 +281,9 @@ func encodeMultipartFormDataFile(w *multipart.Writer, fieldName string, fieldTyp // Reset seek position to 0 if the reader supports seeking if seeker, ok := reader.(io.Seeker); ok { - _, _ = seeker.Seek(0, io.SeekStart) + if _, err := seeker.Seek(0, io.SeekStart); err != nil { + return err + } } return nil diff --git a/sdks/outpost-go/internal/utils/retries.go b/sdks/outpost-go/internal/utils/retries.go index 1f4f8c94b..24278f264 100644 --- a/sdks/outpost-go/internal/utils/retries.go +++ b/sdks/outpost-go/internal/utils/retries.go @@ -10,11 +10,13 @@ import ( "io" "math" "math/rand" + "net" "net/http" "net/url" "slices" "strconv" "strings" + "syscall" "time" ) @@ -97,12 +99,11 @@ func Retry(ctx context.Context, r Retries, operation func() (*http.Response, err } } - // syscall detection is not available on every platform, so - // fallback to best effort string detection. - isBrokenPipeError := strings.Contains(err.Error(), "broken pipe") - isConnectionResetError := strings.Contains(err.Error(), "connection reset") + var networkOperationError *net.OpError + isBrokenPipeOrConnectionReset := errors.As(err, &networkOperationError) && + (errors.Is(err, syscall.EPIPE) || errors.Is(err, syscall.ECONNRESET)) - if (isBrokenPipeError || isConnectionResetError) && isIdempotentHTTPMethod { + if isBrokenPipeOrConnectionReset && isIdempotentHTTPMethod { return err } diff --git a/sdks/outpost-go/internal/utils/utils.go b/sdks/outpost-go/internal/utils/utils.go index 4f35c6b5e..a614e3767 100644 --- a/sdks/outpost-go/internal/utils/utils.go +++ b/sdks/outpost-go/internal/utils/utils.go @@ -45,6 +45,14 @@ func UnmarshalJsonFromResponseBody(body io.Reader, out interface{}, tag string) return nil } +func UnmarshalJsonFromString(json string, out interface{}, tag string) error { + if err := UnmarshalJSON([]byte(json), out, reflect.StructTag(tag), true, nil); err != nil { + return fmt.Errorf("error unmarshalling json response body: %w", err) + } + + return nil +} + func ReplaceParameters(stringWithParams string, params map[string]string) string { if len(params) == 0 { return stringWithParams diff --git a/sdks/outpost-go/models/components/awss3config.go b/sdks/outpost-go/models/components/awss3config.go index 74c486996..5d1038ed7 100644 --- a/sdks/outpost-go/models/components/awss3config.go +++ b/sdks/outpost-go/models/components/awss3config.go @@ -55,3 +55,6 @@ func (a *Awss3Config) GetStorageClass() *string { } return a.StorageClass } + +// #region class-body-awss3config +// #endregion class-body-awss3config diff --git a/sdks/outpost-go/models/components/awss3credentials.go b/sdks/outpost-go/models/components/awss3credentials.go index cd6c8556c..ba1800980 100644 --- a/sdks/outpost-go/models/components/awss3credentials.go +++ b/sdks/outpost-go/models/components/awss3credentials.go @@ -46,3 +46,6 @@ func (a *Awss3Credentials) GetSession() *string { } return a.Session } + +// #region class-body-awss3credentials +// #endregion class-body-awss3credentials diff --git a/sdks/outpost-go/models/components/destinationawss3.go b/sdks/outpost-go/models/components/destinationawss3.go index 2312166e1..abe9add69 100644 --- a/sdks/outpost-go/models/components/destinationawss3.go +++ b/sdks/outpost-go/models/components/destinationawss3.go @@ -165,3 +165,6 @@ func (d *DestinationAwss3) GetTargetURL() *string { } return d.TargetURL } + +// #region class-body-destinationawss3 +// #endregion class-body-destinationawss3 diff --git a/sdks/outpost-go/models/components/destinationcreateawss3.go b/sdks/outpost-go/models/components/destinationcreateawss3.go index 1742a83da..5ccd36620 100644 --- a/sdks/outpost-go/models/components/destinationcreateawss3.go +++ b/sdks/outpost-go/models/components/destinationcreateawss3.go @@ -119,3 +119,6 @@ func (d *DestinationCreateAwss3) GetMetadata() map[string]string { } return d.Metadata } + +// #region class-body-destinationcreateawss3 +// #endregion class-body-destinationcreateawss3 diff --git a/sdks/outpost-go/models/components/destinationupdateawss3.go b/sdks/outpost-go/models/components/destinationupdateawss3.go index baf5c596b..1d15e922a 100644 --- a/sdks/outpost-go/models/components/destinationupdateawss3.go +++ b/sdks/outpost-go/models/components/destinationupdateawss3.go @@ -75,3 +75,6 @@ func (d *DestinationUpdateAwss3) GetMetadata() map[string]string { } return d.Metadata } + +// #region class-body-destinationupdateawss3 +// #endregion class-body-destinationupdateawss3 diff --git a/sdks/outpost-go/models/operations/createtenantdestination.go b/sdks/outpost-go/models/operations/createtenantdestination.go index e7d29eb79..6e62d7a61 100644 --- a/sdks/outpost-go/models/operations/createtenantdestination.go +++ b/sdks/outpost-go/models/operations/createtenantdestination.go @@ -9,7 +9,7 @@ import ( type CreateTenantDestinationRequest struct { // The ID of the tenant. Required when using AdminApiKey authentication. TenantID string `pathParam:"style=simple,explode=false,name=tenant_id"` - Params components.DestinationCreate `request:"mediaType=application/json"` + Body components.DestinationCreate `request:"mediaType=application/json"` } func (c *CreateTenantDestinationRequest) GetTenantID() string { @@ -19,43 +19,43 @@ func (c *CreateTenantDestinationRequest) GetTenantID() string { return c.TenantID } -func (c *CreateTenantDestinationRequest) GetParams() components.DestinationCreate { +func (c *CreateTenantDestinationRequest) GetBody() components.DestinationCreate { if c == nil { return components.DestinationCreate{} } - return c.Params + return c.Body } -func (c *CreateTenantDestinationRequest) GetParamsWebhook() *components.DestinationCreateWebhook { - return c.GetParams().DestinationCreateWebhook +func (c *CreateTenantDestinationRequest) GetBodyWebhook() *components.DestinationCreateWebhook { + return c.GetBody().DestinationCreateWebhook } -func (c *CreateTenantDestinationRequest) GetParamsAwsSqs() *components.DestinationCreateAWSSQS { - return c.GetParams().DestinationCreateAWSSQS +func (c *CreateTenantDestinationRequest) GetBodyAwsSqs() *components.DestinationCreateAWSSQS { + return c.GetBody().DestinationCreateAWSSQS } -func (c *CreateTenantDestinationRequest) GetParamsRabbitmq() *components.DestinationCreateRabbitMQ { - return c.GetParams().DestinationCreateRabbitMQ +func (c *CreateTenantDestinationRequest) GetBodyRabbitmq() *components.DestinationCreateRabbitMQ { + return c.GetBody().DestinationCreateRabbitMQ } -func (c *CreateTenantDestinationRequest) GetParamsHookdeck() *components.DestinationCreateHookdeck { - return c.GetParams().DestinationCreateHookdeck +func (c *CreateTenantDestinationRequest) GetBodyHookdeck() *components.DestinationCreateHookdeck { + return c.GetBody().DestinationCreateHookdeck } -func (c *CreateTenantDestinationRequest) GetParamsAwsKinesis() *components.DestinationCreateAWSKinesis { - return c.GetParams().DestinationCreateAWSKinesis +func (c *CreateTenantDestinationRequest) GetBodyAwsKinesis() *components.DestinationCreateAWSKinesis { + return c.GetBody().DestinationCreateAWSKinesis } -func (c *CreateTenantDestinationRequest) GetParamsAzureServicebus() *components.DestinationCreateAzureServiceBus { - return c.GetParams().DestinationCreateAzureServiceBus +func (c *CreateTenantDestinationRequest) GetBodyAzureServicebus() *components.DestinationCreateAzureServiceBus { + return c.GetBody().DestinationCreateAzureServiceBus } -func (c *CreateTenantDestinationRequest) GetParamsAwsS3() *components.DestinationCreateAwss3 { - return c.GetParams().DestinationCreateAwss3 +func (c *CreateTenantDestinationRequest) GetBodyAwsS3() *components.DestinationCreateAwss3 { + return c.GetBody().DestinationCreateAwss3 } -func (c *CreateTenantDestinationRequest) GetParamsGcpPubsub() *components.DestinationCreateGCPPubSub { - return c.GetParams().DestinationCreateGCPPubSub +func (c *CreateTenantDestinationRequest) GetBodyGcpPubsub() *components.DestinationCreateGCPPubSub { + return c.GetBody().DestinationCreateGCPPubSub } type CreateTenantDestinationResponse struct { diff --git a/sdks/outpost-go/models/operations/getattempt.go b/sdks/outpost-go/models/operations/getattempt.go index 156793197..f2c75fc33 100644 --- a/sdks/outpost-go/models/operations/getattempt.go +++ b/sdks/outpost-go/models/operations/getattempt.go @@ -3,88 +3,18 @@ package operations import ( - "errors" - "fmt" - "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/models/components" ) -type GetAttemptIncludeType string - -const ( - GetAttemptIncludeTypeStr GetAttemptIncludeType = "str" - GetAttemptIncludeTypeArrayOfStr GetAttemptIncludeType = "arrayOfStr" -) - -// GetAttemptInclude - Fields to include in the response. Can be specified multiple times or comma-separated. -// - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) -// - `event.data`: Include full event with payload data -// - `response_data`: Include response body and headers -type GetAttemptInclude struct { - Str *string `queryParam:"inline" union:"member"` - ArrayOfStr []string `queryParam:"inline" union:"member"` - - Type GetAttemptIncludeType -} - -func CreateGetAttemptIncludeStr(str string) GetAttemptInclude { - typ := GetAttemptIncludeTypeStr - - return GetAttemptInclude{ - Str: &str, - Type: typ, - } -} - -func CreateGetAttemptIncludeArrayOfStr(arrayOfStr []string) GetAttemptInclude { - typ := GetAttemptIncludeTypeArrayOfStr - - return GetAttemptInclude{ - ArrayOfStr: arrayOfStr, - Type: typ, - } -} - -func (u *GetAttemptInclude) UnmarshalJSON(data []byte) error { - - var str string = "" - if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { - u.Str = &str - u.Type = GetAttemptIncludeTypeStr - return nil - } - - var arrayOfStr []string = []string{} - if err := utils.UnmarshalJSON(data, &arrayOfStr, "", true, nil); err == nil { - u.ArrayOfStr = arrayOfStr - u.Type = GetAttemptIncludeTypeArrayOfStr - return nil - } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAttemptInclude", string(data)) -} - -func (u GetAttemptInclude) MarshalJSON() ([]byte, error) { - if u.Str != nil { - return utils.MarshalJSON(u.Str, "", true) - } - - if u.ArrayOfStr != nil { - return utils.MarshalJSON(u.ArrayOfStr, "", true) - } - - return nil, errors.New("could not marshal union type GetAttemptInclude: all fields are null") -} - type GetAttemptRequest struct { // The ID of the attempt. AttemptID string `pathParam:"style=simple,explode=false,name=attempt_id"` - // Fields to include in the response. Can be specified multiple times or comma-separated. + // Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). // - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) // - `event.data`: Include full event with payload data // - `response_data`: Include response body and headers // - Include *GetAttemptInclude `queryParam:"style=form,explode=true,name=include"` + Include []string `queryParam:"style=form,explode=true,name=include"` } func (g *GetAttemptRequest) GetAttemptID() string { @@ -94,7 +24,7 @@ func (g *GetAttemptRequest) GetAttemptID() string { return g.AttemptID } -func (g *GetAttemptRequest) GetInclude() *GetAttemptInclude { +func (g *GetAttemptRequest) GetInclude() []string { if g == nil { return nil } diff --git a/sdks/outpost-go/models/operations/getdestinationtypeschema.go b/sdks/outpost-go/models/operations/getdestinationtypeschema.go index 9420676a0..fbe4ce011 100644 --- a/sdks/outpost-go/models/operations/getdestinationtypeschema.go +++ b/sdks/outpost-go/models/operations/getdestinationtypeschema.go @@ -8,24 +8,24 @@ import ( "github.com/hookdeck/outpost/sdks/outpost-go/models/components" ) -// GetDestinationTypeSchemaType - The type of the destination. -type GetDestinationTypeSchemaType string +// Type - The type of the destination. +type Type string const ( - GetDestinationTypeSchemaTypeWebhook GetDestinationTypeSchemaType = "webhook" - GetDestinationTypeSchemaTypeAwsSqs GetDestinationTypeSchemaType = "aws_sqs" - GetDestinationTypeSchemaTypeRabbitmq GetDestinationTypeSchemaType = "rabbitmq" - GetDestinationTypeSchemaTypeHookdeck GetDestinationTypeSchemaType = "hookdeck" - GetDestinationTypeSchemaTypeAwsKinesis GetDestinationTypeSchemaType = "aws_kinesis" - GetDestinationTypeSchemaTypeAzureServicebus GetDestinationTypeSchemaType = "azure_servicebus" - GetDestinationTypeSchemaTypeAwsS3 GetDestinationTypeSchemaType = "aws_s3" - GetDestinationTypeSchemaTypeGcpPubsub GetDestinationTypeSchemaType = "gcp_pubsub" + TypeWebhook Type = "webhook" + TypeAwsSqs Type = "aws_sqs" + TypeRabbitmq Type = "rabbitmq" + TypeHookdeck Type = "hookdeck" + TypeAwsKinesis Type = "aws_kinesis" + TypeAzureServicebus Type = "azure_servicebus" + TypeAwsS3 Type = "aws_s3" + TypeGcpPubsub Type = "gcp_pubsub" ) -func (e GetDestinationTypeSchemaType) ToPointer() *GetDestinationTypeSchemaType { +func (e Type) ToPointer() *Type { return &e } -func (e *GetDestinationTypeSchemaType) UnmarshalJSON(data []byte) error { +func (e *Type) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -46,21 +46,21 @@ func (e *GetDestinationTypeSchemaType) UnmarshalJSON(data []byte) error { case "aws_s3": fallthrough case "gcp_pubsub": - *e = GetDestinationTypeSchemaType(v) + *e = Type(v) return nil default: - return fmt.Errorf("invalid value for GetDestinationTypeSchemaType: %v", v) + return fmt.Errorf("invalid value for Type: %v", v) } } type GetDestinationTypeSchemaRequest struct { // The type of the destination. - Type GetDestinationTypeSchemaType `pathParam:"style=simple,explode=false,name=type"` + Type Type `pathParam:"style=simple,explode=false,name=type"` } -func (g *GetDestinationTypeSchemaRequest) GetType() GetDestinationTypeSchemaType { +func (g *GetDestinationTypeSchemaRequest) GetType() Type { if g == nil { - return GetDestinationTypeSchemaType("") + return Type("") } return g.Type } diff --git a/sdks/outpost-go/models/operations/gettenantdestinationattempt.go b/sdks/outpost-go/models/operations/gettenantdestinationattempt.go index d719d8f38..5a8f9a6f8 100644 --- a/sdks/outpost-go/models/operations/gettenantdestinationattempt.go +++ b/sdks/outpost-go/models/operations/gettenantdestinationattempt.go @@ -3,79 +3,9 @@ package operations import ( - "errors" - "fmt" - "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/models/components" ) -type GetTenantDestinationAttemptIncludeType string - -const ( - GetTenantDestinationAttemptIncludeTypeStr GetTenantDestinationAttemptIncludeType = "str" - GetTenantDestinationAttemptIncludeTypeArrayOfStr GetTenantDestinationAttemptIncludeType = "arrayOfStr" -) - -// GetTenantDestinationAttemptInclude - Fields to include in the response. Can be specified multiple times or comma-separated. -// - `event`: Include event summary -// - `event.data`: Include full event with payload data -// - `response_data`: Include response body and headers -type GetTenantDestinationAttemptInclude struct { - Str *string `queryParam:"inline" union:"member"` - ArrayOfStr []string `queryParam:"inline" union:"member"` - - Type GetTenantDestinationAttemptIncludeType -} - -func CreateGetTenantDestinationAttemptIncludeStr(str string) GetTenantDestinationAttemptInclude { - typ := GetTenantDestinationAttemptIncludeTypeStr - - return GetTenantDestinationAttemptInclude{ - Str: &str, - Type: typ, - } -} - -func CreateGetTenantDestinationAttemptIncludeArrayOfStr(arrayOfStr []string) GetTenantDestinationAttemptInclude { - typ := GetTenantDestinationAttemptIncludeTypeArrayOfStr - - return GetTenantDestinationAttemptInclude{ - ArrayOfStr: arrayOfStr, - Type: typ, - } -} - -func (u *GetTenantDestinationAttemptInclude) UnmarshalJSON(data []byte) error { - - var str string = "" - if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { - u.Str = &str - u.Type = GetTenantDestinationAttemptIncludeTypeStr - return nil - } - - var arrayOfStr []string = []string{} - if err := utils.UnmarshalJSON(data, &arrayOfStr, "", true, nil); err == nil { - u.ArrayOfStr = arrayOfStr - u.Type = GetTenantDestinationAttemptIncludeTypeArrayOfStr - return nil - } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetTenantDestinationAttemptInclude", string(data)) -} - -func (u GetTenantDestinationAttemptInclude) MarshalJSON() ([]byte, error) { - if u.Str != nil { - return utils.MarshalJSON(u.Str, "", true) - } - - if u.ArrayOfStr != nil { - return utils.MarshalJSON(u.ArrayOfStr, "", true) - } - - return nil, errors.New("could not marshal union type GetTenantDestinationAttemptInclude: all fields are null") -} - type GetTenantDestinationAttemptRequest struct { // The ID of the tenant. Required when using AdminApiKey authentication. TenantID string `pathParam:"style=simple,explode=false,name=tenant_id"` @@ -83,12 +13,12 @@ type GetTenantDestinationAttemptRequest struct { DestinationID string `pathParam:"style=simple,explode=false,name=destination_id"` // The ID of the attempt. AttemptID string `pathParam:"style=simple,explode=false,name=attempt_id"` - // Fields to include in the response. Can be specified multiple times or comma-separated. + // Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). // - `event`: Include event summary // - `event.data`: Include full event with payload data // - `response_data`: Include response body and headers // - Include *GetTenantDestinationAttemptInclude `queryParam:"style=form,explode=true,name=include"` + Include []string `queryParam:"style=form,explode=true,name=include"` } func (g *GetTenantDestinationAttemptRequest) GetTenantID() string { @@ -112,7 +42,7 @@ func (g *GetTenantDestinationAttemptRequest) GetAttemptID() string { return g.AttemptID } -func (g *GetTenantDestinationAttemptRequest) GetInclude() *GetTenantDestinationAttemptInclude { +func (g *GetTenantDestinationAttemptRequest) GetInclude() []string { if g == nil { return nil } diff --git a/sdks/outpost-go/models/operations/listattempts.go b/sdks/outpost-go/models/operations/listattempts.go index b066904bd..aa71fe196 100644 --- a/sdks/outpost-go/models/operations/listattempts.go +++ b/sdks/outpost-go/models/operations/listattempts.go @@ -4,7 +4,6 @@ package operations import ( "encoding/json" - "errors" "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/models/components" @@ -38,137 +37,6 @@ func (e *ListAttemptsStatus) UnmarshalJSON(data []byte) error { } } -type ListAttemptsTopicType string - -const ( - ListAttemptsTopicTypeStr ListAttemptsTopicType = "str" - ListAttemptsTopicTypeArrayOfStr ListAttemptsTopicType = "arrayOfStr" -) - -// ListAttemptsTopic - Filter attempts by event topic(s). Can be specified multiple times or comma-separated. -type ListAttemptsTopic struct { - Str *string `queryParam:"inline" union:"member"` - ArrayOfStr []string `queryParam:"inline" union:"member"` - - Type ListAttemptsTopicType -} - -func CreateListAttemptsTopicStr(str string) ListAttemptsTopic { - typ := ListAttemptsTopicTypeStr - - return ListAttemptsTopic{ - Str: &str, - Type: typ, - } -} - -func CreateListAttemptsTopicArrayOfStr(arrayOfStr []string) ListAttemptsTopic { - typ := ListAttemptsTopicTypeArrayOfStr - - return ListAttemptsTopic{ - ArrayOfStr: arrayOfStr, - Type: typ, - } -} - -func (u *ListAttemptsTopic) UnmarshalJSON(data []byte) error { - - var str string = "" - if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { - u.Str = &str - u.Type = ListAttemptsTopicTypeStr - return nil - } - - var arrayOfStr []string = []string{} - if err := utils.UnmarshalJSON(data, &arrayOfStr, "", true, nil); err == nil { - u.ArrayOfStr = arrayOfStr - u.Type = ListAttemptsTopicTypeArrayOfStr - return nil - } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for ListAttemptsTopic", string(data)) -} - -func (u ListAttemptsTopic) MarshalJSON() ([]byte, error) { - if u.Str != nil { - return utils.MarshalJSON(u.Str, "", true) - } - - if u.ArrayOfStr != nil { - return utils.MarshalJSON(u.ArrayOfStr, "", true) - } - - return nil, errors.New("could not marshal union type ListAttemptsTopic: all fields are null") -} - -type ListAttemptsIncludeType string - -const ( - ListAttemptsIncludeTypeStr ListAttemptsIncludeType = "str" - ListAttemptsIncludeTypeArrayOfStr ListAttemptsIncludeType = "arrayOfStr" -) - -// ListAttemptsInclude - Fields to include in the response. Can be specified multiple times or comma-separated. -// - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) -// - `event.data`: Include full event with payload data -// - `response_data`: Include response body and headers -type ListAttemptsInclude struct { - Str *string `queryParam:"inline" union:"member"` - ArrayOfStr []string `queryParam:"inline" union:"member"` - - Type ListAttemptsIncludeType -} - -func CreateListAttemptsIncludeStr(str string) ListAttemptsInclude { - typ := ListAttemptsIncludeTypeStr - - return ListAttemptsInclude{ - Str: &str, - Type: typ, - } -} - -func CreateListAttemptsIncludeArrayOfStr(arrayOfStr []string) ListAttemptsInclude { - typ := ListAttemptsIncludeTypeArrayOfStr - - return ListAttemptsInclude{ - ArrayOfStr: arrayOfStr, - Type: typ, - } -} - -func (u *ListAttemptsInclude) UnmarshalJSON(data []byte) error { - - var str string = "" - if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { - u.Str = &str - u.Type = ListAttemptsIncludeTypeStr - return nil - } - - var arrayOfStr []string = []string{} - if err := utils.UnmarshalJSON(data, &arrayOfStr, "", true, nil); err == nil { - u.ArrayOfStr = arrayOfStr - u.Type = ListAttemptsIncludeTypeArrayOfStr - return nil - } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for ListAttemptsInclude", string(data)) -} - -func (u ListAttemptsInclude) MarshalJSON() ([]byte, error) { - if u.Str != nil { - return utils.MarshalJSON(u.Str, "", true) - } - - if u.ArrayOfStr != nil { - return utils.MarshalJSON(u.ArrayOfStr, "", true) - } - - return nil, errors.New("could not marshal union type ListAttemptsInclude: all fields are null") -} - // ListAttemptsOrderBy - Field to sort by. type ListAttemptsOrderBy string @@ -221,32 +89,39 @@ func (e *ListAttemptsDir) UnmarshalJSON(data []byte) error { } type ListAttemptsRequest struct { - // Filter attempts by tenant ID. If not provided, returns attempts from all tenants. - TenantID *string `queryParam:"style=form,explode=true,name=tenant_id"` - // Filter attempts by event ID. - EventID *string `queryParam:"style=form,explode=true,name=event_id"` - // Filter attempts by destination ID. - DestinationID *string `queryParam:"style=form,explode=true,name=destination_id"` + // Filter attempts by tenant ID(s). Use bracket notation for multiple values (e.g., `tenant_id[0]=t1&tenant_id[1]=t2`). + // When authenticated with a Tenant JWT, this parameter is ignored and the JWT's tenant is used. + // If not provided with API key auth, returns attempts from all tenants. + // + TenantID []string `queryParam:"style=form,explode=true,name=tenant_id"` + // Filter attempts by event ID(s). Use bracket notation for multiple values (e.g., `event_id[0]=e1&event_id[1]=e2`). + EventID []string `queryParam:"style=form,explode=true,name=event_id"` + // Filter attempts by destination ID(s). Use bracket notation for multiple values (e.g., `destination_id[0]=d1&destination_id[1]=d2`). + DestinationID []string `queryParam:"style=form,explode=true,name=destination_id"` // Filter attempts by status. Status *ListAttemptsStatus `queryParam:"style=form,explode=true,name=status"` - // Filter attempts by event topic(s). Can be specified multiple times or comma-separated. - Topic *ListAttemptsTopic `queryParam:"style=form,explode=true,name=topic"` + // Filter attempts by event topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). + Topic []string `queryParam:"style=form,explode=true,name=topic"` // Filter attempts by event time >= value (RFC3339 or YYYY-MM-DD format). TimeGte *time.Time `queryParam:"style=form,explode=true,name=time[gte]"` // Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format). TimeLte *time.Time `queryParam:"style=form,explode=true,name=time[lte]"` + // Filter attempts by event time > value (RFC3339 or YYYY-MM-DD format). + TimeGt *time.Time `queryParam:"style=form,explode=true,name=time[gt]"` + // Filter attempts by event time < value (RFC3339 or YYYY-MM-DD format). + TimeLt *time.Time `queryParam:"style=form,explode=true,name=time[lt]"` // Number of items per page (default 100, max 1000). Limit *int64 `default:"100" queryParam:"style=form,explode=true,name=limit"` // Cursor for next page of results. Next *string `queryParam:"style=form,explode=true,name=next"` // Cursor for previous page of results. Prev *string `queryParam:"style=form,explode=true,name=prev"` - // Fields to include in the response. Can be specified multiple times or comma-separated. + // Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). // - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) // - `event.data`: Include full event with payload data // - `response_data`: Include response body and headers // - Include *ListAttemptsInclude `queryParam:"style=form,explode=true,name=include"` + Include []string `queryParam:"style=form,explode=true,name=include"` // Field to sort by. OrderBy *ListAttemptsOrderBy `default:"time" queryParam:"style=form,explode=true,name=order_by"` // Sort direction. @@ -264,21 +139,21 @@ func (l *ListAttemptsRequest) UnmarshalJSON(data []byte) error { return nil } -func (l *ListAttemptsRequest) GetTenantID() *string { +func (l *ListAttemptsRequest) GetTenantID() []string { if l == nil { return nil } return l.TenantID } -func (l *ListAttemptsRequest) GetEventID() *string { +func (l *ListAttemptsRequest) GetEventID() []string { if l == nil { return nil } return l.EventID } -func (l *ListAttemptsRequest) GetDestinationID() *string { +func (l *ListAttemptsRequest) GetDestinationID() []string { if l == nil { return nil } @@ -292,7 +167,7 @@ func (l *ListAttemptsRequest) GetStatus() *ListAttemptsStatus { return l.Status } -func (l *ListAttemptsRequest) GetTopic() *ListAttemptsTopic { +func (l *ListAttemptsRequest) GetTopic() []string { if l == nil { return nil } @@ -313,6 +188,20 @@ func (l *ListAttemptsRequest) GetTimeLte() *time.Time { return l.TimeLte } +func (l *ListAttemptsRequest) GetTimeGt() *time.Time { + if l == nil { + return nil + } + return l.TimeGt +} + +func (l *ListAttemptsRequest) GetTimeLt() *time.Time { + if l == nil { + return nil + } + return l.TimeLt +} + func (l *ListAttemptsRequest) GetLimit() *int64 { if l == nil { return nil @@ -334,7 +223,7 @@ func (l *ListAttemptsRequest) GetPrev() *string { return l.Prev } -func (l *ListAttemptsRequest) GetInclude() *ListAttemptsInclude { +func (l *ListAttemptsRequest) GetInclude() []string { if l == nil { return nil } @@ -359,6 +248,8 @@ type ListAttemptsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A paginated list of attempts. AttemptPaginatedResult *components.AttemptPaginatedResult + + Next func() (*ListAttemptsResponse, error) } func (l *ListAttemptsResponse) GetHTTPMeta() components.HTTPMetadata { diff --git a/sdks/outpost-go/models/operations/listevents.go b/sdks/outpost-go/models/operations/listevents.go index d1f3dcb78..bc2dcf28c 100644 --- a/sdks/outpost-go/models/operations/listevents.go +++ b/sdks/outpost-go/models/operations/listevents.go @@ -4,77 +4,12 @@ package operations import ( "encoding/json" - "errors" "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/models/components" "time" ) -type ListEventsTopicType string - -const ( - ListEventsTopicTypeStr ListEventsTopicType = "str" - ListEventsTopicTypeArrayOfStr ListEventsTopicType = "arrayOfStr" -) - -// ListEventsTopic - Filter events by topic(s). Can be specified multiple times or comma-separated. -type ListEventsTopic struct { - Str *string `queryParam:"inline" union:"member"` - ArrayOfStr []string `queryParam:"inline" union:"member"` - - Type ListEventsTopicType -} - -func CreateListEventsTopicStr(str string) ListEventsTopic { - typ := ListEventsTopicTypeStr - - return ListEventsTopic{ - Str: &str, - Type: typ, - } -} - -func CreateListEventsTopicArrayOfStr(arrayOfStr []string) ListEventsTopic { - typ := ListEventsTopicTypeArrayOfStr - - return ListEventsTopic{ - ArrayOfStr: arrayOfStr, - Type: typ, - } -} - -func (u *ListEventsTopic) UnmarshalJSON(data []byte) error { - - var str string = "" - if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { - u.Str = &str - u.Type = ListEventsTopicTypeStr - return nil - } - - var arrayOfStr []string = []string{} - if err := utils.UnmarshalJSON(data, &arrayOfStr, "", true, nil); err == nil { - u.ArrayOfStr = arrayOfStr - u.Type = ListEventsTopicTypeArrayOfStr - return nil - } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for ListEventsTopic", string(data)) -} - -func (u ListEventsTopic) MarshalJSON() ([]byte, error) { - if u.Str != nil { - return utils.MarshalJSON(u.Str, "", true) - } - - if u.ArrayOfStr != nil { - return utils.MarshalJSON(u.ArrayOfStr, "", true) - } - - return nil, errors.New("could not marshal union type ListEventsTopic: all fields are null") -} - // ListEventsOrderBy - Field to sort by. type ListEventsOrderBy string @@ -127,14 +62,23 @@ func (e *ListEventsDir) UnmarshalJSON(data []byte) error { } type ListEventsRequest struct { - // Filter events by tenant ID. If not provided, returns events from all tenants. - TenantID *string `queryParam:"style=form,explode=true,name=tenant_id"` - // Filter events by topic(s). Can be specified multiple times or comma-separated. - Topic *ListEventsTopic `queryParam:"style=form,explode=true,name=topic"` + // Filter events by ID(s). Use bracket notation for multiple values (e.g., `id[0]=abc&id[1]=def`). + ID []string `queryParam:"style=form,explode=true,name=id"` + // Filter events by tenant ID(s). Use bracket notation for multiple values (e.g., `tenant_id[0]=t1&tenant_id[1]=t2`). + // When authenticated with a Tenant JWT, this parameter is ignored and the JWT's tenant is used. + // If not provided with API key auth, returns events from all tenants. + // + TenantID []string `queryParam:"style=form,explode=true,name=tenant_id"` + // Filter events by topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). + Topic []string `queryParam:"style=form,explode=true,name=topic"` // Filter events with time >= value (RFC3339 or YYYY-MM-DD format). TimeGte *time.Time `queryParam:"style=form,explode=true,name=time[gte]"` // Filter events with time <= value (RFC3339 or YYYY-MM-DD format). TimeLte *time.Time `queryParam:"style=form,explode=true,name=time[lte]"` + // Filter events with time > value (RFC3339 or YYYY-MM-DD format). + TimeGt *time.Time `queryParam:"style=form,explode=true,name=time[gt]"` + // Filter events with time < value (RFC3339 or YYYY-MM-DD format). + TimeLt *time.Time `queryParam:"style=form,explode=true,name=time[lt]"` // Number of items per page (default 100, max 1000). Limit *int64 `default:"100" queryParam:"style=form,explode=true,name=limit"` // Cursor for next page of results. @@ -158,14 +102,21 @@ func (l *ListEventsRequest) UnmarshalJSON(data []byte) error { return nil } -func (l *ListEventsRequest) GetTenantID() *string { +func (l *ListEventsRequest) GetID() []string { + if l == nil { + return nil + } + return l.ID +} + +func (l *ListEventsRequest) GetTenantID() []string { if l == nil { return nil } return l.TenantID } -func (l *ListEventsRequest) GetTopic() *ListEventsTopic { +func (l *ListEventsRequest) GetTopic() []string { if l == nil { return nil } @@ -186,6 +137,20 @@ func (l *ListEventsRequest) GetTimeLte() *time.Time { return l.TimeLte } +func (l *ListEventsRequest) GetTimeGt() *time.Time { + if l == nil { + return nil + } + return l.TimeGt +} + +func (l *ListEventsRequest) GetTimeLt() *time.Time { + if l == nil { + return nil + } + return l.TimeLt +} + func (l *ListEventsRequest) GetLimit() *int64 { if l == nil { return nil @@ -225,6 +190,8 @@ type ListEventsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A paginated list of events. EventPaginatedResult *components.EventPaginatedResult + + Next func() (*ListEventsResponse, error) } func (l *ListEventsResponse) GetHTTPMeta() components.HTTPMetadata { diff --git a/sdks/outpost-go/models/operations/listtenantdestinationattempts.go b/sdks/outpost-go/models/operations/listtenantdestinationattempts.go index 6872001b1..883ad4769 100644 --- a/sdks/outpost-go/models/operations/listtenantdestinationattempts.go +++ b/sdks/outpost-go/models/operations/listtenantdestinationattempts.go @@ -4,7 +4,6 @@ package operations import ( "encoding/json" - "errors" "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/models/components" @@ -38,137 +37,6 @@ func (e *ListTenantDestinationAttemptsStatus) UnmarshalJSON(data []byte) error { } } -type ListTenantDestinationAttemptsTopicType string - -const ( - ListTenantDestinationAttemptsTopicTypeStr ListTenantDestinationAttemptsTopicType = "str" - ListTenantDestinationAttemptsTopicTypeArrayOfStr ListTenantDestinationAttemptsTopicType = "arrayOfStr" -) - -// ListTenantDestinationAttemptsTopic - Filter attempts by event topic(s). Can be specified multiple times or comma-separated. -type ListTenantDestinationAttemptsTopic struct { - Str *string `queryParam:"inline" union:"member"` - ArrayOfStr []string `queryParam:"inline" union:"member"` - - Type ListTenantDestinationAttemptsTopicType -} - -func CreateListTenantDestinationAttemptsTopicStr(str string) ListTenantDestinationAttemptsTopic { - typ := ListTenantDestinationAttemptsTopicTypeStr - - return ListTenantDestinationAttemptsTopic{ - Str: &str, - Type: typ, - } -} - -func CreateListTenantDestinationAttemptsTopicArrayOfStr(arrayOfStr []string) ListTenantDestinationAttemptsTopic { - typ := ListTenantDestinationAttemptsTopicTypeArrayOfStr - - return ListTenantDestinationAttemptsTopic{ - ArrayOfStr: arrayOfStr, - Type: typ, - } -} - -func (u *ListTenantDestinationAttemptsTopic) UnmarshalJSON(data []byte) error { - - var str string = "" - if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { - u.Str = &str - u.Type = ListTenantDestinationAttemptsTopicTypeStr - return nil - } - - var arrayOfStr []string = []string{} - if err := utils.UnmarshalJSON(data, &arrayOfStr, "", true, nil); err == nil { - u.ArrayOfStr = arrayOfStr - u.Type = ListTenantDestinationAttemptsTopicTypeArrayOfStr - return nil - } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for ListTenantDestinationAttemptsTopic", string(data)) -} - -func (u ListTenantDestinationAttemptsTopic) MarshalJSON() ([]byte, error) { - if u.Str != nil { - return utils.MarshalJSON(u.Str, "", true) - } - - if u.ArrayOfStr != nil { - return utils.MarshalJSON(u.ArrayOfStr, "", true) - } - - return nil, errors.New("could not marshal union type ListTenantDestinationAttemptsTopic: all fields are null") -} - -type ListTenantDestinationAttemptsIncludeType string - -const ( - ListTenantDestinationAttemptsIncludeTypeStr ListTenantDestinationAttemptsIncludeType = "str" - ListTenantDestinationAttemptsIncludeTypeArrayOfStr ListTenantDestinationAttemptsIncludeType = "arrayOfStr" -) - -// ListTenantDestinationAttemptsInclude - Fields to include in the response. Can be specified multiple times or comma-separated. -// - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) -// - `event.data`: Include full event with payload data -// - `response_data`: Include response body and headers -type ListTenantDestinationAttemptsInclude struct { - Str *string `queryParam:"inline" union:"member"` - ArrayOfStr []string `queryParam:"inline" union:"member"` - - Type ListTenantDestinationAttemptsIncludeType -} - -func CreateListTenantDestinationAttemptsIncludeStr(str string) ListTenantDestinationAttemptsInclude { - typ := ListTenantDestinationAttemptsIncludeTypeStr - - return ListTenantDestinationAttemptsInclude{ - Str: &str, - Type: typ, - } -} - -func CreateListTenantDestinationAttemptsIncludeArrayOfStr(arrayOfStr []string) ListTenantDestinationAttemptsInclude { - typ := ListTenantDestinationAttemptsIncludeTypeArrayOfStr - - return ListTenantDestinationAttemptsInclude{ - ArrayOfStr: arrayOfStr, - Type: typ, - } -} - -func (u *ListTenantDestinationAttemptsInclude) UnmarshalJSON(data []byte) error { - - var str string = "" - if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { - u.Str = &str - u.Type = ListTenantDestinationAttemptsIncludeTypeStr - return nil - } - - var arrayOfStr []string = []string{} - if err := utils.UnmarshalJSON(data, &arrayOfStr, "", true, nil); err == nil { - u.ArrayOfStr = arrayOfStr - u.Type = ListTenantDestinationAttemptsIncludeTypeArrayOfStr - return nil - } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for ListTenantDestinationAttemptsInclude", string(data)) -} - -func (u ListTenantDestinationAttemptsInclude) MarshalJSON() ([]byte, error) { - if u.Str != nil { - return utils.MarshalJSON(u.Str, "", true) - } - - if u.ArrayOfStr != nil { - return utils.MarshalJSON(u.ArrayOfStr, "", true) - } - - return nil, errors.New("could not marshal union type ListTenantDestinationAttemptsInclude: all fields are null") -} - // ListTenantDestinationAttemptsOrderBy - Field to sort by. type ListTenantDestinationAttemptsOrderBy string @@ -225,28 +93,32 @@ type ListTenantDestinationAttemptsRequest struct { TenantID string `pathParam:"style=simple,explode=false,name=tenant_id"` // The ID of the destination. DestinationID string `pathParam:"style=simple,explode=false,name=destination_id"` - // Filter attempts by event ID. - EventID *string `queryParam:"style=form,explode=true,name=event_id"` + // Filter attempts by event ID(s). Use bracket notation for multiple values (e.g., `event_id[0]=e1&event_id[1]=e2`). + EventID []string `queryParam:"style=form,explode=true,name=event_id"` // Filter attempts by status. Status *ListTenantDestinationAttemptsStatus `queryParam:"style=form,explode=true,name=status"` - // Filter attempts by event topic(s). Can be specified multiple times or comma-separated. - Topic *ListTenantDestinationAttemptsTopic `queryParam:"style=form,explode=true,name=topic"` + // Filter attempts by event topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). + Topic []string `queryParam:"style=form,explode=true,name=topic"` // Filter attempts by event time >= value (RFC3339 or YYYY-MM-DD format). TimeGte *time.Time `queryParam:"style=form,explode=true,name=time[gte]"` // Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format). TimeLte *time.Time `queryParam:"style=form,explode=true,name=time[lte]"` + // Filter attempts by event time > value (RFC3339 or YYYY-MM-DD format). + TimeGt *time.Time `queryParam:"style=form,explode=true,name=time[gt]"` + // Filter attempts by event time < value (RFC3339 or YYYY-MM-DD format). + TimeLt *time.Time `queryParam:"style=form,explode=true,name=time[lt]"` // Number of items per page (default 100, max 1000). Limit *int64 `default:"100" queryParam:"style=form,explode=true,name=limit"` // Cursor for next page of results. Next *string `queryParam:"style=form,explode=true,name=next"` // Cursor for previous page of results. Prev *string `queryParam:"style=form,explode=true,name=prev"` - // Fields to include in the response. Can be specified multiple times or comma-separated. + // Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). // - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) // - `event.data`: Include full event with payload data // - `response_data`: Include response body and headers // - Include *ListTenantDestinationAttemptsInclude `queryParam:"style=form,explode=true,name=include"` + Include []string `queryParam:"style=form,explode=true,name=include"` // Field to sort by. OrderBy *ListTenantDestinationAttemptsOrderBy `default:"time" queryParam:"style=form,explode=true,name=order_by"` // Sort direction. @@ -278,7 +150,7 @@ func (l *ListTenantDestinationAttemptsRequest) GetDestinationID() string { return l.DestinationID } -func (l *ListTenantDestinationAttemptsRequest) GetEventID() *string { +func (l *ListTenantDestinationAttemptsRequest) GetEventID() []string { if l == nil { return nil } @@ -292,7 +164,7 @@ func (l *ListTenantDestinationAttemptsRequest) GetStatus() *ListTenantDestinatio return l.Status } -func (l *ListTenantDestinationAttemptsRequest) GetTopic() *ListTenantDestinationAttemptsTopic { +func (l *ListTenantDestinationAttemptsRequest) GetTopic() []string { if l == nil { return nil } @@ -313,6 +185,20 @@ func (l *ListTenantDestinationAttemptsRequest) GetTimeLte() *time.Time { return l.TimeLte } +func (l *ListTenantDestinationAttemptsRequest) GetTimeGt() *time.Time { + if l == nil { + return nil + } + return l.TimeGt +} + +func (l *ListTenantDestinationAttemptsRequest) GetTimeLt() *time.Time { + if l == nil { + return nil + } + return l.TimeLt +} + func (l *ListTenantDestinationAttemptsRequest) GetLimit() *int64 { if l == nil { return nil @@ -334,7 +220,7 @@ func (l *ListTenantDestinationAttemptsRequest) GetPrev() *string { return l.Prev } -func (l *ListTenantDestinationAttemptsRequest) GetInclude() *ListTenantDestinationAttemptsInclude { +func (l *ListTenantDestinationAttemptsRequest) GetInclude() []string { if l == nil { return nil } @@ -359,6 +245,8 @@ type ListTenantDestinationAttemptsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A paginated list of attempts for the destination. AttemptPaginatedResult *components.AttemptPaginatedResult + + Next func() (*ListTenantDestinationAttemptsResponse, error) } func (l *ListTenantDestinationAttemptsResponse) GetHTTPMeta() components.HTTPMetadata { diff --git a/sdks/outpost-go/models/operations/listtenantdestinations.go b/sdks/outpost-go/models/operations/listtenantdestinations.go index 830fb4f22..ecefb99cf 100644 --- a/sdks/outpost-go/models/operations/listtenantdestinations.go +++ b/sdks/outpost-go/models/operations/listtenantdestinations.go @@ -3,147 +3,16 @@ package operations import ( - "errors" - "fmt" - "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/models/components" ) -type ListTenantDestinationsTypeType string - -const ( - ListTenantDestinationsTypeTypeDestinationType ListTenantDestinationsTypeType = "DestinationType" - ListTenantDestinationsTypeTypeArrayOfDestinationType ListTenantDestinationsTypeType = "arrayOfDestinationType" -) - -// ListTenantDestinationsType - Filter destinations by type(s). -type ListTenantDestinationsType struct { - DestinationType *components.DestinationType `queryParam:"inline" union:"member"` - ArrayOfDestinationType []components.DestinationType `queryParam:"inline" union:"member"` - - Type ListTenantDestinationsTypeType -} - -func CreateListTenantDestinationsTypeDestinationType(destinationType components.DestinationType) ListTenantDestinationsType { - typ := ListTenantDestinationsTypeTypeDestinationType - - return ListTenantDestinationsType{ - DestinationType: &destinationType, - Type: typ, - } -} - -func CreateListTenantDestinationsTypeArrayOfDestinationType(arrayOfDestinationType []components.DestinationType) ListTenantDestinationsType { - typ := ListTenantDestinationsTypeTypeArrayOfDestinationType - - return ListTenantDestinationsType{ - ArrayOfDestinationType: arrayOfDestinationType, - Type: typ, - } -} - -func (u *ListTenantDestinationsType) UnmarshalJSON(data []byte) error { - - var destinationType components.DestinationType = components.DestinationType("") - if err := utils.UnmarshalJSON(data, &destinationType, "", true, nil); err == nil { - u.DestinationType = &destinationType - u.Type = ListTenantDestinationsTypeTypeDestinationType - return nil - } - - var arrayOfDestinationType []components.DestinationType = []components.DestinationType{} - if err := utils.UnmarshalJSON(data, &arrayOfDestinationType, "", true, nil); err == nil { - u.ArrayOfDestinationType = arrayOfDestinationType - u.Type = ListTenantDestinationsTypeTypeArrayOfDestinationType - return nil - } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for ListTenantDestinationsType", string(data)) -} - -func (u ListTenantDestinationsType) MarshalJSON() ([]byte, error) { - if u.DestinationType != nil { - return utils.MarshalJSON(u.DestinationType, "", true) - } - - if u.ArrayOfDestinationType != nil { - return utils.MarshalJSON(u.ArrayOfDestinationType, "", true) - } - - return nil, errors.New("could not marshal union type ListTenantDestinationsType: all fields are null") -} - -type TopicsType string - -const ( - TopicsTypeStr TopicsType = "str" - TopicsTypeArrayOfStr TopicsType = "arrayOfStr" -) - -// Topics - Filter destinations by supported topic(s). -type Topics struct { - Str *string `queryParam:"inline" union:"member"` - ArrayOfStr []string `queryParam:"inline" union:"member"` - - Type TopicsType -} - -func CreateTopicsStr(str string) Topics { - typ := TopicsTypeStr - - return Topics{ - Str: &str, - Type: typ, - } -} - -func CreateTopicsArrayOfStr(arrayOfStr []string) Topics { - typ := TopicsTypeArrayOfStr - - return Topics{ - ArrayOfStr: arrayOfStr, - Type: typ, - } -} - -func (u *Topics) UnmarshalJSON(data []byte) error { - - var str string = "" - if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { - u.Str = &str - u.Type = TopicsTypeStr - return nil - } - - var arrayOfStr []string = []string{} - if err := utils.UnmarshalJSON(data, &arrayOfStr, "", true, nil); err == nil { - u.ArrayOfStr = arrayOfStr - u.Type = TopicsTypeArrayOfStr - return nil - } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for Topics", string(data)) -} - -func (u Topics) MarshalJSON() ([]byte, error) { - if u.Str != nil { - return utils.MarshalJSON(u.Str, "", true) - } - - if u.ArrayOfStr != nil { - return utils.MarshalJSON(u.ArrayOfStr, "", true) - } - - return nil, errors.New("could not marshal union type Topics: all fields are null") -} - type ListTenantDestinationsRequest struct { // The ID of the tenant. Required when using AdminApiKey authentication. TenantID string `pathParam:"style=simple,explode=false,name=tenant_id"` - // Filter destinations by type(s). - Type *ListTenantDestinationsType `queryParam:"style=form,explode=true,name=type"` - // Filter destinations by supported topic(s). - Topics *Topics `queryParam:"style=form,explode=true,name=topics"` + // Filter destinations by type(s). Use bracket notation for multiple values (e.g., `type[0]=webhook&type[1]=aws_sqs`). + Type []components.DestinationType `queryParam:"style=form,explode=true,name=type"` + // Filter destinations by supported topic(s). Use bracket notation for multiple values (e.g., `topics[0]=user.created&topics[1]=user.deleted`). + Topics []string `queryParam:"style=form,explode=true,name=topics"` } func (l *ListTenantDestinationsRequest) GetTenantID() string { @@ -153,14 +22,14 @@ func (l *ListTenantDestinationsRequest) GetTenantID() string { return l.TenantID } -func (l *ListTenantDestinationsRequest) GetType() *ListTenantDestinationsType { +func (l *ListTenantDestinationsRequest) GetType() []components.DestinationType { if l == nil { return nil } return l.Type } -func (l *ListTenantDestinationsRequest) GetTopics() *Topics { +func (l *ListTenantDestinationsRequest) GetTopics() []string { if l == nil { return nil } diff --git a/sdks/outpost-go/models/operations/listtenants.go b/sdks/outpost-go/models/operations/listtenants.go index cbd159c4d..214fc5b0c 100644 --- a/sdks/outpost-go/models/operations/listtenants.go +++ b/sdks/outpost-go/models/operations/listtenants.go @@ -37,6 +37,8 @@ func (e *ListTenantsDir) UnmarshalJSON(data []byte) error { } type ListTenantsRequest struct { + // Filter tenants by ID(s). Use bracket notation for multiple values (e.g., `id[0]=t1&id[1]=t2` or `id[]=t1&id[]=t2`). + ID []string `queryParam:"style=form,explode=true,name=id"` // Number of tenants to return per page (1-100, default 20). Limit *int64 `default:"20" queryParam:"style=form,explode=true,name=limit"` // Sort direction. @@ -58,6 +60,13 @@ func (l *ListTenantsRequest) UnmarshalJSON(data []byte) error { return nil } +func (l *ListTenantsRequest) GetID() []string { + if l == nil { + return nil + } + return l.ID +} + func (l *ListTenantsRequest) GetLimit() *int64 { if l == nil { return nil @@ -90,6 +99,8 @@ type ListTenantsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // List of tenants. TenantPaginatedResult *components.TenantPaginatedResult + + Next func() (*ListTenantsResponse, error) } func (l *ListTenantsResponse) GetHTTPMeta() components.HTTPMetadata { diff --git a/sdks/outpost-go/models/operations/updatetenantdestination.go b/sdks/outpost-go/models/operations/updatetenantdestination.go index 96ac03828..c8b9a718d 100644 --- a/sdks/outpost-go/models/operations/updatetenantdestination.go +++ b/sdks/outpost-go/models/operations/updatetenantdestination.go @@ -14,7 +14,7 @@ type UpdateTenantDestinationRequest struct { TenantID string `pathParam:"style=simple,explode=false,name=tenant_id"` // The ID of the destination. DestinationID string `pathParam:"style=simple,explode=false,name=destination_id"` - Params components.DestinationUpdate `request:"mediaType=application/json"` + Body components.DestinationUpdate `request:"mediaType=application/json"` } func (u *UpdateTenantDestinationRequest) GetTenantID() string { @@ -31,11 +31,11 @@ func (u *UpdateTenantDestinationRequest) GetDestinationID() string { return u.DestinationID } -func (u *UpdateTenantDestinationRequest) GetParams() components.DestinationUpdate { +func (u *UpdateTenantDestinationRequest) GetBody() components.DestinationUpdate { if u == nil { return components.DestinationUpdate{} } - return u.Params + return u.Body } type UpdateTenantDestinationResponseBodyType string diff --git a/sdks/outpost-go/models/operations/upserttenant.go b/sdks/outpost-go/models/operations/upserttenant.go index 477b550c6..f7da22b5e 100644 --- a/sdks/outpost-go/models/operations/upserttenant.go +++ b/sdks/outpost-go/models/operations/upserttenant.go @@ -10,7 +10,7 @@ type UpsertTenantRequest struct { // The ID of the tenant. Required when using AdminApiKey authentication. TenantID string `pathParam:"style=simple,explode=false,name=tenant_id"` // Optional tenant metadata - Params *components.TenantUpsert `request:"mediaType=application/json"` + Body *components.TenantUpsert `request:"mediaType=application/json"` } func (u *UpsertTenantRequest) GetTenantID() string { @@ -20,11 +20,11 @@ func (u *UpsertTenantRequest) GetTenantID() string { return u.TenantID } -func (u *UpsertTenantRequest) GetParams() *components.TenantUpsert { +func (u *UpsertTenantRequest) GetBody() *components.TenantUpsert { if u == nil { return nil } - return u.Params + return u.Body } type UpsertTenantResponse struct { diff --git a/sdks/outpost-go/outpost.go b/sdks/outpost-go/outpost.go index 6aa9c7a3b..61e79c800 100644 --- a/sdks/outpost-go/outpost.go +++ b/sdks/outpost-go/outpost.go @@ -2,7 +2,7 @@ package outpostgo -// Generated from OpenAPI doc version 0.0.1 and generator version 2.849.10 +// Generated from OpenAPI doc version 0.0.1 and generator version 2.862.0 import ( "context" @@ -186,9 +186,9 @@ func WithTimeout(timeout time.Duration) SDKOption { // New creates a new instance of the SDK with the provided options func New(opts ...SDKOption) *Outpost { sdk := &Outpost{ - SDKVersion: "0.7.0", + SDKVersion: "0.8.0", sdkConfiguration: config.SDKConfiguration{ - UserAgent: "speakeasy-sdk/go 0.7.0 2.849.10 0.0.1 github.com/hookdeck/outpost/sdks/outpost-go", + UserAgent: "speakeasy-sdk/go 0.8.0 2.862.0 0.0.1 github.com/hookdeck/outpost/sdks/outpost-go", ServerList: ServerList, }, hooks: hooks.New(), diff --git a/sdks/outpost-go/retry/config.go b/sdks/outpost-go/retry/config.go index aa809fccb..5b3dc7c12 100644 --- a/sdks/outpost-go/retry/config.go +++ b/sdks/outpost-go/retry/config.go @@ -114,7 +114,7 @@ func retryIntervalFromResponse(res *http.Response) time.Duration { parsedDate, err := time.Parse(time.RFC1123, retryVal) if err == nil { - delta := parsedDate.Sub(time.Now()) + delta := time.Until(parsedDate) if delta < 0 { return 0 } else { diff --git a/sdks/outpost-go/schemas.go b/sdks/outpost-go/schemas.go index cdf0ea884..c3c2c311f 100644 --- a/sdks/outpost-go/schemas.go +++ b/sdks/outpost-go/schemas.go @@ -476,7 +476,7 @@ func (s *Schemas) ListDestinationTypes(ctx context.Context, opts ...operations.O // GetDestinationType - Get Destination Type Schema // Returns the input schema for a specific destination type. -func (s *Schemas) GetDestinationType(ctx context.Context, type_ operations.GetDestinationTypeSchemaType, opts ...operations.Option) (*operations.GetDestinationTypeSchemaResponse, error) { +func (s *Schemas) GetDestinationType(ctx context.Context, type_ operations.Type, opts ...operations.Option) (*operations.GetDestinationTypeSchemaResponse, error) { request := operations.GetDestinationTypeSchemaRequest{ Type: type_, } diff --git a/sdks/outpost-go/tenants.go b/sdks/outpost-go/tenants.go index 73a65e956..cffc168de 100644 --- a/sdks/outpost-go/tenants.go +++ b/sdks/outpost-go/tenants.go @@ -13,8 +13,11 @@ import ( "github.com/hookdeck/outpost/sdks/outpost-go/models/components" "github.com/hookdeck/outpost/sdks/outpost-go/models/operations" "github.com/hookdeck/outpost/sdks/outpost-go/retry" + "github.com/spyzhov/ajson" "net/http" "net/url" + "strconv" + "strings" ) // Tenants - The API segments resources per `tenant`. A tenant represents a user/team/organization in your product. The provided value determines the tenant's ID, which can be any string representation. @@ -34,21 +37,14 @@ func newTenants(rootSDK *Outpost, sdkConfig config.SDKConfiguration, hooks *hook } } -// ListTenants - List Tenants +// List Tenants // List all tenants with cursor-based pagination. // // **Requirements:** This endpoint requires Redis with RediSearch module (e.g., `redis/redis-stack-server`). // If RediSearch is not available, this endpoint returns `501 Not Implemented`. // // When authenticated with a Tenant JWT, returns only the authenticated tenant. Pagination is not used in this case. -func (s *Tenants) ListTenants(ctx context.Context, limit *int64, dir *operations.ListTenantsDir, next *string, prev *string, opts ...operations.Option) (*operations.ListTenantsResponse, error) { - request := operations.ListTenantsRequest{ - Limit: limit, - Dir: dir, - Next: next, - Prev: prev, - } - +func (s *Tenants) List(ctx context.Context, request operations.ListTenantsRequest, opts ...operations.Option) (*operations.ListTenantsResponse, error) { o := operations.Options{} supportedOptions := []string{ operations.SupportedOptionRetries, @@ -209,6 +205,72 @@ func (s *Tenants) ListTenants(ctx context.Context, limit *int64, dir *operations Response: httpRes, }, } + res.Next = func() (*operations.ListTenantsResponse, error) { + rawBody, err := utils.ConsumeRawBody(httpRes) + if err != nil { + return nil, err + } + + b, err := ajson.Unmarshal(rawBody) + if err != nil { + return nil, err + } + nC, err := ajson.Eval(b, "$.pagination.next") + if err != nil { + return nil, err + } + var nCVal string + + if nC.IsNumeric() { + numVal, err := nC.GetNumeric() + if err != nil { + return nil, err + } + // GetNumeric returns as float64 so convert to the appropriate type. + nCVal = strconv.FormatFloat(numVal, 'f', 0, 64) + } else { + val, err := nC.Value() + if err != nil { + return nil, err + } + if val == nil { + return nil, nil + } + nCVal = val.(string) + if strings.TrimSpace(nCVal) == "" { + return nil, nil + } + } + r, err := ajson.Eval(b, "$.models") + if err != nil { + return nil, err + } + if !r.IsArray() { + return nil, nil + } + arr, err := r.GetArray() + if err != nil { + return nil, err + } + if len(arr) == 0 { + return nil, nil + } + + l := 0 + if request.Limit != nil { + l = int(*request.Limit) + } + if len(arr) < l { + return nil, nil + } + request.Next = &nCVal + + return s.List( + ctx, + request, + opts..., + ) + } switch { case httpRes.StatusCode == 200: @@ -346,10 +408,10 @@ func (s *Tenants) ListTenants(ctx context.Context, limit *int64, dir *operations // Upsert - Create or Update Tenant // Idempotently creates or updates a tenant. Required before associating destinations. -func (s *Tenants) Upsert(ctx context.Context, tenantID string, params *components.TenantUpsert, opts ...operations.Option) (*operations.UpsertTenantResponse, error) { +func (s *Tenants) Upsert(ctx context.Context, tenantID string, body *components.TenantUpsert, opts ...operations.Option) (*operations.UpsertTenantResponse, error) { request := operations.UpsertTenantRequest{ TenantID: tenantID, - Params: params, + Body: body, } o := operations.Options{} @@ -384,7 +446,7 @@ func (s *Tenants) Upsert(ctx context.Context, tenantID string, params *component OAuth2Scopes: nil, SecuritySource: s.sdkConfiguration.Security, } - bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, true, "Params", "json", `request:"mediaType=application/json"`) + bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, true, "Body", "json", `request:"mediaType=application/json"`) if err != nil { return nil, err }