dub 0.25.0 → 0.25.2

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.
@@ -253,7 +253,7 @@ run();
253
253
 
254
254
  | Parameter | Type | Required | Description |
255
255
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
256
- | `linkId` | *string* | :heavy_check_mark: | The id of the link to edit. You can get this via the `getLinkInfo` endpoint. |
256
+ | `linkId` | *string* | :heavy_check_mark: | The id of the link to edit. You may use either `linkId` (obtained via `/links/info` endpoint) or `externalId` prefixed with `ext_`. |
257
257
  | `requestBody` | [operations.EditLinkRequestBody](../../models/operations/editlinkrequestbody.md) | :heavy_minus_sign: | N/A |
258
258
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
259
259
  | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
@@ -307,7 +307,7 @@ run();
307
307
 
308
308
  | Parameter | Type | Required | Description |
309
309
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
310
- | `linkId` | *string* | :heavy_check_mark: | The id of the link to delete. You can get this via the `getLinkInfo` endpoint. |
310
+ | `linkId` | *string* | :heavy_check_mark: | The id of the link to delete. You may use either `linkId` (obtained via `/links/info` endpoint) or `externalId` prefixed with `ext_`. |
311
311
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
312
312
  | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
313
313
 
package/lib/config.d.ts CHANGED
@@ -32,8 +32,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
32
32
  export declare const SDK_METADATA: {
33
33
  readonly language: "typescript";
34
34
  readonly openapiDocVersion: "0.0.1";
35
- readonly sdkVersion: "0.25.0";
35
+ readonly sdkVersion: "0.25.2";
36
36
  readonly genVersion: "2.314.0";
37
- readonly userAgent: "speakeasy-sdk/typescript 0.25.0 2.314.0 0.0.1 dub";
37
+ readonly userAgent: "speakeasy-sdk/typescript 0.25.2 2.314.0 0.0.1 dub";
38
38
  };
39
39
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -32,8 +32,8 @@ exports.serverURLFromOptions = serverURLFromOptions;
32
32
  exports.SDK_METADATA = {
33
33
  language: "typescript",
34
34
  openapiDocVersion: "0.0.1",
35
- sdkVersion: "0.25.0",
35
+ sdkVersion: "0.25.2",
36
36
  genVersion: "2.314.0",
37
- userAgent: "speakeasy-sdk/typescript 0.25.0 2.314.0 0.0.1 dub",
37
+ userAgent: "speakeasy-sdk/typescript 0.25.2 2.314.0 0.0.1 dub",
38
38
  };
39
39
  //# sourceMappingURL=config.js.map
