Skip to content

Commit 22ca16b

Browse files
authored
Merge pull request #381 from hookdeck/chore/rename-sdks
chore(sdks): regenerate in new directories
2 parents 8b8cb91 + cab6fac commit 22ca16b

827 files changed

Lines changed: 431 additions & 567 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.speakeasy/workflow.lock

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,33 @@ speakeasyVersion: 1.543.4
22
sources:
33
Outpost API:
44
sourceNamespace: outpost-api
5-
sourceRevisionDigest: sha256:cb74831e49a563227102cfa26ef22b0d76c9eddf275639946a1098533985ece6
5+
sourceRevisionDigest: sha256:d29ca10e30557b054364e2f189779b6eae2eb027592e66d96694164e2dfd5d3b
66
sourceBlobDigest: sha256:0e5867349e513ef193e2077149c98453ab2d429af67bfb7fee79a86f22f8e47e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1746827603
109
- 0.0.1
1110
targets:
1211
outpost-go:
1312
source: Outpost API
1413
sourceNamespace: outpost-api
15-
sourceRevisionDigest: sha256:cb74831e49a563227102cfa26ef22b0d76c9eddf275639946a1098533985ece6
14+
sourceRevisionDigest: sha256:d29ca10e30557b054364e2f189779b6eae2eb027592e66d96694164e2dfd5d3b
1615
sourceBlobDigest: sha256:0e5867349e513ef193e2077149c98453ab2d429af67bfb7fee79a86f22f8e47e
1716
codeSamplesNamespace: outpost-api-go-code-samples
18-
codeSamplesRevisionDigest: sha256:9fea9d11c6d7a6333a848a90eb3a93f1b9998f0a91b6355aff9dd7e45b29bcbf
17+
codeSamplesRevisionDigest: sha256:6a3680288d2da0e9fd6de41fdb794eadabc7a191521fe39735ea986988281186
1918
outpost-python:
2019
source: Outpost API
2120
sourceNamespace: outpost-api
22-
sourceRevisionDigest: sha256:33a0ebc725c9abcd74405bb2929aa2875f9849edd79a5c14ef5cb7bf08e80e81
21+
sourceRevisionDigest: sha256:d29ca10e30557b054364e2f189779b6eae2eb027592e66d96694164e2dfd5d3b
2322
sourceBlobDigest: sha256:0e5867349e513ef193e2077149c98453ab2d429af67bfb7fee79a86f22f8e47e
2423
codeSamplesNamespace: outpost-api-python-code-samples
25-
codeSamplesRevisionDigest: sha256:3982db0ce1099c1389488deeb542ba67a0f764e2c082ad1bedfe245d3fac1759
24+
codeSamplesRevisionDigest: sha256:b766a5283053a6c67b0ea4a001142369cfe5aef6f877f15043f1ea9e9fc51d6f
2625
outpost-ts:
2726
source: Outpost API
2827
sourceNamespace: outpost-api
29-
sourceRevisionDigest: sha256:6c60451579799a9a2125a1ebdd98b65a85afe580e5c10e7bb486ff4ff8629597
28+
sourceRevisionDigest: sha256:d29ca10e30557b054364e2f189779b6eae2eb027592e66d96694164e2dfd5d3b
3029
sourceBlobDigest: sha256:0e5867349e513ef193e2077149c98453ab2d429af67bfb7fee79a86f22f8e47e
3130
codeSamplesNamespace: outpost-api-typescript-code-samples
32-
codeSamplesRevisionDigest: sha256:e63cf33cfc01b002b5d03c264ad43c1fd29c18683eb9b811a2e69766f18b48d4
31+
codeSamplesRevisionDigest: sha256:14bbf6d827f25245332b833dd539e0d1af8add597750bdd1107329cf717e7c88
3332
workflow:
3433
workflowVersion: 1.0.0
3534
speakeasyVersion: latest
@@ -46,7 +45,7 @@ workflow:
4645
outpost-go:
4746
target: go
4847
source: Outpost API
49-
output: ./sdks/go
48+
output: ./sdks/outpost-go
5049
codeSamples:
5150
registry:
5251
location: registry.speakeasyapi.dev/hookdeck-dev/outpost/outpost-api-go-code-samples
@@ -56,7 +55,7 @@ workflow:
5655
outpost-python:
5756
target: python
5857
source: Outpost API
59-
output: ./sdks/python
58+
output: ./sdks/outpost-python
6059
publish:
6160
pypi:
6261
token: $pypi_token
@@ -69,7 +68,7 @@ workflow:
6968
outpost-ts:
7069
target: typescript
7170
source: Outpost API
72-
output: ./sdks/typescript
71+
output: ./sdks/outpost-typescript
7372
publish:
7473
npm:
7574
token: $npm_token

