@stigg/typescript-mcp 0.1.0-alpha.32 → 0.1.0-alpha.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4105,241 +4105,6 @@ const EMBEDDED_METHODS = [
4105
4105
  },
4106
4106
  },
4107
4107
  },
4108
- {
4109
- name: 'provision',
4110
- endpoint: '/internal/beta/event-queues/provision',
4111
- httpMethod: 'post',
4112
- summary: 'Provision event queue',
4113
- description: 'Provision SQS queue, SNS subscriptions, and IAM role for the current environment',
4114
- stainlessPath: '(resource) internal.beta.event_queues > (method) provision',
4115
- qualified: 'client.internal.beta.eventQueues.provision',
4116
- params: [
4117
- 'region: string;',
4118
- 'allowedAssumeRoleArns?: string[];',
4119
- 'createLowPriorityQueues?: boolean;',
4120
- 'eventTypes?: string[];',
4121
- 'suffix?: string;',
4122
- ],
4123
- response: "{ data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }; }",
4124
- markdown: "## provision\n\n`client.internal.beta.eventQueues.provision(region: string, allowedAssumeRoleArns?: string[], createLowPriorityQueues?: boolean, eventTypes?: string[], suffix?: string): { data: object; }`\n\n**post** `/internal/beta/event-queues/provision`\n\nProvision SQS queue, SNS subscriptions, and IAM role for the current environment\n\n### Parameters\n\n- `region: string`\n AWS region for the SQS queue (e.g., us-east-1, eu-west-1)\n\n- `allowedAssumeRoleArns?: string[]`\n Additional IAM role ARNs allowed to assume the external role for queue access\n\n- `createLowPriorityQueues?: boolean`\n Whether to create separate low-priority queues for standard topic events\n\n- `eventTypes?: string[]`\n Event types to subscribe to. Defaults to entitlements, measurements, and migrations.\n\n- `suffix?: string`\n Optional suffix to allow multiple queues for the same environment and region\n\n### Returns\n\n- `{ data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }; }`\n Response object\n\n - `data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }`\n\n### Example\n\n```typescript\nimport Stigg from '@stigg/typescript';\n\nconst client = new Stigg();\n\nconst eventQueueResponse = await client.internal.beta.eventQueues.provision({ region: 'us-east-1' });\n\nconsole.log(eventQueueResponse);\n```",
4125
- perLanguage: {
4126
- typescript: {
4127
- method: 'client.internal.beta.eventQueues.provision',
4128
- example: "import Stigg from '@stigg/typescript';\n\nconst client = new Stigg({\n apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted\n});\n\nconst eventQueueResponse = await client.internal.beta.eventQueues.provision({\n region: 'us-east-1',\n});\n\nconsole.log(eventQueueResponse.data);",
4129
- },
4130
- python: {
4131
- method: 'internal.beta.event_queues.provision',
4132
- example: 'import os\nfrom stigg import Stigg\n\nclient = Stigg(\n api_key=os.environ.get("STIGG_API_KEY"), # This is the default and can be omitted\n)\nevent_queue_response = client.internal.beta.event_queues.provision(\n region="us-east-1",\n)\nprint(event_queue_response.data)',
4133
- },
4134
- java: {
4135
- method: 'internal_().beta().eventQueues().provision',
4136
- example: 'package io.stigg.example;\n\nimport io.stigg.client.StiggClient;\nimport io.stigg.client.okhttp.StiggOkHttpClient;\nimport io.stigg.models.internal_.beta.eventqueues.EventQueueProvisionParams;\nimport io.stigg.models.internal_.beta.eventqueues.EventQueueResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StiggClient client = StiggOkHttpClient.fromEnv();\n\n EventQueueProvisionParams params = EventQueueProvisionParams.builder()\n .region(EventQueueProvisionParams.Region.US_EAST_1)\n .build();\n EventQueueResponse eventQueueResponse = client.internal_().beta().eventQueues().provision(params);\n }\n}',
4137
- },
4138
- go: {
4139
- method: 'client.Internal.Beta.EventQueues.Provision',
4140
- example: 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stiggio/stigg-go"\n\t"github.com/stiggio/stigg-go/option"\n)\n\nfunc main() {\n\tclient := stigg.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\teventQueueResponse, err := client.Internal.Beta.EventQueues.Provision(context.TODO(), stigg.InternalBetaEventQueueProvisionParams{\n\t\tRegion: stigg.InternalBetaEventQueueProvisionParamsRegionUsEast1,\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", eventQueueResponse.Data)\n}\n',
4141
- },
4142
- ruby: {
4143
- method: 'internal.beta.event_queues.provision',
4144
- example: 'require "stigg"\n\nstigg = Stigg::Client.new(api_key: "My API Key")\n\nevent_queue_response = stigg.internal.beta.event_queues.provision(region: :"us-east-1")\n\nputs(event_queue_response)',
4145
- },
4146
- cli: {
4147
- method: 'event_queues provision',
4148
- example: "stigg internal:beta:event-queues provision \\\n --api-key 'My API Key' \\\n --region us-east-1",
4149
- },
4150
- csharp: {
4151
- method: 'Internal.Beta.EventQueues.Provision',
4152
- example: 'EventQueueProvisionParams parameters = new() { Region = Region.UsEast1 };\n\nvar eventQueueResponse = await client.Internal.Beta.EventQueues.Provision(parameters);\n\nConsole.WriteLine(eventQueueResponse);',
4153
- },
4154
- http: {
4155
- example: 'curl https://api.stigg.io/internal/beta/event-queues/provision \\\n -H \'Content-Type: application/json\' \\\n -H "X-API-KEY: $STIGG_API_KEY" \\\n -d \'{\n "region": "us-east-1"\n }\'',
4156
- },
4157
- },
4158
- },
4159
- {
4160
- name: 'list',
4161
- endpoint: '/internal/beta/event-queues',
4162
- httpMethod: 'get',
4163
- summary: 'Get a list of event queues',
4164
- description: 'List all event queues for the current environment',
4165
- stainlessPath: '(resource) internal.beta.event_queues > (method) list',
4166
- qualified: 'client.internal.beta.eventQueues.list',
4167
- response: "{ data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }[]; pagination: { next: string; prev: string; }; }",
4168
- markdown: "## list\n\n`client.internal.beta.eventQueues.list(): { data: object[]; pagination: object; }`\n\n**get** `/internal/beta/event-queues`\n\nList all event queues for the current environment\n\n### Returns\n\n- `{ data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }[]; pagination: { next: string; prev: string; }; }`\n Response list object\n\n - `data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }[]`\n - `pagination: { next: string; prev: string; }`\n\n### Example\n\n```typescript\nimport Stigg from '@stigg/typescript';\n\nconst client = new Stigg();\n\nconst eventQueues = await client.internal.beta.eventQueues.list();\n\nconsole.log(eventQueues);\n```",
4169
- perLanguage: {
4170
- typescript: {
4171
- method: 'client.internal.beta.eventQueues.list',
4172
- example: "import Stigg from '@stigg/typescript';\n\nconst client = new Stigg({\n apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted\n});\n\nconst eventQueues = await client.internal.beta.eventQueues.list();\n\nconsole.log(eventQueues.data);",
4173
- },
4174
- python: {
4175
- method: 'internal.beta.event_queues.list',
4176
- example: 'import os\nfrom stigg import Stigg\n\nclient = Stigg(\n api_key=os.environ.get("STIGG_API_KEY"), # This is the default and can be omitted\n)\nevent_queues = client.internal.beta.event_queues.list()\nprint(event_queues.data)',
4177
- },
4178
- java: {
4179
- method: 'internal_().beta().eventQueues().list',
4180
- example: 'package io.stigg.example;\n\nimport io.stigg.client.StiggClient;\nimport io.stigg.client.okhttp.StiggOkHttpClient;\nimport io.stigg.models.internal_.beta.eventqueues.EventQueueListParams;\nimport io.stigg.models.internal_.beta.eventqueues.EventQueueListResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StiggClient client = StiggOkHttpClient.fromEnv();\n\n EventQueueListResponse eventQueues = client.internal_().beta().eventQueues().list();\n }\n}',
4181
- },
4182
- go: {
4183
- method: 'client.Internal.Beta.EventQueues.List',
4184
- example: 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stiggio/stigg-go"\n\t"github.com/stiggio/stigg-go/option"\n)\n\nfunc main() {\n\tclient := stigg.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\teventQueues, err := client.Internal.Beta.EventQueues.List(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", eventQueues.Data)\n}\n',
4185
- },
4186
- ruby: {
4187
- method: 'internal.beta.event_queues.list',
4188
- example: 'require "stigg"\n\nstigg = Stigg::Client.new(api_key: "My API Key")\n\nevent_queues = stigg.internal.beta.event_queues.list\n\nputs(event_queues)',
4189
- },
4190
- cli: {
4191
- method: 'event_queues list',
4192
- example: "stigg internal:beta:event-queues list \\\n --api-key 'My API Key'",
4193
- },
4194
- csharp: {
4195
- method: 'Internal.Beta.EventQueues.List',
4196
- example: 'EventQueueListParams parameters = new();\n\nvar eventQueues = await client.Internal.Beta.EventQueues.List(parameters);\n\nConsole.WriteLine(eventQueues);',
4197
- },
4198
- http: {
4199
- example: 'curl https://api.stigg.io/internal/beta/event-queues \\\n -H "X-API-KEY: $STIGG_API_KEY"',
4200
- },
4201
- },
4202
- },
4203
- {
4204
- name: 'retrieve',
4205
- endpoint: '/internal/beta/event-queues/{queueName}',
4206
- httpMethod: 'get',
4207
- summary: 'Get a single event queue by ID',
4208
- description: 'Get event queue by queue name',
4209
- stainlessPath: '(resource) internal.beta.event_queues > (method) retrieve',
4210
- qualified: 'client.internal.beta.eventQueues.retrieve',
4211
- params: ['queueName: string;'],
4212
- response: "{ data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }; }",
4213
- markdown: "## retrieve\n\n`client.internal.beta.eventQueues.retrieve(queueName: string): { data: object; }`\n\n**get** `/internal/beta/event-queues/{queueName}`\n\nGet event queue by queue name\n\n### Parameters\n\n- `queueName: string`\n\n### Returns\n\n- `{ data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }; }`\n Response object\n\n - `data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }`\n\n### Example\n\n```typescript\nimport Stigg from '@stigg/typescript';\n\nconst client = new Stigg();\n\nconst eventQueueResponse = await client.internal.beta.eventQueues.retrieve('x');\n\nconsole.log(eventQueueResponse);\n```",
4214
- perLanguage: {
4215
- typescript: {
4216
- method: 'client.internal.beta.eventQueues.retrieve',
4217
- example: "import Stigg from '@stigg/typescript';\n\nconst client = new Stigg({\n apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted\n});\n\nconst eventQueueResponse = await client.internal.beta.eventQueues.retrieve('x');\n\nconsole.log(eventQueueResponse.data);",
4218
- },
4219
- python: {
4220
- method: 'internal.beta.event_queues.retrieve',
4221
- example: 'import os\nfrom stigg import Stigg\n\nclient = Stigg(\n api_key=os.environ.get("STIGG_API_KEY"), # This is the default and can be omitted\n)\nevent_queue_response = client.internal.beta.event_queues.retrieve(\n "x",\n)\nprint(event_queue_response.data)',
4222
- },
4223
- java: {
4224
- method: 'internal_().beta().eventQueues().retrieve',
4225
- example: 'package io.stigg.example;\n\nimport io.stigg.client.StiggClient;\nimport io.stigg.client.okhttp.StiggOkHttpClient;\nimport io.stigg.models.internal_.beta.eventqueues.EventQueueResponse;\nimport io.stigg.models.internal_.beta.eventqueues.EventQueueRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StiggClient client = StiggOkHttpClient.fromEnv();\n\n EventQueueResponse eventQueueResponse = client.internal_().beta().eventQueues().retrieve("x");\n }\n}',
4226
- },
4227
- go: {
4228
- method: 'client.Internal.Beta.EventQueues.Get',
4229
- example: 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stiggio/stigg-go"\n\t"github.com/stiggio/stigg-go/option"\n)\n\nfunc main() {\n\tclient := stigg.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\teventQueueResponse, err := client.Internal.Beta.EventQueues.Get(context.TODO(), "x")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", eventQueueResponse.Data)\n}\n',
4230
- },
4231
- ruby: {
4232
- method: 'internal.beta.event_queues.retrieve',
4233
- example: 'require "stigg"\n\nstigg = Stigg::Client.new(api_key: "My API Key")\n\nevent_queue_response = stigg.internal.beta.event_queues.retrieve("x")\n\nputs(event_queue_response)',
4234
- },
4235
- cli: {
4236
- method: 'event_queues retrieve',
4237
- example: "stigg internal:beta:event-queues retrieve \\\n --api-key 'My API Key' \\\n --queue-name x",
4238
- },
4239
- csharp: {
4240
- method: 'Internal.Beta.EventQueues.Retrieve',
4241
- example: 'EventQueueRetrieveParams parameters = new() { QueueName = "x" };\n\nvar eventQueueResponse = await client.Internal.Beta.EventQueues.Retrieve(parameters);\n\nConsole.WriteLine(eventQueueResponse);',
4242
- },
4243
- http: {
4244
- example: 'curl https://api.stigg.io/internal/beta/event-queues/$QUEUE_NAME \\\n -H "X-API-KEY: $STIGG_API_KEY"',
4245
- },
4246
- },
4247
- },
4248
- {
4249
- name: 'update',
4250
- endpoint: '/internal/beta/event-queues/{queueName}',
4251
- httpMethod: 'patch',
4252
- summary: 'Update a event queue',
4253
- description: 'Update event queue configuration',
4254
- stainlessPath: '(resource) internal.beta.event_queues > (method) update',
4255
- qualified: 'client.internal.beta.eventQueues.update',
4256
- params: [
4257
- 'queueName: string;',
4258
- 'allowedAssumeRoleArns?: string[];',
4259
- 'createLowPriorityQueues?: boolean;',
4260
- 'eventTypes?: string[];',
4261
- ],
4262
- response: "{ data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }; }",
4263
- markdown: "## update\n\n`client.internal.beta.eventQueues.update(queueName: string, allowedAssumeRoleArns?: string[], createLowPriorityQueues?: boolean, eventTypes?: string[]): { data: object; }`\n\n**patch** `/internal/beta/event-queues/{queueName}`\n\nUpdate event queue configuration\n\n### Parameters\n\n- `queueName: string`\n\n- `allowedAssumeRoleArns?: string[]`\n\n- `createLowPriorityQueues?: boolean`\n Whether to create separate low-priority queues for standard topic events\n\n- `eventTypes?: string[]`\n\n### Returns\n\n- `{ data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }; }`\n Response object\n\n - `data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }`\n\n### Example\n\n```typescript\nimport Stigg from '@stigg/typescript';\n\nconst client = new Stigg();\n\nconst eventQueueResponse = await client.internal.beta.eventQueues.update('x');\n\nconsole.log(eventQueueResponse);\n```",
4264
- perLanguage: {
4265
- typescript: {
4266
- method: 'client.internal.beta.eventQueues.update',
4267
- example: "import Stigg from '@stigg/typescript';\n\nconst client = new Stigg({\n apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted\n});\n\nconst eventQueueResponse = await client.internal.beta.eventQueues.update('x');\n\nconsole.log(eventQueueResponse.data);",
4268
- },
4269
- python: {
4270
- method: 'internal.beta.event_queues.update',
4271
- example: 'import os\nfrom stigg import Stigg\n\nclient = Stigg(\n api_key=os.environ.get("STIGG_API_KEY"), # This is the default and can be omitted\n)\nevent_queue_response = client.internal.beta.event_queues.update(\n queue_name="x",\n)\nprint(event_queue_response.data)',
4272
- },
4273
- java: {
4274
- method: 'internal_().beta().eventQueues().update',
4275
- example: 'package io.stigg.example;\n\nimport io.stigg.client.StiggClient;\nimport io.stigg.client.okhttp.StiggOkHttpClient;\nimport io.stigg.models.internal_.beta.eventqueues.EventQueueResponse;\nimport io.stigg.models.internal_.beta.eventqueues.EventQueueUpdateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StiggClient client = StiggOkHttpClient.fromEnv();\n\n EventQueueResponse eventQueueResponse = client.internal_().beta().eventQueues().update("x");\n }\n}',
4276
- },
4277
- go: {
4278
- method: 'client.Internal.Beta.EventQueues.Update',
4279
- example: 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stiggio/stigg-go"\n\t"github.com/stiggio/stigg-go/option"\n)\n\nfunc main() {\n\tclient := stigg.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\teventQueueResponse, err := client.Internal.Beta.EventQueues.Update(\n\t\tcontext.TODO(),\n\t\t"x",\n\t\tstigg.InternalBetaEventQueueUpdateParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", eventQueueResponse.Data)\n}\n',
4280
- },
4281
- ruby: {
4282
- method: 'internal.beta.event_queues.update',
4283
- example: 'require "stigg"\n\nstigg = Stigg::Client.new(api_key: "My API Key")\n\nevent_queue_response = stigg.internal.beta.event_queues.update("x")\n\nputs(event_queue_response)',
4284
- },
4285
- cli: {
4286
- method: 'event_queues update',
4287
- example: "stigg internal:beta:event-queues update \\\n --api-key 'My API Key' \\\n --queue-name x",
4288
- },
4289
- csharp: {
4290
- method: 'Internal.Beta.EventQueues.Update',
4291
- example: 'EventQueueUpdateParams parameters = new() { QueueName = "x" };\n\nvar eventQueueResponse = await client.Internal.Beta.EventQueues.Update(parameters);\n\nConsole.WriteLine(eventQueueResponse);',
4292
- },
4293
- http: {
4294
- example: "curl https://api.stigg.io/internal/beta/event-queues/$QUEUE_NAME \\\n -X PATCH \\\n -H 'Content-Type: application/json' \\\n -H \"X-API-KEY: $STIGG_API_KEY\" \\\n -d '{}'",
4295
- },
4296
- },
4297
- },
4298
- {
4299
- name: 'delete',
4300
- endpoint: '/internal/beta/event-queues/{queueName}',
4301
- httpMethod: 'delete',
4302
- summary: 'Delete event queue',
4303
- description: 'Delete an event queue and tear down its infrastructure',
4304
- stainlessPath: '(resource) internal.beta.event_queues > (method) delete',
4305
- qualified: 'client.internal.beta.eventQueues.delete',
4306
- params: ['queueName: string;'],
4307
- response: "{ data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }; }",
4308
- markdown: "## delete\n\n`client.internal.beta.eventQueues.delete(queueName: string): { data: object; }`\n\n**delete** `/internal/beta/event-queues/{queueName}`\n\nDelete an event queue and tear down its infrastructure\n\n### Parameters\n\n- `queueName: string`\n\n### Returns\n\n- `{ data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }; }`\n Response object\n\n - `data: { createdAt: string; queueName: string; region: string; status: 'PROVISIONING' | 'ACTIVE' | 'FAILED' | 'DEPROVISIONING'; updatedAt: string; queueUrl?: string; roleArn?: string; suffix?: string; }`\n\n### Example\n\n```typescript\nimport Stigg from '@stigg/typescript';\n\nconst client = new Stigg();\n\nconst eventQueueResponse = await client.internal.beta.eventQueues.delete('x');\n\nconsole.log(eventQueueResponse);\n```",
4309
- perLanguage: {
4310
- typescript: {
4311
- method: 'client.internal.beta.eventQueues.delete',
4312
- example: "import Stigg from '@stigg/typescript';\n\nconst client = new Stigg({\n apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted\n});\n\nconst eventQueueResponse = await client.internal.beta.eventQueues.delete('x');\n\nconsole.log(eventQueueResponse.data);",
4313
- },
4314
- python: {
4315
- method: 'internal.beta.event_queues.delete',
4316
- example: 'import os\nfrom stigg import Stigg\n\nclient = Stigg(\n api_key=os.environ.get("STIGG_API_KEY"), # This is the default and can be omitted\n)\nevent_queue_response = client.internal.beta.event_queues.delete(\n "x",\n)\nprint(event_queue_response.data)',
4317
- },
4318
- java: {
4319
- method: 'internal_().beta().eventQueues().delete',
4320
- example: 'package io.stigg.example;\n\nimport io.stigg.client.StiggClient;\nimport io.stigg.client.okhttp.StiggOkHttpClient;\nimport io.stigg.models.internal_.beta.eventqueues.EventQueueDeleteParams;\nimport io.stigg.models.internal_.beta.eventqueues.EventQueueResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StiggClient client = StiggOkHttpClient.fromEnv();\n\n EventQueueResponse eventQueueResponse = client.internal_().beta().eventQueues().delete("x");\n }\n}',
4321
- },
4322
- go: {
4323
- method: 'client.Internal.Beta.EventQueues.Delete',
4324
- example: 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stiggio/stigg-go"\n\t"github.com/stiggio/stigg-go/option"\n)\n\nfunc main() {\n\tclient := stigg.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\teventQueueResponse, err := client.Internal.Beta.EventQueues.Delete(context.TODO(), "x")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", eventQueueResponse.Data)\n}\n',
4325
- },
4326
- ruby: {
4327
- method: 'internal.beta.event_queues.delete',
4328
- example: 'require "stigg"\n\nstigg = Stigg::Client.new(api_key: "My API Key")\n\nevent_queue_response = stigg.internal.beta.event_queues.delete("x")\n\nputs(event_queue_response)',
4329
- },
4330
- cli: {
4331
- method: 'event_queues delete',
4332
- example: "stigg internal:beta:event-queues delete \\\n --api-key 'My API Key' \\\n --queue-name x",
4333
- },
4334
- csharp: {
4335
- method: 'Internal.Beta.EventQueues.Delete',
4336
- example: 'EventQueueDeleteParams parameters = new() { QueueName = "x" };\n\nvar eventQueueResponse = await client.Internal.Beta.EventQueues.Delete(parameters);\n\nConsole.WriteLine(eventQueueResponse);',
4337
- },
4338
- http: {
4339
- example: 'curl https://api.stigg.io/internal/beta/event-queues/$QUEUE_NAME \\\n -X DELETE \\\n -H "X-API-KEY: $STIGG_API_KEY"',
4340
- },
4341
- },
4342
- },
4343
4108
  ];
4344
4109
  const EMBEDDED_READMES = [
4345
4110
  {