@@ -11,6 +11,10 @@ export declare const Type: {
11
11
  */
12
12
  export type Type = (typeof Type)[keyof typeof Type];
13
13
  export type DomainSchema = {
14
+ /**
15
+ * The unique identifier of the domain.
16
+ */
17
+ id: string;
14
18
  /**
15
19
  * The domain name.
16
20
  */
@@ -53,6 +57,7 @@ export declare const Type$: z.ZodNativeEnum<typeof Type>;
53
57
  /** @internal */
54
58
  export declare namespace DomainSchema$ {
55
59
  type Inbound = {
60
+ id: string;
56
61
  slug: string;
57
62
  verified?: boolean | undefined;
58
63
  primary?: boolean | undefined;
@@ -65,6 +70,7 @@ export declare namespace DomainSchema$ {
65
70
  };
66
71
  const inboundSchema: z.ZodType<DomainSchema, z.ZodTypeDef, Inbound>;
67
72
  type Outbound = {
73
+ id: string;
68
74
  slug: string;
69
75
  verified: boolean;
70
76
  primary: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"domainschema.d.ts","sourceRoot":"","sources":["../../src/models/components/domainschema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;GAEG;AACH,eAAO,MAAM,IAAI;;;CAGP,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAEpD,MAAM,MAAM,YAAY,GAAG;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,IAAI,CAAsB,CAAC;AAEtE,gBAAgB;AAChB,yBAAiB,aAAa,CAAC;IAC3B,KAAY,OAAO,GAAG;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAC/B,OAAO,CAAC,EAAE,OAAO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I,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,OAAO,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,IAAI,EAAE,IAAI,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;KAClB,CAAC;IAEK,MAAM,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,UAAU,EAAE,YAAY,CA0BrE,CAAC;CACV"}
@@ -42,6 +42,7 @@ var DomainSchema$;
42
42
  (function (DomainSchema$) {
43
43
  DomainSchema$.inboundSchema = z
44
44
  .object({
45
+ id: z.string(),
45
46
  slug: z.string(),
46
47
  verified: z.boolean().default(false),
47
48
  primary: z.boolean().default(false),
@@ -54,6 +55,7 @@ var DomainSchema$;
54
55
  })
55
56
  .transform((v) => {
56
57
  return {
58
+ id: v.id,
57
59
  slug: v.slug,
58
60
  verified: v.verified,
59
61
  primary: v.primary,
@@ -67,6 +69,7 @@ var DomainSchema$;
67
69
  });
68
70
  DomainSchema$.outboundSchema = z
69
71
  .object({
72
+ id: z.string(),
70
73
  slug: z.string(),
71
74
  verified: z.boolean().default(false),
72
75
  primary: z.boolean().default(false),
@@ -79,6 +82,7 @@ var DomainSchema$;
79
82
  })
80
83
  .transform((v) => {
81
84
  return {
85
+ id: v.id,
82
86
  slug: v.slug,
83
87
  verified: v.verified,
84
88
  primary: v.primary,
@@ -1 +1 @@
1
- {"version":3,"file":"domainschema.js","sourceRoot":"","sources":["../../src/models/components/domainschema.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAEzB;;GAEG;AACU,QAAA,IAAI,GAAG;IAChB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;CACZ,C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CAAC,CAAC;AACX,CAAC,EAlFgB,aAAa,6BAAb,aAAa,QAkF7B"}
@@ -276,7 +276,7 @@ export type RequestBody = {
276
276
  */
277
277
  key?: string | undefined;
278
278
  /**
279
- * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter.
279
+ * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter.
280
280
  */
281
281
  externalId?: string | null | undefined;
282
282
  /**
@@ -276,7 +276,7 @@ export type CreateLinkRequestBody = {
276
276
  */
277
277
  key?: string | undefined;
278
278
  /**
279
- * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter.
279
+ * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter.
280
280
  */
281
281
  externalId?: string | null | undefined;
282
282
  /**
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod";
2
2
  export type DeleteLinkRequest = {
3
3
  /**
4
- * The id of the link to delete. You can get this via the `getLinkInfo` endpoint.
4
+ * The id of the link to delete. You may use either `linkId` (obtained via `/links/info` endpoint) or `externalId` prefixed with `ext_`.
5
5
  */
6
6
  linkId: string;
7
7
  };
@@ -276,7 +276,7 @@ export type EditLinkRequestBody = {
276
276
  */
277
277
  key?: string | undefined;
278
278
  /**
279
- * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter.
279
+ * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter.
280
280
  */
281
281
  externalId?: string | null | undefined;
282
282
  /**
@@ -356,7 +356,7 @@ export type EditLinkRequestBody = {
356
356
  };
357
357
  export type EditLinkRequest = {
358
358
  /**
359
- * The id of the link to edit. You can get this via the `getLinkInfo` endpoint.
359
+ * The id of the link to edit. You may use either `linkId` (obtained via `/links/info` endpoint) or `externalId` prefixed with `ext_`.
360
360
  */
361
361
  linkId: string;
362
362
  requestBody?: EditLinkRequestBody | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dub",
3
- "version": "0.25.0",
3
+ "version": "0.25.2",
4
4
  "author": "Dub",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
package/src/lib/config.ts CHANGED
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
64
64
  export const SDK_METADATA = {
65
65
  language: "typescript",
66
66
  openapiDocVersion: "0.0.1",
67
- sdkVersion: "0.25.0",
67
+ sdkVersion: "0.25.2",
68
68
  genVersion: "2.314.0",
69
- userAgent: "speakeasy-sdk/typescript 0.25.0 2.314.0 0.0.1 dub",
69
+ userAgent: "speakeasy-sdk/typescript 0.25.2 2.314.0 0.0.1 dub",
70
70
  } as const;
@@ -17,6 +17,10 @@ export const Type = {
17
17
  export type Type = (typeof Type)[keyof typeof Type];
18
18
 
19
19
  export type DomainSchema = {
20
+ /**
21
+ * The unique identifier of the domain.
22
+ */
23
+ id: string;
20
24
  /**
21
25
  * The domain name.
22
26
  */
@@ -61,6 +65,7 @@ export const Type$: z.ZodNativeEnum<typeof Type> = z.nativeEnum(Type);
61
65
  /** @internal */
62
66
  export namespace DomainSchema$ {
63
67
  export type Inbound = {
68
+ id: string;
64
69
  slug: string;
65
70
  verified?: boolean | undefined;
66
71
  primary?: boolean | undefined;
@@ -74,6 +79,7 @@ export namespace DomainSchema$ {
74
79
 
75
80
  export const inboundSchema: z.ZodType<DomainSchema, z.ZodTypeDef, Inbound> = z
76
81
  .object({
82
+ id: z.string(),
77
83
  slug: z.string(),
78
84
  verified: z.boolean().default(false),
79
85
  primary: z.boolean().default(false),
@@ -86,6 +92,7 @@ export namespace DomainSchema$ {
86
92
  })
87
93
  .transform((v) => {
88
94
  return {
95
+ id: v.id,
89
96
  slug: v.slug,
90
97
  verified: v.verified,
91
98
  primary: v.primary,
@@ -99,6 +106,7 @@ export namespace DomainSchema$ {
99
106
  });
100
107
 
101
108
  export type Outbound = {
109
+ id: string;
102
110
  slug: string;
103
111
  verified: boolean;
104
112
  primary: boolean;
@@ -112,6 +120,7 @@ export namespace DomainSchema$ {
112
120
 
113
121
  export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, DomainSchema> = z
114
122
  .object({
123
+ id: z.string(),
115
124
  slug: z.string(),
116
125
  verified: z.boolean().default(false),
117
126
  primary: z.boolean().default(false),
@@ -124,6 +133,7 @@ export namespace DomainSchema$ {
124
133
  })
125
134
  .transform((v) => {
126
135
  return {
136
+ id: v.id,
127
137
  slug: v.slug,
128
138
  verified: v.verified,
129
139
  primary: v.primary,
@@ -284,7 +284,7 @@ export type RequestBody = {
284
284
  */
285
285
  key?: string | undefined;
286
286
  /**
287
- * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter.
287
+ * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter.
288
288
  */
289
289
  externalId?: string | null | undefined;
290
290
  /**
@@ -284,7 +284,7 @@ export type CreateLinkRequestBody = {
284
284
  */
285
285
  key?: string | undefined;
286
286
  /**
287
- * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter.
287
+ * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter.
288
288
  */
289
289
  externalId?: string | null | undefined;
290
290
  /**
@@ -6,7 +6,7 @@ import * as z from "zod";
6
6
 
7
7
  export type DeleteLinkRequest = {
8
8
  /**
9
- * The id of the link to delete. You can get this via the `getLinkInfo` endpoint.
9
+ * The id of the link to delete. You may use either `linkId` (obtained via `/links/info` endpoint) or `externalId` prefixed with `ext_`.
10
10
  */
11
11
  linkId: string;
12
12
  };
@@ -284,7 +284,7 @@ export type EditLinkRequestBody = {
284
284
  */
285
285
  key?: string | undefined;
286
286
  /**
287
- * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter.
287
+ * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter.
288
288
  */
289
289
  externalId?: string | null | undefined;
290
290
  /**
@@ -365,7 +365,7 @@ export type EditLinkRequestBody = {
365
365
 
366
366
  export type EditLinkRequest = {
367
367
  /**
368
- * The id of the link to edit. You can get this via the `getLinkInfo` endpoint.
368
+ * The id of the link to edit. You may use either `linkId` (obtained via `/links/info` endpoint) or `externalId` prefixed with `ext_`.
369
369
  */
370
370
  linkId: string;
371
371
  requestBody?: EditLinkRequestBody | undefined;