.speakeasy/workflow.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ targets:
1313
outpost-go:
1414
target: go
1515
source: Outpost API
16-
output: ./sdks/go
16+
output: ./sdks/outpost-go
1717
codeSamples:
1818
registry:
1919
location: registry.speakeasyapi.dev/hookdeck-dev/outpost/outpost-api-go-code-samples
@@ -23,7 +23,7 @@ targets:
2323
outpost-python:
2424
target: python
2525
source: Outpost API
26-
output: ./sdks/python
26+
output: ./sdks/outpost-python
2727
publish:
2828
pypi:
2929
token: $pypi_token
@@ -36,7 +36,7 @@ targets:
3636
outpost-ts:
3737
target: typescript
3838
source: Outpost API
39-
output: ./sdks/typescript
39+
output: ./sdks/outpost-typescript
4040
publish:
4141
npm:
4242
token: $npm_token
Lines changed: 10 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
lockVersion: 2.0.0
2-
id: 48f73216-74ac-483a-863e-b24adeebd201
2+
id: f0627709-5a00-43ac-8678-ca716d6f379c
33
management:
44
docChecksum: facaffd173e65f9c7d9b42e7d5d4f736
55
docVersion: 0.0.1
66
speakeasyVersion: 1.543.4
77
generationVersion: 2.598.22
8-
releaseVersion: 0.1.1
9-
configChecksum: 29b2dead444c91f07b22acd228e04897
10-
repoURL: https://github.com/hookdeck/outpost.git
11-
repoSubDirectory: sdks/go
12-
installationURL: https://github.com/hookdeck/outpost/sdks/go
8+
releaseVersion: 0.1.7
9+
configChecksum: 85b6bc0ac0b23805b75facc12e939421
1310
features:
1411
go:
1512
additionalDependencies: 0.1.0
@@ -350,16 +347,6 @@ examples:
350347
responses:
351348
"200":
352349
application/json: {"token": "SOME_JWT_TOKEN"}
353-
getPortalUrlJwtContext:
354-
PortalRedirectExample:
355-
responses:
356-
"200":
357-
application/json: {"redirect_url": "https://webhooks.acme.com/?token=JWT_TOKEN"}
358-
getTenantTokenJwtContext:
359-
TenantTokenExample:
360-
responses:
361-
"200":
362-
application/json: {"token": "SOME_JWT_TOKEN"}
363350
listTenantDestinations:
364351
DestinationsListExample:
365352
parameters:
@@ -375,7 +362,7 @@ examples:
375362
path:
376363
tenant_id: "<id>"
377364
requestBody:
378-
application/json: {"id": "user-provided-id", "type": "aws_sqs", "topics": "*", "config": {"endpoint": "https://sqs.us-east-1.amazonaws.com", "queue_url": "https://sqs.us-east-1.amazonaws.com/123456789012/my-queue"}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", "session": "AQoDYXdzEPT//////////wEXAMPLE..."}}
365+
application/json: {"id": "user-provided-id", "type": "rabbitmq", "topics": "*", "config": {"server_url": "localhost:5672", "exchange": "my-exchange", "tls": "false"}, "credentials": {"username": "guest", "password": "guest"}}
379366
responses:
380367
"201":
381368
application/json: {"id": "des_webhook_123", "type": "webhook", "topics": ["user.created", "order.shipped"], "disabled_at": null, "created_at": "2024-02-15T10:00:00Z", "config": {"url": "https://my-service.com/webhook/handler"}, "credentials": {"secret": "whsec_abc123def456"}}
@@ -395,20 +382,10 @@ examples:
395382
tenant_id: "<id>"
396383
destination_id: "<id>"
397384
requestBody:
398-
application/json: {"topics": "*", "config": {"server_url": "localhost:5672", "exchange": "my-exchange", "tls": "false"}, "credentials": {"username": "guest", "password": "guest"}}
385+
application/json: {"topics": "*", "config": {"stream_name": "my-data-stream", "region": "us-east-1", "endpoint": "https://kinesis.us-east-1.amazonaws.com", "partition_key_template": "data.\"user_id\""}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", "session": "AQoDYXdzEPT//////////wEXAMPLE..."}}
399386
responses:
400387
"200":
401388
application/json: {"id": "des_kns_xyz", "type": "aws_kinesis", "topics": ["user.created", "user.updated"], "disabled_at": null, "created_at": "2024-03-10T15:30:00Z", "config": {"stream_name": "production-events", "region": "eu-west-1"}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}}
402-
OAuthRedirectExample:
403-
parameters:
404-
path:
405-
tenant_id: "<id>"
406-
destination_id: "<id>"
407-
requestBody:
408-
application/json: {"topics": "*", "config": {"endpoint": "https://sqs.us-east-1.amazonaws.com", "queue_url": "https://sqs.us-east-1.amazonaws.com/123456789012/my-queue"}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", "session": "AQoDYXdzEPT//////////wEXAMPLE..."}}
409-
responses:
410-
"200":
411-
application/json: {"redirect_url": "https://dashboard.hookdeck.com/authorize?token=12313123"}
412389
deleteTenantDestination:
413390
SuccessExample:
414391
parameters:
@@ -474,7 +451,7 @@ examples:
474451
parameters:
475452
path:
476453
tenant_id: "<id>"
477-
type: "rabbitmq"
454+
type: "hookdeck"
478455
responses:
479456
"200":
480457
application/json: {"type": "webhook", "label": "Webhook", "description": "Send event via an HTTP POST request to a URL", "icon": "<svg />", "instructions": "Enter the URL...", "config_fields": [{"type": "text", "label": "URL", "description": "The URL to send the webhook to.", "required": true, "pattern": "^https?://.*"}], "credential_fields": [{"type": "text", "label": "Secret", "description": "Optional signing secret.", "required": false, "sensitive": true}]}
@@ -483,14 +460,14 @@ examples:
483460
responses:
484461
"200":
485462
application/json: [{"type": "webhook", "label": "Webhook", "description": "Send event via an HTTP POST request to a URL", "icon": "<svg />", "instructions": "Enter the URL...", "config_fields": [{"type": "text", "label": "URL", "description": "The URL to send the webhook to.", "required": true, "pattern": "^https?://.*"}], "credential_fields": [{"type": "text", "label": "Secret", "description": "Optional signing secret.", "required": false, "sensitive": true}]}, {"type": "aws_sqs", "label": "AWS SQS", "description": "Send event to an AWS SQS queue", "icon": "<svg />", "instructions": "Enter Queue URL...", "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}]}]
486-
getDestinationTypeSchemaJwt:
463+
getDestinationTypeSchema:
487464
WebhookSchemaExample:
488465
parameters:
489466
path:
490-
type: "rabbitmq"
467+
type: "aws_kinesis"
491468
responses:
492469
"200":
493-
application/json: {"type": "webhook", "label": "Webhook", "description": "Send event via an HTTP POST request to a URL", "icon": "<svg />", "instructions": "Enter the URL...", "config_fields": [{"type": "text", "label": "URL", "description": "The URL to send the event to", "validation": "/((([A-Za-z]{3,9}:(?://)?)(?:[-;:&=+$,w]+@)?[A-Za-z0-9.-]+(:[0-9]+)?|(?:www.|[-;:&=+$,w]+@)[A-Za-z0-9.-]+)((?:/[+~%/.w-_]*)???(?:[-+=&;%@.w_]*)#?(?:[w]*))?)/", "required": true}], "credential_fields": [{"type": "text", "label": "Secret", "description": "The URL to send the event to", "required": false}]}
470+
application/json: {"type": "webhook", "label": "Webhook", "description": "Send event via an HTTP POST request to a URL", "icon": "<svg />", "instructions": "Enter the URL...", "config_fields": [{"type": "text", "label": "URL", "description": "The URL to send the webhook to.", "required": true, "pattern": "^https?://.*"}], "credential_fields": [{"type": "text", "label": "Secret", "description": "Optional signing secret.", "required": false, "sensitive": true}]}
494471
listTenantTopics:
495472
TopicsListExample:
496473
parameters:
@@ -499,7 +476,7 @@ examples:
499476
responses:
500477
"200":
501478
application/json: ["user.created", "user.updated", "order.shipped", "inventory.updated"]
502-
listTopicsJwt:
479+
listTopics:
503480
TopicsListExample:
504481
responses:
505482
"200":
@@ -577,18 +554,5 @@ examples:
577554
application/json: {"key": "<value>", "key1": "<value>"}
578555
"511":
579556
application/json: {"key": "<value>"}
580-
getDestinationTypeSchema:
581-
WebhookSchemaExample:
582-
parameters:
583-
path:
584-
type: "aws_kinesis"
585-
responses:
586-
"200":
587-
application/json: {"type": "webhook", "label": "Webhook", "description": "Send event via an HTTP POST request to a URL", "icon": "<svg />", "instructions": "Enter the URL...", "config_fields": [{"type": "text", "label": "URL", "description": "The URL to send the webhook to.", "required": true, "pattern": "^https?://.*"}], "credential_fields": [{"type": "text", "label": "Secret", "description": "Optional signing secret.", "required": false, "sensitive": true}]}
588-
listTopics:
589-
TopicsListExample:
590-
responses:
591-
"200":
592-
application/json: ["user.created", "user.updated", "order.shipped", "inventory.updated"]
593557
examplesVersion: 1.0.1
594558
generatedTests: {}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generation:
1616
oAuth2ClientCredentialsEnabled: true
1717
oAuth2PasswordEnabled: true
1818
go:
19-
version: 0.1.1
19+
version: 0.2.0
2020
additionalDependencies: {}
2121
allowUnknownFieldsInWeakUnions: false
2222
clientServerStatusCodesAsErrors: true
@@ -34,5 +34,5 @@ go:
3434
maxMethodParams: 4
3535
methodArguments: require-security-and-request
3636
outputModelSuffix: output
37-
packageName: client
37+
packageName: github.com/hookdeck/outpost/sdks/outpost-go
3838
responseFormat: envelope-http
File renamed without changes.

0 commit comments

Comments
 (0)