dub 0.45.1 → 0.45.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.
package/README.md CHANGED
@@ -126,9 +126,9 @@ run();
126
126
 
127
127
  ### [customers](docs/sdks/customers/README.md)
128
128
 
129
- * [list](docs/sdks/customers/README.md#list) - Get a list of customers
129
+ * [list](docs/sdks/customers/README.md#list) - Retrieve a list of customers
130
130
  * [create](docs/sdks/customers/README.md#create) - Create a customer
131
- * [get](docs/sdks/customers/README.md#get) - Get a customer
131
+ * [get](docs/sdks/customers/README.md#get) - Retrieve a customer
132
132
  * [update](docs/sdks/customers/README.md#update) - Update a customer
133
133
  * [delete](docs/sdks/customers/README.md#delete) - Delete a customer
134
134
 
@@ -532,8 +532,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
532
532
  - [`analyticsRetrieve`](docs/sdks/analytics/README.md#retrieve) - Retrieve analytics for a link, a domain, or the authenticated workspace.
533
533
  - [`customersCreate`](docs/sdks/customers/README.md#create) - Create a customer
534
534
  - [`customersDelete`](docs/sdks/customers/README.md#delete) - Delete a customer
535
- - [`customersGet`](docs/sdks/customers/README.md#get) - Get a customer
536
- - [`customersList`](docs/sdks/customers/README.md#list) - Get a list of customers
535
+ - [`customersGet`](docs/sdks/customers/README.md#get) - Retrieve a customer
536
+ - [`customersList`](docs/sdks/customers/README.md#list) - Retrieve a list of customers
537
537
  - [`customersUpdate`](docs/sdks/customers/README.md#update) - Update a customer
538
538
  - [`domainsCreate`](docs/sdks/domains/README.md#create) - Create a domain
539
539
  - [`domainsDelete`](docs/sdks/domains/README.md#delete) - Delete a domain
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import * as operations from "../models/operations/index.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Get a customer
10
+ * Retrieve a customer
11
11
  *
12
12
  * @remarks
13
- * Get a customer by ID for the authenticated workspace.
13
+ * Retrieve a customer by ID for the authenticated workspace.
14
14
  */
15
15
  export declare function customersGet(client: DubCore, request: operations.GetCustomerRequest, options?: RequestOptions): Promise<Result<operations.GetCustomerResponseBody, errors.BadRequest | errors.Unauthorized | errors.Forbidden | errors.NotFound | errors.Conflict | errors.InviteExpired | errors.UnprocessableEntity | errors.RateLimitExceeded | errors.InternalServerError | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=customersGet.d.ts.map
@@ -35,10 +35,10 @@ const url_js_1 = require("../lib/url.js");
35
35
  const errors = __importStar(require("../models/errors/index.js"));
36
36
  const operations = __importStar(require("../models/operations/index.js"));
37
37
  /**
38
- * Get a customer
38
+ * Retrieve a customer
39
39
  *
40
40
  * @remarks
41
- * Get a customer by ID for the authenticated workspace.
41
+ * Retrieve a customer by ID for the authenticated workspace.
42
42
  */
43
43
  async function customersGet(client, request, options) {
44
44
  const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.GetCustomerRequest$outboundSchema.parse(value), "Input validation failed");
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import * as operations from "../models/operations/index.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Get a list of customers
10
+ * Retrieve a list of customers
11
11
  *
12
12
  * @remarks
13
- * Get a list of customers for the authenticated workspace.
13
+ * Retrieve a list of customers for the authenticated workspace.
14
14
  */
15
15
  export declare function customersList(client: DubCore, options?: RequestOptions): Promise<Result<Array<operations.ResponseBody>, errors.BadRequest | errors.Unauthorized | errors.Forbidden | errors.NotFound | errors.Conflict | errors.InviteExpired | errors.UnprocessableEntity | errors.RateLimitExceeded | errors.InternalServerError | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=customersList.d.ts.map
@@ -34,10 +34,10 @@ const url_js_1 = require("../lib/url.js");
34
34
  const errors = __importStar(require("../models/errors/index.js"));
35
35
  const operations = __importStar(require("../models/operations/index.js"));
36
36
  /**
37
- * Get a list of customers
37
+ * Retrieve a list of customers
38
38
  *
39
39
  * @remarks
40
- * Get a list of customers for the authenticated workspace.
40
+ * Retrieve a list of customers for the authenticated workspace.
41
41
  */
42
42
  async function customersList(client, options) {
43
43
  const path = (0, url_js_1.pathToFunc)("/customers")();
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "0.0.1";
30
- readonly sdkVersion: "0.45.1";
31
- readonly genVersion: "2.457.2";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.45.1 2.457.2 0.0.1 dub";
30
+ readonly sdkVersion: "0.45.2";
31
+ readonly genVersion: "2.457.9";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.45.2 2.457.9 0.0.1 dub";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
@@ -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.45.1",
36
- genVersion: "2.457.2",
37
- userAgent: "speakeasy-sdk/typescript 0.45.1 2.457.2 0.0.1 dub",
35
+ sdkVersion: "0.45.2",
36
+ genVersion: "2.457.9",
37
+ userAgent: "speakeasy-sdk/typescript 0.45.2 2.457.9 0.0.1 dub",
38
38
  };
39
39
  //# sourceMappingURL=config.js.map
@@ -2,10 +2,10 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as operations from "../models/operations/index.js";
3
3
  export declare class Customers extends ClientSDK {
4
4
  /**
5
- * Get a list of customers
5
+ * Retrieve a list of customers
6
6
  *
7
7
  * @remarks
8
- * Get a list of customers for the authenticated workspace.
8
+ * Retrieve a list of customers for the authenticated workspace.
9
9
  */
10
10
  list(options?: RequestOptions): Promise<Array<operations.ResponseBody>>;
11
11
  /**
@@ -16,10 +16,10 @@ export declare class Customers extends ClientSDK {
16
16
  */
17
17
  create(request?: operations.CreateCustomerRequestBody | undefined, options?: RequestOptions): Promise<operations.CreateCustomerResponseBody>;
18
18
  /**
19
- * Get a customer
19
+ * Retrieve a customer
20
20
  *
21
21
  * @remarks
22
- * Get a customer by ID for the authenticated workspace.
22
+ * Retrieve a customer by ID for the authenticated workspace.
23
23
  */
24
24
  get(request: operations.GetCustomerRequest, options?: RequestOptions): Promise<operations.GetCustomerResponseBody>;
25
25
  /**
@@ -13,10 +13,10 @@ const sdks_js_1 = require("../lib/sdks.js");
13
13
  const fp_js_1 = require("../types/fp.js");
14
14
  class Customers extends sdks_js_1.ClientSDK {
15
15
  /**
16
- * Get a list of customers
16
+ * Retrieve a list of customers
17
17
  *
18
18
  * @remarks
19
- * Get a list of customers for the authenticated workspace.
19
+ * Retrieve a list of customers for the authenticated workspace.
20
20
  */
21
21
  async list(options) {
22
22
  return (0, fp_js_1.unwrapAsync)((0, customersList_js_1.customersList)(this, options));
@@ -31,10 +31,10 @@ class Customers extends sdks_js_1.ClientSDK {
31
31
  return (0, fp_js_1.unwrapAsync)((0, customersCreate_js_1.customersCreate)(this, request, options));
32
32
  }
33
33
  /**
34
- * Get a customer
34
+ * Retrieve a customer
35
35
  *
36
36
  * @remarks
37
- * Get a customer by ID for the authenticated workspace.
37
+ * Retrieve a customer by ID for the authenticated workspace.
38
38
  */
39
39
  async get(request, options) {
40
40
  return (0, fp_js_1.unwrapAsync)((0, customersGet_js_1.customersGet)(this, request, options));
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import * as operations from "../models/operations/index.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Get a customer
10
+ * Retrieve a customer
11
11
  *
12
12
  * @remarks
13
- * Get a customer by ID for the authenticated workspace.
13
+ * Retrieve a customer by ID for the authenticated workspace.
14
14
  */
15
15
  export declare function customersGet(client: DubCore, request: operations.GetCustomerRequest, options?: RequestOptions): Promise<Result<operations.GetCustomerResponseBody, errors.BadRequest | errors.Unauthorized | errors.Forbidden | errors.NotFound | errors.Conflict | errors.InviteExpired | errors.UnprocessableEntity | errors.RateLimitExceeded | errors.InternalServerError | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=customersGet.d.ts.map
@@ -9,10 +9,10 @@ import { pathToFunc } from "../lib/url.js";
9
9
  import * as errors from "../models/errors/index.js";
10
10
  import * as operations from "../models/operations/index.js";
11
11
  /**
12
- * Get a customer
12
+ * Retrieve a customer
13
13
  *
14
14
  * @remarks
15
- * Get a customer by ID for the authenticated workspace.
15
+ * Retrieve a customer by ID for the authenticated workspace.
16
16
  */
17
17
  export async function customersGet(client, request, options) {
18
18
  const parsed = safeParse(request, (value) => operations.GetCustomerRequest$outboundSchema.parse(value), "Input validation failed");
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import * as operations from "../models/operations/index.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Get a list of customers
10
+ * Retrieve a list of customers
11
11
  *
12
12
  * @remarks
13
- * Get a list of customers for the authenticated workspace.
13
+ * Retrieve a list of customers for the authenticated workspace.
14
14
  */
15
15
  export declare function customersList(client: DubCore, options?: RequestOptions): Promise<Result<Array<operations.ResponseBody>, errors.BadRequest | errors.Unauthorized | errors.Forbidden | errors.NotFound | errors.Conflict | errors.InviteExpired | errors.UnprocessableEntity | errors.RateLimitExceeded | errors.InternalServerError | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=customersList.d.ts.map
@@ -8,10 +8,10 @@ import { pathToFunc } from "../lib/url.js";
8
8
  import * as errors from "../models/errors/index.js";
9
9
  import * as operations from "../models/operations/index.js";
10
10
  /**
11
- * Get a list of customers
11
+ * Retrieve a list of customers
12
12
  *
13
13
  * @remarks
14
- * Get a list of customers for the authenticated workspace.
14
+ * Retrieve a list of customers for the authenticated workspace.
15
15
  */
16
16
  export async function customersList(client, options) {
17
17
  const path = pathToFunc("/customers")();
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "0.0.1";
30
- readonly sdkVersion: "0.45.1";
31
- readonly genVersion: "2.457.2";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.45.1 2.457.2 0.0.1 dub";
30
+ readonly sdkVersion: "0.45.2";
31
+ readonly genVersion: "2.457.9";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.45.2 2.457.9 0.0.1 dub";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
@@ -28,8 +28,8 @@ export function serverURLFromOptions(options) {
28
28
  export const SDK_METADATA = {
29
29
  language: "typescript",
30
30
  openapiDocVersion: "0.0.1",
31
- sdkVersion: "0.45.1",
32
- genVersion: "2.457.2",
33
- userAgent: "speakeasy-sdk/typescript 0.45.1 2.457.2 0.0.1 dub",
31
+ sdkVersion: "0.45.2",
32
+ genVersion: "2.457.9",
33
+ userAgent: "speakeasy-sdk/typescript 0.45.2 2.457.9 0.0.1 dub",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -2,10 +2,10 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as operations from "../models/operations/index.js";
3
3
  export declare class Customers extends ClientSDK {
4
4
  /**
5
- * Get a list of customers
5
+ * Retrieve a list of customers
6
6
  *
7
7
  * @remarks
8
- * Get a list of customers for the authenticated workspace.
8
+ * Retrieve a list of customers for the authenticated workspace.
9
9
  */
10
10
  list(options?: RequestOptions): Promise<Array<operations.ResponseBody>>;
11
11
  /**
@@ -16,10 +16,10 @@ export declare class Customers extends ClientSDK {
16
16
  */
17
17
  create(request?: operations.CreateCustomerRequestBody | undefined, options?: RequestOptions): Promise<operations.CreateCustomerResponseBody>;
18
18
  /**
19
- * Get a customer
19
+ * Retrieve a customer
20
20
  *
21
21
  * @remarks
22
- * Get a customer by ID for the authenticated workspace.
22
+ * Retrieve a customer by ID for the authenticated workspace.
23
23
  */
24
24
  get(request: operations.GetCustomerRequest, options?: RequestOptions): Promise<operations.GetCustomerResponseBody>;
25
25
  /**
@@ -10,10 +10,10 @@ import { ClientSDK } from "../lib/sdks.js";
10
10
  import { unwrapAsync } from "../types/fp.js";
11
11
  export class Customers extends ClientSDK {
12
12
  /**
13
- * Get a list of customers
13
+ * Retrieve a list of customers
14
14
  *
15
15
  * @remarks
16
- * Get a list of customers for the authenticated workspace.
16
+ * Retrieve a list of customers for the authenticated workspace.
17
17
  */
18
18
  async list(options) {
19
19
  return unwrapAsync(customersList(this, options));
@@ -28,10 +28,10 @@ export class Customers extends ClientSDK {
28
28
  return unwrapAsync(customersCreate(this, request, options));
29
29
  }
30
30
  /**
31
- * Get a customer
31
+ * Retrieve a customer
32
32
  *
33
33
  * @remarks
34
- * Get a customer by ID for the authenticated workspace.
34
+ * Retrieve a customer by ID for the authenticated workspace.
35
35
  */
36
36
  async get(request, options) {
37
37
  return unwrapAsync(customersGet(this, request, options));
@@ -5,15 +5,15 @@
5
5
 
6
6
  ### Available Operations
7
7
 
8
- * [list](#list) - Get a list of customers
8
+ * [list](#list) - Retrieve a list of customers
9
9
  * [create](#create) - Create a customer
10
- * [get](#get) - Get a customer
10
+ * [get](#get) - Retrieve a customer
11
11
  * [update](#update) - Update a customer
12
12
  * [delete](#delete) - Delete a customer
13
13
 
14
14
  ## list
15
15
 
16
- Get a list of customers for the authenticated workspace.
16
+ Retrieve a list of customers for the authenticated workspace.
17
17
 
18
18
  ### Example Usage
19
19
 
@@ -174,7 +174,7 @@ run();
174
174
 
175
175
  ## get
176
176
 
177
- Get a customer by ID for the authenticated workspace.
177
+ Retrieve a customer by ID for the authenticated workspace.
178
178
 
179
179
  ### Example Usage
180
180
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dub",
3
- "version": "0.45.1",
3
+ "version": "0.45.2",
4
4
  "author": "Dub",
5
5
  "tshy": {
6
6
  "exports": {
@@ -23,10 +23,10 @@ import * as operations from "../models/operations/index.js";
23
23
  import { Result } from "../types/fp.js";
24
24
 
25
25
  /**
26
- * Get a customer
26
+ * Retrieve a customer
27
27
  *
28
28
  * @remarks
29
- * Get a customer by ID for the authenticated workspace.
29
+ * Retrieve a customer by ID for the authenticated workspace.
30
30
  */
31
31
  export async function customersGet(
32
32
  client: DubCore,
@@ -22,10 +22,10 @@ import * as operations from "../models/operations/index.js";
22
22
  import { Result } from "../types/fp.js";
23
23
 
24
24
  /**
25
- * Get a list of customers
25
+ * Retrieve a list of customers
26
26
  *
27
27
  * @remarks
28
- * Get a list of customers for the authenticated workspace.
28
+ * Retrieve a list of customers for the authenticated workspace.
29
29
  */
30
30
  export async function customersList(
31
31
  client: DubCore,
package/src/lib/config.ts CHANGED
@@ -57,7 +57,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
57
57
  export const SDK_METADATA = {
58
58
  language: "typescript",
59
59
  openapiDocVersion: "0.0.1",
60
- sdkVersion: "0.45.1",
61
- genVersion: "2.457.2",
62
- userAgent: "speakeasy-sdk/typescript 0.45.1 2.457.2 0.0.1 dub",
60
+ sdkVersion: "0.45.2",
61
+ genVersion: "2.457.9",
62
+ userAgent: "speakeasy-sdk/typescript 0.45.2 2.457.9 0.0.1 dub",
63
63
  } as const;
@@ -13,10 +13,10 @@ import { unwrapAsync } from "../types/fp.js";
13
13
 
14
14
  export class Customers extends ClientSDK {
15
15
  /**
16
- * Get a list of customers
16
+ * Retrieve a list of customers
17
17
  *
18
18
  * @remarks
19
- * Get a list of customers for the authenticated workspace.
19
+ * Retrieve a list of customers for the authenticated workspace.
20
20
  */
21
21
  async list(
22
22
  options?: RequestOptions,
@@ -45,10 +45,10 @@ export class Customers extends ClientSDK {
45
45
  }
46
46
 
47
47
  /**
48
- * Get a customer
48
+ * Retrieve a customer
49
49
  *
50
50
  * @remarks
51
- * Get a customer by ID for the authenticated workspace.
51
+ * Retrieve a customer by ID for the authenticated workspace.
52
52
  */
53
53
  async get(
54
54
  request: operations.GetCustomerRequest,