@cycleplatform/api-client-typescript 0.1.2 → 0.1.4

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.
package/package.json CHANGED
@@ -1,16 +1,24 @@
1
1
  {
2
2
  "name": "@cycleplatform/api-client-typescript",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "A Cycle API client for the web/nodejs",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.umd.js",
5
+ "main": "./dist/index.umd.cjs",
6
+ "module": "./dist/index.js",
7
+ "type": "module",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "require": "./dist/index.umd.cjs"
12
+ }
13
+ },
7
14
  "types": "./src/index.ts",
8
15
  "scripts": {
9
16
  "test": "vitest",
10
17
  "test:ts": "tsc --noEmit",
11
18
  "build:spec": "(cd api-spec; npm run build:public && npm run build:internal)",
12
19
  "build:client": "npm run build:spec && npx openapi-typescript ./api-spec/dist/public-api.yml --output ./src/generated/types.ts",
13
- "build:lib": "npm run build:client && vite build"
20
+ "build:lib": "npm run build:client && vite build",
21
+ "prepublishOnly": "npm run build:lib"
14
22
  },
15
23
  "repository": {
16
24
  "type": "git",
@@ -7211,11 +7211,7 @@ export interface components {
7211
7211
  parameters: {
7212
7212
  /** @description An array of sort values. To sort descending, put a `-` in front of the value, e.g. `-id`. */
7213
7213
  SortParam?: (string)[];
7214
- FilterParam?: {
7215
- [key: string]: (OneOf<[string, (string)[], {
7216
- [key: string]: string | undefined;
7217
- }]>) | undefined;
7218
- };
7214
+ FilterParam?: Record<string, never>;
7219
7215
  /** @description In a list return, the data associated with the page number and size returned. 20 results per page, page 2 would be `page[size]=20&page[number]=2` */
7220
7216
  PageParam?: {
7221
7217
  /** @description The page to jump to */
@@ -8090,22 +8086,16 @@ export interface operations {
8090
8086
  /**
8091
8087
  * @description ## Filter Field
8092
8088
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
8093
- *
8094
- * ## Possible Values
8095
- * ### Identifier
8096
- * `filter[identifier]=value` List only those environments matching this identifier. May return multiple results.
8097
- *
8098
- * ### Search
8099
- * `filter[search]=value` search for a value associated with a field on the given environment(s).
8100
- *
8101
- * ### State
8102
- * `filter[state]=value1,value2` state filtering will allow you to filter by the environment's current state.
8103
- *
8104
- * ### Stack Build
8105
- * `filter[stack_build]=ID` stack build filtering by ID. Submit the ID of the stack build you wish to filter for and the return sill be any environments that have the stack build deployed to them.
8106
8089
  */
8107
8090
  filter?: {
8108
- [key: string]: (string | (string)[]) | undefined;
8091
+ /** @description `filter[identifier]=value` List only those environments matching this identifier. May return multiple results. */
8092
+ identifier?: string;
8093
+ /** @description `filter[search]=value` search for a value associated with a field on the given environment(s). */
8094
+ search?: string;
8095
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the environment's current state. */
8096
+ state?: string;
8097
+ /** @description `filter[stack_build]=ID` stack build filtering by ID. Submit the ID of the stack build you wish to filter for and the return sill be any environments that have the stack build deployed to them. */
8098
+ stack_build?: string;
8109
8099
  };
8110
8100
  sort?: components["parameters"]["SortParam"];
8111
8101
  page?: components["parameters"]["PageParam"];
@@ -8622,13 +8612,12 @@ export interface operations {
8622
8612
  /**
8623
8613
  * @description ## Filter Field
8624
8614
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
8625
- *
8626
- * ## Possible Values
8627
- * ### Range
8628
- * `filter[range-start]=timestamp&filter[range-end]=timestamp` filter by range giving two times a `start` time and an `end` time. Date format `2023-03-07T14:55:17-08:00`.
8629
8615
  */
8630
8616
  filter?: {
8631
- [key: string]: (string | (string)[]) | undefined;
8617
+ /** @description The start date from when to pull instance telemetry data */
8618
+ "range-start"?: components["schemas"]["DateTime"];
8619
+ /** @description The end date from when to pull instance telemetry data */
8620
+ "range-end"?: components["schemas"]["DateTime"];
8632
8621
  };
8633
8622
  };
8634
8623
  path: {
@@ -8658,16 +8647,14 @@ export interface operations {
8658
8647
  /**
8659
8648
  * @description ## Filter Field
8660
8649
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
8661
- *
8662
- * ## Possible Values
8663
- * ### Search
8664
- * `filter[search]=value` search for a value associated with a field on the given scoped variable(s).
8665
- *
8666
- * ### State
8667
- * `filter[state]=value1,value2` state filtering will allow you to filter by the scoped variable's current state.
8668
8650
  */
8669
8651
  filter?: {
8670
- [key: string]: (string | (string)[]) | undefined;
8652
+ /** @description `filter[identifier]=value` List only those environments matching this identifier. May return multiple results. */
8653
+ identifier?: string;
8654
+ /** @description `filter[search]=value` search for a value associated with a field on the given scoped variable(s). */
8655
+ search?: string;
8656
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the scoped variable's current state. */
8657
+ state?: string;
8671
8658
  };
8672
8659
  sort?: components["parameters"]["SortParam"];
8673
8660
  page?: components["parameters"]["PageParam"];
@@ -8839,37 +8826,26 @@ export interface operations {
8839
8826
  /**
8840
8827
  * @description ## Filter Field
8841
8828
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
8842
- *
8843
- * ## Possible Values
8844
- * ### Identifier
8845
- * `filter[identifier]=value` List only those containers matching this identifier. May return multiple results.
8846
- *
8847
- * ### Search
8848
- * `filter[search]=value` search containers for a value associated with a field on the given container(s).
8849
- *
8850
- * ### State
8851
- * `filter[state]=value1,value2` state filtering will allow you to filter by the container's current state.
8852
- *
8853
- * ### Service
8854
- * `filter[service]=value` service filtering will allow you to filter by service type: `loadbalancer`, `discovery`, `vpn`.
8855
- *
8856
- * ### Public Network
8857
- * `filter[public_network]=value` public network filtering will allow you to filter by the containers network settings: `enabled`, `disabled`, `egress-only`.
8858
- *
8859
- * ### Image
8860
- * `filter[image]=ID` image filtering by ID. Submit the ID of the image you wish to filter for and the return will be any containers currently using the image.
8861
- *
8862
- * ### Environment
8863
- * `filter[environment]=ID` environment filtering by ID. Submit the ID of the environment you wish to filter for and the return will be any containers in that environment.
8864
- *
8865
- * ### Tags
8866
- * `filter[tags]=tagone,tagtwo,tagthree` container filtering using server tags. If the container has the tags you submit it will be part of the return.
8867
- *
8868
- * ### Stacks
8869
- * `filter[stack]=ID` stack filtering by ID. Submit the ID of the stack you wish to filter for and the return will be any containers deployed associated with 'containers' from the stack.
8870
8829
  */
8871
8830
  filter?: {
8872
- [key: string]: (string | (string)[]) | undefined;
8831
+ /** @description `filter[identifier]=value` List only those containers matching this identifier. May return multiple results. */
8832
+ identifier?: string;
8833
+ /** @description `filter[search]=value` search containers for a value associated with a field on the given container(s). */
8834
+ search?: string;
8835
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the container's current state. */
8836
+ state?: string;
8837
+ /** @description `filter[service]=value` service filtering will allow you to filter by service type: `loadbalancer`, `discovery`, `vpn`. */
8838
+ service?: string;
8839
+ /** @description `filter[public_network]=value` public network filtering will allow you to filter by the containers network settings: `enabled`, `disabled`, `egress-only`. */
8840
+ public_network?: string;
8841
+ /** @description `filter[image]=ID` image filtering by ID. Submit the ID of the image you wish to filter for and the return will be any containers currently using the image. */
8842
+ image?: string;
8843
+ /** @description `filter[environment]=ID` environment filtering by ID. Submit the ID of the environment you wish to filter for and the return will be any containers in that environment. */
8844
+ environment?: string;
8845
+ /** @description `filter[tags]=tagone,tagtwo,tagthree` container filtering using server tags. If the container has the tags you submit it will be part of the return. */
8846
+ tags?: string;
8847
+ /** @description `filter[stack]=ID` stack filtering by ID. Submit the ID of the stack you wish to filter for and the return will be any containers deployed associated with 'containers' from the stack. */
8848
+ stack?: string;
8873
8849
  };
8874
8850
  sort?: components["parameters"]["SortParam"];
8875
8851
  page?: components["parameters"]["PageParam"];
@@ -9084,19 +9060,14 @@ export interface operations {
9084
9060
  /**
9085
9061
  * @description ## Filter Field
9086
9062
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
9087
- *
9088
- * ## Possible Values
9089
- * ### State
9090
- * `filter[state]=value1,value2` state filtering will allow you to filter by the instance's current state.
9091
- *
9092
- * ### Search
9093
- * `filter[search]=value` search instances for a value associated with a field on the given instance(s).
9094
- *
9095
- * ### Server
9096
- * `filter[server]=ID` server filtering by ID. Submit the ID of the server you wish to filter for and the return will be any instances of the container currently deployed to the given server.
9097
9063
  */
9098
9064
  filter?: {
9099
- [key: string]: (string | (string)[]) | undefined;
9065
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the instance's current state. */
9066
+ state?: string;
9067
+ /** @description `filter[search]=value` search instances for a value associated with a field on the given instance(s). */
9068
+ search?: string;
9069
+ /** @description `filter[server]=ID` server filtering by ID. Submit the ID of the server you wish to filter for and the return will be any instances of the container currently deployed to the given server. */
9070
+ server?: string;
9100
9071
  };
9101
9072
  sort?: components["parameters"]["SortParam"];
9102
9073
  page?: components["parameters"]["PageParam"];
@@ -9355,13 +9326,12 @@ export interface operations {
9355
9326
  /**
9356
9327
  * @description ## Filter Field
9357
9328
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
9358
- *
9359
- * ## Possible Values
9360
- * ### Range
9361
- * `filter[range-start]=timestamp&filter[range-end]=timestamp` filter by range giving two times a `start` time and an `end` time. Date format `2023-03-07T14:55:17-08:00`
9362
9329
  */
9363
9330
  filter?: {
9364
- [key: string]: (string | (string)[]) | undefined;
9331
+ /** @description The start date from when to pull instance telemetry data */
9332
+ "range-start"?: components["schemas"]["DateTime"];
9333
+ /** @description The end date from when to pull instance telemetry data */
9334
+ "range-end"?: components["schemas"]["DateTime"];
9365
9335
  };
9366
9336
  };
9367
9337
  path: {
@@ -9625,13 +9595,12 @@ export interface operations {
9625
9595
  /**
9626
9596
  * @description ## Filter Field
9627
9597
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
9628
- *
9629
- * ## Possible Values
9630
- * ### Range
9631
- * `filter[range-start]=timestamp&filter[range-end]=timestamp` filter by range giving two times a `start` time and an `end` time. Date format `2023-03-07T14:55:17-08:00`.
9632
9598
  */
9633
9599
  filter?: {
9634
- [key: string]: (string | (string)[]) | undefined;
9600
+ /** @description The start date from when to pull instance telemetry data */
9601
+ "range-start"?: components["schemas"]["DateTime"];
9602
+ /** @description The end date from when to pull instance telemetry data */
9603
+ "range-end"?: components["schemas"]["DateTime"];
9635
9604
  };
9636
9605
  };
9637
9606
  path: {
@@ -9663,13 +9632,10 @@ export interface operations {
9663
9632
  /**
9664
9633
  * @description ## Filter Field
9665
9634
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
9666
- *
9667
- * ## Possible Values
9668
- * ### State
9669
- * `filter[state]=value1,value2` state filtering will allow you to filter by the DNS zone's current state.
9670
9635
  */
9671
9636
  filter?: {
9672
- [key: string]: (string | (string)[]) | undefined;
9637
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the DNS zone's current state. */
9638
+ state?: string;
9673
9639
  };
9674
9640
  sort?: components["parameters"]["SortParam"];
9675
9641
  page?: components["parameters"]["PageParam"];
@@ -9846,13 +9812,10 @@ export interface operations {
9846
9812
  /**
9847
9813
  * @description ## Filter Field
9848
9814
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
9849
- *
9850
- * ## Possible Values
9851
- * ### State
9852
- * `filter[state]=value1,value2` state filtering will allow you to filter by the record's current state.
9853
9815
  */
9854
9816
  filter?: {
9855
- [key: string]: (string | (string)[]) | undefined;
9817
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the DNS record's current state. */
9818
+ state?: string;
9856
9819
  };
9857
9820
  sort?: components["parameters"]["SortParam"];
9858
9821
  page?: components["parameters"]["PageParam"];
@@ -10013,13 +9976,10 @@ export interface operations {
10013
9976
  /**
10014
9977
  * @description ## Filter Field
10015
9978
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
10016
- *
10017
- * ## Possible Values
10018
- * ### Domain
10019
- * `filter[domain]=value` filter the return for TLS attempts by domain.
10020
9979
  */
10021
9980
  filter?: {
10022
- [key: string]: (string | (string)[]) | undefined;
9981
+ /** @description `filter[domain]=value` filter the return for TLS attempts by domain. */
9982
+ domain?: string;
10023
9983
  };
10024
9984
  sort?: components["parameters"]["SortParam"];
10025
9985
  page?: components["parameters"]["PageParam"];
@@ -10072,19 +10032,14 @@ export interface operations {
10072
10032
  /**
10073
10033
  * @description ## Filter Field
10074
10034
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
10075
- *
10076
- * ## Possible Values
10077
- * ### Identifier
10078
- * `filter[identifier]=value` List only those hubs matching this identifier. May return multiple results.
10079
- *
10080
- * ### Search
10081
- * `filter[search]=value` search hubs for a value associated with a field on the given hub(s).
10082
- *
10083
- * ### State
10084
- * `filter[state]=value1,value2` state filtering will allow you to filter by the hub's current state.
10085
10035
  */
10086
10036
  filter?: {
10087
- [key: string]: (string | (string)[]) | undefined;
10037
+ /** @description `filter[identifier]=value` List only those environments matching this identifier. May return multiple results. */
10038
+ identifier?: string;
10039
+ /** @description `filter[search]=value` search hubs for a value associated with a field on the given hub(s). */
10040
+ search?: string;
10041
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the hub's current state. */
10042
+ state?: string;
10088
10043
  };
10089
10044
  };
10090
10045
  };
@@ -10217,41 +10172,31 @@ export interface operations {
10217
10172
  /**
10218
10173
  * @description ## Filter Field
10219
10174
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
10220
- *
10221
- * ## Possible Values
10222
- * ### Search
10223
- * `filter[search]=value` search activities for a value associated with a field on the given activity(s).
10224
- *
10225
- * ### State
10226
- * `filter[state]=value1,value2` state filtering will allow you to filter by the activity's current state.
10227
- *
10228
- * ### User
10229
- * `filter[user]=ID` user filtering by ID. Submit the ID of the user you wish to filter for and the return will be any activity from that user.
10230
- *
10231
- * ### Environment
10232
- * `filter[environment]=ID` environment filtering by ID. Submit the ID of the environment you wish to filter for and the return will be any activity from that environment.
10233
- *
10234
- * ### container
10235
- * `filter[container]=ID` container filtering by ID. Submit the ID of the container you wish to filter for and the return will be any activity from that container.
10236
- *
10237
- * ### Instance
10238
- * `filter[instance]=ID` instance filtering by ID. Submit the ID of the instance you wish to filter for and the return will be any activity from that instance.
10239
- *
10240
- * ### Server
10241
- * `filter[server]=ID` server filtering by ID. Submit the ID of the server you wish to filter for and the return will be any activity from that server.
10242
- *
10243
- * ### Event
10244
- * `filter[event]=value` filter by event occurrence. Example: `filter[event]=environment.services.vpn.login`
10245
- *
10246
- * ### Verbosity
10247
- * `filter[verbosity]=integer` filter the activity return by verbosity. The verbosity can be:
10248
- *
10249
- * `0` - Activity that users would find useful.
10250
- * `1` - Activity that can be useful when tracking down how something happened.
10251
- * `2` - Full activity, can be useful in debugging problems.
10252
10175
  */
10253
10176
  filter?: {
10254
- [key: string]: (string | (string)[]) | undefined;
10177
+ /** @description `filter[search]=value` search activities for a value associated with a field on the given activity(s). */
10178
+ search?: string;
10179
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the activity's current state. */
10180
+ state?: string;
10181
+ /** @description `filter[user]=ID` user filtering by ID. Submit the ID of the user you wish to filter for and the return will be any activity from that user. */
10182
+ user?: string;
10183
+ /** @description `filter[environment]=ID` environment filtering by ID. Submit the ID of the environment you wish to filter for and the return will be any activity from that environment. */
10184
+ environment?: string;
10185
+ /** @description `filter[container]=ID` container filtering by ID. Submit the ID of the container you wish to filter for and the return will be any activity from that container. */
10186
+ container?: string;
10187
+ /** @description `filter[instance]=ID` instance filtering by ID. Submit the ID of the instance you wish to filter for and the return will be any activity from that instance. */
10188
+ instance?: string;
10189
+ /** @description `filter[server]=ID` server filtering by ID. Submit the ID of the server you wish to filter for and the return will be any activity from that server. */
10190
+ server?: string;
10191
+ /** @description `filter[event]=value` filter by event occurrence. Example: `filter[event]=environment.services.vpn.login` */
10192
+ event?: string;
10193
+ /**
10194
+ * @description `filter[verbosity]=integer` filter the activity return by verbosity. The verbosity can be:
10195
+ * `0` - Activity that users would find useful.
10196
+ * `1` - Activity that can be useful when tracking down how something happened.
10197
+ * `2` - Full activity, can be useful in debugging problems.
10198
+ */
10199
+ verbosity?: number;
10255
10200
  };
10256
10201
  sort?: components["parameters"]["SortParam"];
10257
10202
  page?: components["parameters"]["PageParam"];
@@ -10723,22 +10668,18 @@ export interface operations {
10723
10668
  /**
10724
10669
  * @description ## Filter Field
10725
10670
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
10726
- *
10727
- * ## Possible Values
10728
- * ### Search
10729
- * `filter[search]=value` search for a value associated with a field on the given image(s).
10730
- *
10731
- * ### State
10732
- * `filter[state]=value1,value2` state filtering will allow you to filter by the image's current state.
10733
- *
10734
- * ### Source Type
10735
- * `filter[source_type]=value` filter images by the image source's type. Can be: `direct` or `stack_build`
10736
- *
10737
- * ### Source
10738
- * `filter[source_id]=ID` image filtering by source ID. Submit the ID of the image source you wish to filter for and the return will be any images created from that source.
10739
10671
  */
10740
10672
  filter?: {
10741
- [key: string]: (string | (string)[]) | undefined;
10673
+ /** @description `filter[identifier]=value` List only those images matching this identifier. May return multiple results. */
10674
+ identifier?: string;
10675
+ /** @description `filter[search]=value` search for a value associated with a field on the given image(s). */
10676
+ search?: string;
10677
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the image's current state. */
10678
+ state?: string;
10679
+ /** @description `filter[source_type]=value` filter images by the image source's type. Can be: `direct` or `stack_build` */
10680
+ source_type?: string;
10681
+ /** @description `filter[source_id]=ID` image filtering by source ID. Submit the ID of the image source you wish to filter for and the return will be any images created from that source. */
10682
+ source_id?: string;
10742
10683
  };
10743
10684
  sort?: components["parameters"]["SortParam"];
10744
10685
  page?: components["parameters"]["PageParam"];
@@ -10987,19 +10928,14 @@ export interface operations {
10987
10928
  /**
10988
10929
  * @description ## Filter Field
10989
10930
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
10990
- *
10991
- * ## Possible Values
10992
- * ### Identifier
10993
- * `filter[identifier]=value` List only those image sources matching this identifier. May return multiple results.
10994
- *
10995
- * ### Search
10996
- * `filter[search]=value` search for a value associated with a field on the given image source(s).
10997
- *
10998
- * ### State
10999
- * `filter[state]=value1,value2` state filtering will allow you to filter by the image source's current state.
11000
10931
  */
11001
10932
  filter?: {
11002
- [key: string]: (string | (string)[]) | undefined;
10933
+ /** @description `filter[identifier]=value` List only those image sources matching this identifier. May return multiple results. */
10934
+ identifier?: string;
10935
+ /** @description `filter[search]=value` search for a value associated with a field on the given image source(s). */
10936
+ search?: string;
10937
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the image source's current state. */
10938
+ state?: string;
11003
10939
  };
11004
10940
  sort?: components["parameters"]["SortParam"];
11005
10941
  page?: components["parameters"]["PageParam"];
@@ -11157,13 +11093,10 @@ export interface operations {
11157
11093
  /**
11158
11094
  * @description ## Filter Field
11159
11095
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
11160
- *
11161
- * ## Possible Values
11162
- * ### Search
11163
- * `filter[cluster]=value` return an infrastructure summary only for the specified cluster.
11164
11096
  */
11165
11097
  filter?: {
11166
- [key: string]: (string | (string)[]) | undefined;
11098
+ /** @description `filter[cluster]=value` return an infrastructure summary only for the specified cluster. */
11099
+ cluster?: string;
11167
11100
  };
11168
11101
  };
11169
11102
  };
@@ -11191,13 +11124,10 @@ export interface operations {
11191
11124
  /**
11192
11125
  * @description ## Filter Field
11193
11126
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
11194
- *
11195
- * ## Possible Values
11196
- * ### Search
11197
- * `filter[search]=value` search for a value associated with a field on the given native provider(s).
11198
11127
  */
11199
11128
  filter?: {
11200
- [key: string]: (string | (string)[]) | undefined;
11129
+ /** @description `filter[search]=value` search for a value associated with a field on the given native provider(s). */
11130
+ search?: string;
11201
11131
  };
11202
11132
  sort?: components["parameters"]["SortParam"];
11203
11133
  page?: components["parameters"]["PageParam"];
@@ -11281,16 +11211,12 @@ export interface operations {
11281
11211
  /**
11282
11212
  * @description ## Filter Field
11283
11213
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
11284
- *
11285
- * ## Possible Values
11286
- * ### Search
11287
- * `filter[search]=value` search for a value associated with a field on the given provider(s).
11288
- *
11289
- * ### State
11290
- * `filter[state]=value1,value2` state filtering will allow you to filter by the provider's current state.
11291
11214
  */
11292
11215
  filter?: {
11293
- [key: string]: (string | (string)[]) | undefined;
11216
+ /** @description `filter[search]=value` search for a value associated with a field on the given provider(s). */
11217
+ search?: string;
11218
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the provider's current state. */
11219
+ state?: string;
11294
11220
  };
11295
11221
  sort?: components["parameters"]["SortParam"];
11296
11222
  page?: components["parameters"]["PageParam"];
@@ -11491,22 +11417,16 @@ export interface operations {
11491
11417
  /**
11492
11418
  * @description ## Filter Field
11493
11419
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
11494
- *
11495
- * ## Possible Values
11496
- * ### State
11497
- * `filter[state]=value1,value2` state filtering will allow you to filter by the provider's current state.
11498
- *
11499
- * ### Tags
11500
- * `filter[tags]=tagone,tagtwo,tagthree` filtering by server tag. Enter one or more tags (comma separated) and the return will include servers that match any tags in the list.
11501
- *
11502
- * ### Clusters
11503
- * `filter[clusters]=clusterone,clustertwo` filtering by cluster. Enter one or more clusters (commas separated) and the return will include servers that match any clusters in the list.
11504
- *
11505
- * ### Providers
11506
- * `filter[providers]=providerone,providertwo` filtering by provider. Enter one or more providers (commas separated) and the return will include servers that match any providers in the list.
11507
11420
  */
11508
11421
  filter?: {
11509
- [key: string]: (string | (string)[]) | undefined;
11422
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the provider's current state. */
11423
+ state?: string;
11424
+ /** @description `filter[tags]=tagone,tagtwo,tagthree` filtering by server tag. Enter one or more tags (comma separated) and the return will include servers that match any tags in the list. */
11425
+ tags?: string;
11426
+ /** @description `filter[clusters]=clusterone,clustertwo` filtering by cluster. Enter one or more clusters (commas separated) and the return will include servers that match any clusters in the list. */
11427
+ clusters?: string;
11428
+ /** @description `filter[providers]=providerone,providertwo` filtering by provider. Enter one or more providers (commas separated) and the return will include servers that match any providers in the list. */
11429
+ providers?: string;
11510
11430
  };
11511
11431
  sort?: components["parameters"]["SortParam"];
11512
11432
  page?: components["parameters"]["PageParam"];
@@ -11681,13 +11601,12 @@ export interface operations {
11681
11601
  /**
11682
11602
  * @description ## Filter Field
11683
11603
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
11684
- *
11685
- * ## Possible Values
11686
- * ### Range
11687
- * `filter[range-start]=timestamp&filter[range-end]=timestamp` filter by range giving two times a `start` time and an `end` time. Date format `2023-03-07T14:55:17-08:00`.
11688
11604
  */
11689
11605
  filter?: {
11690
- [key: string]: (string | (string)[]) | undefined;
11606
+ /** @description The start date from when to pull server telemetry data */
11607
+ "range-start"?: components["schemas"]["DateTime"];
11608
+ /** @description The end date from when to pull server telemetry data */
11609
+ "range-end"?: components["schemas"]["DateTime"];
11691
11610
  };
11692
11611
  sort?: components["parameters"]["SortParam"];
11693
11612
  page?: components["parameters"]["PageParam"];
@@ -11777,13 +11696,10 @@ export interface operations {
11777
11696
  /**
11778
11697
  * @description ## Filter Field
11779
11698
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
11780
- *
11781
- * ## Possible Values
11782
- * ### Cluster
11783
- * `filter[cluster]=clusterone,clustertwo` filtering by cluster. Enter one or more clusters (commas separated) and the return will include tags from servers that match any cluster(s) in the list.
11784
11699
  */
11785
11700
  filter?: {
11786
- [key: string]: (string | (string)[]) | undefined;
11701
+ /** @description `filter[cluster]=clusterone,clustertwo` filtering by cluster. Enter one or more clusters (commas separated) and the return will include tags from servers that match any cluster(s) in the list. */
11702
+ cluster?: string;
11787
11703
  };
11788
11704
  };
11789
11705
  };
@@ -11971,19 +11887,16 @@ export interface operations {
11971
11887
  /**
11972
11888
  * @description ## Filter Field
11973
11889
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
11974
- *
11975
- * ## Possible Values
11976
- * ### Range
11977
- * `filter[range-start]=timestamp&filter[range-end]=timestamp` filter by range giving two times a `start` time and an `end` time. Date format `2023-03-07T14:55:17-08:00`.
11978
- *
11979
- * ### Search
11980
- * `filter[search]=value` search jobs for a value associated with a field on the given job(s).
11981
- *
11982
- * ### State
11983
- * `filter[state]=value1,value2` state filtering will allow you to filter by the job's current state.
11984
11890
  */
11985
11891
  filter?: {
11986
- [key: string]: (string | (string)[]) | undefined;
11892
+ /** @description The start date from when to fetch jobs */
11893
+ "range-start"?: components["schemas"]["DateTime"];
11894
+ /** @description The end date from when to fetch jobs */
11895
+ "range-end"?: components["schemas"]["DateTime"];
11896
+ /** @description `filter[search]=value` search jobs for a value associated with a field on the given job(s). */
11897
+ search?: string;
11898
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the job's current state. */
11899
+ state?: string;
11987
11900
  };
11988
11901
  sort?: components["parameters"]["SortParam"];
11989
11902
  page?: components["parameters"]["PageParam"];
@@ -12054,21 +11967,16 @@ export interface operations {
12054
11967
  /** @description A comma separated list of include values. Included resources will show up under the root document's `include` field, with the key being the id of the included resource. In the case of applying an include to a collection of resources, if two resources share the same include, it will only appear once in the return. */
12055
11968
  include?: ("creators")[];
12056
11969
  /**
12057
- * @description ## Filter Field
11970
+ * @description ## Filter Field
12058
11971
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
12059
- *
12060
- * ## Possible Values
12061
- * ### Identifier
12062
- * `filter[identifier]=value` List only those stacks matching this identifier. May return multiple results.
12063
- *
12064
- * ### Search
12065
- * `filter[search]=value` search stacks for a value associated with a field on the given stack(s).
12066
- *
12067
- * ### State
12068
- * `filter[state]=value1,value2` state filtering will allow you to filter by the stack's current state.
12069
11972
  */
12070
11973
  filter?: {
12071
- [key: string]: (string | (string)[]) | undefined;
11974
+ /** @description `filter[identifier]=value` List only those stacks matching this identifier. May return multiple results. */
11975
+ identifier?: string;
11976
+ /** @description `filter[search]=value` search for a value associated with a field on the given stack(s). */
11977
+ search?: string;
11978
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the stack's current state. */
11979
+ state?: string;
12072
11980
  };
12073
11981
  sort?: components["parameters"]["SortParam"];
12074
11982
  page?: components["parameters"]["PageParam"];
@@ -12264,18 +12172,14 @@ export interface operations {
12264
12172
  /** @description A comma separated list of include values. Included resources will show up under the root document's `include` field, with the key being the id of the included resource. In the case of applying an include to a collection of resources, if two resources share the same include, it will only appear once in the return. */
12265
12173
  include?: ("stack_id" | "hub_id" | "about" | "instructions" | "events" | "state")[];
12266
12174
  /**
12267
- * @description ## Filter Field
12175
+ * @description ## Filter Field
12268
12176
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
12269
- *
12270
- * ## Possible Values
12271
- * ### Search
12272
- * `filter[search]=value` search stack builds for a value associated with a field on the given stack build(s).
12273
- *
12274
- * ### State
12275
- * `filter[state]=value1,value2` state filtering will allow you to filter by the stack build's current state.
12276
12177
  */
12277
12178
  filter?: {
12278
- [key: string]: (string | (string)[]) | undefined;
12179
+ /** @description `filter[search]=value` search for a value associated with a field on the given stack build(s). */
12180
+ search?: string;
12181
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the stack build's current state. */
12182
+ state?: string;
12279
12183
  };
12280
12184
  sort?: components["parameters"]["SortParam"];
12281
12185
  page?: components["parameters"]["PageParam"];
@@ -12421,18 +12325,14 @@ export interface operations {
12421
12325
  /** @description A comma separated list of include values. Included resources will show up under the root document's `include` field, with the key being the id of the included resource. In the case of applying an include to a collection of resources, if two resources share the same include, it will only appear once in the return. */
12422
12326
  include?: ("creators" | "environments")[];
12423
12327
  /**
12424
- * @description ## Filter Field
12328
+ * @description ## Filter Field
12425
12329
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
12426
- *
12427
- * ## Possible Values
12428
- * ### Search
12429
- * `filter[search]=value` search networks for a value associated with a field on the given network(s).
12430
- *
12431
- * ### State
12432
- * `filter[state]=value1,value2` state filtering will allow you to filter by the network's current state.
12433
12330
  */
12434
12331
  filter?: {
12435
- [key: string]: (string | (string)[]) | undefined;
12332
+ /** @description `filter[search]=value` search for a value associated with a field on the given network(s). */
12333
+ search?: string;
12334
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the network's current state. */
12335
+ state?: string;
12436
12336
  };
12437
12337
  sort?: components["parameters"]["SortParam"];
12438
12338
  page?: components["parameters"]["PageParam"];
@@ -12613,21 +12513,16 @@ export interface operations {
12613
12513
  /** @description A comma separated list of include values. Included resources will show up under the root document's `include` field, with the key being the id of the included resource. In the case of applying an include to a collection of resources, if two resources share the same include, it will only appear once in the return. */
12614
12514
  include?: ("creators" | "name" | "components")[];
12615
12515
  /**
12616
- * @description ## Filter Field
12516
+ * @description ## Filter Field
12617
12517
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
12618
- *
12619
- * ## Possible Values
12620
- * ### Identifier
12621
- * `filter[identifier]=value` List only those pipelines matching this identifier. May return multiple results.
12622
- *
12623
- * ### Search
12624
- * `filter[search]=value` search pipelines for a value associated with a field on the given pipeline(s).
12625
- *
12626
- * ### State
12627
- * `filter[state]=value1,value2` state filtering will allow you to filter by the pipeline's current state.
12628
12518
  */
12629
12519
  filter?: {
12630
- [key: string]: (string | (string)[]) | undefined;
12520
+ /** @description `filter[identifier]=value` List only those pipelines matching this identifier. May return multiple results. */
12521
+ identifier?: string;
12522
+ /** @description `filter[search]=value` search for a value associated with a field on the given pipelines(s). */
12523
+ search?: string;
12524
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the pipeline's current state. */
12525
+ state?: string;
12631
12526
  };
12632
12527
  sort?: components["parameters"]["SortParam"];
12633
12528
  page?: components["parameters"]["PageParam"];
@@ -12838,18 +12733,14 @@ export interface operations {
12838
12733
  parameters: {
12839
12734
  query: {
12840
12735
  /**
12841
- * @description ## Filter Field
12736
+ * @description ## Filter Field
12842
12737
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
12843
- *
12844
- * ## Possible Values
12845
- * ### Search
12846
- * `filter[search]=value` search trigger keys for a value associated with a field on the given trigger key(s).
12847
- *
12848
- * ### State
12849
- * `filter[state]=value1,value2` state filtering will allow you to filter by the trigger key's current state.
12850
12738
  */
12851
12739
  filter?: {
12852
- [key: string]: (string | (string)[]) | undefined;
12740
+ /** @description `filter[search]=value` search for a value associated with a field on the given trigger key(s). */
12741
+ search?: string;
12742
+ /** @description `filter[state]=value1,value2` state filtering will allow you to filter by the trigger key's current state. */
12743
+ state?: string;
12853
12744
  };
12854
12745
  sort?: components["parameters"]["SortParam"];
12855
12746
  page?: components["parameters"]["PageParam"];
@@ -13077,16 +12968,12 @@ export interface operations {
13077
12968
  /**
13078
12969
  * @description ## Filter Field
13079
12970
  * The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
13080
- *
13081
- * ## Possible Values
13082
- * ### Environment
13083
- * `filter[environment]=<Environment ID>` fetch the security report for the specified environment
13084
- *
13085
- * ### Event
13086
- * `filter[event]=value` filter by event occurrence. Example: `filter[event]=environment.services.vpn.login`
13087
12971
  */
13088
12972
  filter?: {
13089
- [key: string]: (string | (string)[]) | undefined;
12973
+ /** @description `filter[environment]=<Environment ID>` fetch the security report for the specified environment */
12974
+ environment?: string;
12975
+ /** @description `filter[event]=value` filter by event occurrence. Example: `filter[event]=environment.services.vpn.login` */
12976
+ event?: string;
13090
12977
  };
13091
12978
  };
13092
12979
  };
File without changes
File without changes