@bugbug-io/sdk 13.39.1

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.
Files changed (85) hide show
  1. package/README.md +576 -0
  2. package/dist/constants/sdk-error-codes.d.ts +35 -0
  3. package/dist/constants/sdk-error-codes.d.ts.map +1 -0
  4. package/dist/index.d.ts +87 -0
  5. package/dist/index.d.ts.map +1 -0
  6. package/dist/index.js +3844 -0
  7. package/dist/modules/auth/auth.d.ts +11 -0
  8. package/dist/modules/auth/auth.d.ts.map +1 -0
  9. package/dist/modules/auth/auth.types.d.ts +34 -0
  10. package/dist/modules/auth/auth.types.d.ts.map +1 -0
  11. package/dist/modules/auth/auth.utils.d.ts +4 -0
  12. package/dist/modules/auth/auth.utils.d.ts.map +1 -0
  13. package/dist/modules/components/components.d.ts +43 -0
  14. package/dist/modules/components/components.d.ts.map +1 -0
  15. package/dist/modules/config/config.d.ts +48 -0
  16. package/dist/modules/config/config.d.ts.map +1 -0
  17. package/dist/modules/groups/groups.d.ts +62 -0
  18. package/dist/modules/groups/groups.d.ts.map +1 -0
  19. package/dist/modules/profiles/profiles.d.ts +71 -0
  20. package/dist/modules/profiles/profiles.d.ts.map +1 -0
  21. package/dist/modules/project/project.d.ts +58 -0
  22. package/dist/modules/project/project.d.ts.map +1 -0
  23. package/dist/modules/projectArtifacts/projectArtifacts.d.ts +8 -0
  24. package/dist/modules/projectArtifacts/projectArtifacts.d.ts.map +1 -0
  25. package/dist/modules/projectArtifacts/projectArtifacts.types.d.ts +14 -0
  26. package/dist/modules/projectArtifacts/projectArtifacts.types.d.ts.map +1 -0
  27. package/dist/modules/projects/projects.d.ts +36 -0
  28. package/dist/modules/projects/projects.d.ts.map +1 -0
  29. package/dist/modules/projects/projects.types.d.ts +6 -0
  30. package/dist/modules/projects/projects.types.d.ts.map +1 -0
  31. package/dist/modules/stepRuns/stepRuns.d.ts +22 -0
  32. package/dist/modules/stepRuns/stepRuns.d.ts.map +1 -0
  33. package/dist/modules/steps/steps.d.ts +47 -0
  34. package/dist/modules/steps/steps.d.ts.map +1 -0
  35. package/dist/modules/steps/steps.utils.d.ts +11 -0
  36. package/dist/modules/steps/steps.utils.d.ts.map +1 -0
  37. package/dist/modules/suites/suites.d.ts +153 -0
  38. package/dist/modules/suites/suites.d.ts.map +1 -0
  39. package/dist/modules/suites/suites.types.d.ts +31 -0
  40. package/dist/modules/suites/suites.types.d.ts.map +1 -0
  41. package/dist/modules/tests/tests.d.ts +253 -0
  42. package/dist/modules/tests/tests.d.ts.map +1 -0
  43. package/dist/modules/tests/tests.types.d.ts +34 -0
  44. package/dist/modules/tests/tests.types.d.ts.map +1 -0
  45. package/dist/modules/tests/tests.utils.d.ts +11 -0
  46. package/dist/modules/tests/tests.utils.d.ts.map +1 -0
  47. package/dist/modules/variables/variables.d.ts +14 -0
  48. package/dist/modules/variables/variables.d.ts.map +1 -0
  49. package/dist/modules/variables/variables.types.d.ts +7 -0
  50. package/dist/modules/variables/variables.types.d.ts.map +1 -0
  51. package/dist/modules/visualRegression/visualRegression.constants.d.ts +7 -0
  52. package/dist/modules/visualRegression/visualRegression.constants.d.ts.map +1 -0
  53. package/dist/modules/visualRegression/visualRegression.d.ts +69 -0
  54. package/dist/modules/visualRegression/visualRegression.d.ts.map +1 -0
  55. package/dist/modules/visualRegression/visualRegression.types.d.ts +12 -0
  56. package/dist/modules/visualRegression/visualRegression.types.d.ts.map +1 -0
  57. package/dist/sdk.d.ts +126 -0
  58. package/dist/sdk.d.ts.map +1 -0
  59. package/dist/services/apiClient/apiClient.d.ts +167 -0
  60. package/dist/services/apiClient/apiClient.d.ts.map +1 -0
  61. package/dist/services/apiClient/apiClient.types.d.ts +19 -0
  62. package/dist/services/apiClient/apiClient.types.d.ts.map +1 -0
  63. package/dist/services/apiClient/apiClient.utils.d.ts +32 -0
  64. package/dist/services/apiClient/apiClient.utils.d.ts.map +1 -0
  65. package/dist/services/rateLimiter/rateLimiter.constants.d.ts +5 -0
  66. package/dist/services/rateLimiter/rateLimiter.constants.d.ts.map +1 -0
  67. package/dist/services/rateLimiter/rateLimiter.d.ts +49 -0
  68. package/dist/services/rateLimiter/rateLimiter.d.ts.map +1 -0
  69. package/dist/services/rateLimiter/rateLimiter.types.d.ts +34 -0
  70. package/dist/services/rateLimiter/rateLimiter.types.d.ts.map +1 -0
  71. package/dist/testUtils/fakeFactory.d.ts +15 -0
  72. package/dist/testUtils/fakeFactory.d.ts.map +1 -0
  73. package/dist/testUtils/setup.d.ts +2 -0
  74. package/dist/testUtils/setup.d.ts.map +1 -0
  75. package/dist/types/config.d.ts +121 -0
  76. package/dist/types/config.d.ts.map +1 -0
  77. package/dist/types/errors.d.ts +162 -0
  78. package/dist/types/errors.d.ts.map +1 -0
  79. package/dist/types/sdk.d.ts +28 -0
  80. package/dist/types/sdk.d.ts.map +1 -0
  81. package/dist/utils/pagination.d.ts +10 -0
  82. package/dist/utils/pagination.d.ts.map +1 -0
  83. package/dist/utils/polling.d.ts +20 -0
  84. package/dist/utils/polling.d.ts.map +1 -0
  85. package/package.json +83 -0
@@ -0,0 +1,11 @@
1
+ import type { BugBugApiClient } from '../../services/apiClient/apiClient';
2
+ import type { RequestOptions } from '../../types/config';
3
+ import type { AuthAuthorizeParams, AuthAuthorizeResponse, AuthIdentity, AuthTokenRequest, AuthTokenResponse } from './auth.types';
4
+ export declare class AuthModule {
5
+ #private;
6
+ constructor(client: BugBugApiClient);
7
+ getAuth: (params: AuthAuthorizeParams, options?: RequestOptions) => Promise<AuthAuthorizeResponse>;
8
+ exchangeCode: (payload: AuthTokenRequest, options?: RequestOptions) => Promise<AuthTokenResponse>;
9
+ identity: (options?: RequestOptions) => Promise<AuthIdentity>;
10
+ }
11
+ //# sourceMappingURL=auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/modules/auth/auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,mBAAmB,EACnB,qBAAqB,EACrB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,cAAc,CAAC;AAEtB,qBAAa,UAAU;;gBAGT,MAAM,EAAE,eAAe;IAInC,OAAO,GACL,QAAQ,mBAAmB,EAC3B,UAAS,cAAmB,KAC3B,OAAO,CAAC,qBAAqB,CAAC,CAwB/B;IAEF,YAAY,GACV,SAAS,gBAAgB,EACzB,UAAS,cAAmB,KAC3B,OAAO,CAAC,iBAAiB,CAAC,CAWxB;IAEL,QAAQ,GAAU,UAAS,cAAmB,KAAG,OAAO,CAAC,YAAY,CAAC,CACH;CACpE"}
@@ -0,0 +1,34 @@
1
+ export declare const BUGBUG_CLI_OAUTH_CLIENT_ID = "bugbug-cli";
2
+ export declare const BUGBUG_MCP_OAUTH_CLIENT_ID = "bugbug-mcp";
3
+ export declare const BUGBUG_OAUTH_CODE_CHALLENGE_METHOD = "S256";
4
+ export interface AuthAuthorizeParams {
5
+ clientId: string;
6
+ redirectUri: string;
7
+ codeChallenge: string;
8
+ codeChallengeMethod: typeof BUGBUG_OAUTH_CODE_CHALLENGE_METHOD;
9
+ state: string;
10
+ }
11
+ export interface AuthAuthorizeResponse {
12
+ authorizeUrl: string;
13
+ }
14
+ export interface AuthTokenRequest {
15
+ grantType: 'authorization_code';
16
+ clientId: string;
17
+ redirectUri: string;
18
+ code: string;
19
+ codeVerifier: string;
20
+ }
21
+ export interface AuthTokenResponse {
22
+ token: string;
23
+ }
24
+ export interface AuthIdentity {
25
+ tokenType: 'project' | 'organization' | 'user';
26
+ name: string;
27
+ expiresAt: string | null;
28
+ subscriptionType: string | null;
29
+ subscriptionExpiresAt: string | null;
30
+ projectId: string | null;
31
+ organizationId: string | null;
32
+ userId: string | null;
33
+ }
34
+ //# sourceMappingURL=auth.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.types.d.ts","sourceRoot":"","sources":["../../../src/modules/auth/auth.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,eAAe,CAAC;AACvD,eAAO,MAAM,0BAA0B,eAAe,CAAC;AACvD,eAAO,MAAM,kCAAkC,SAAS,CAAC;AAEzD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,OAAO,kCAAkC,CAAC;IAC/D,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,oBAAoB,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,SAAS,GAAG,cAAc,GAAG,MAAM,CAAC;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB"}
@@ -0,0 +1,4 @@
1
+ export declare const createOAuthState: () => string;
2
+ export declare const createOAuthCodeVerifier: () => string;
3
+ export declare const createOAuthCodeChallenge: (verifier: string) => string;
4
+ //# sourceMappingURL=auth.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.utils.d.ts","sourceRoot":"","sources":["../../../src/modules/auth/auth.utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,QAAO,MAAsB,CAAC;AAE3D,eAAO,MAAM,uBAAuB,QAAO,MAA+C,CAAC;AAE3F,eAAO,MAAM,wBAAwB,GAAI,UAAU,MAAM,KAAG,MACD,CAAC"}
@@ -0,0 +1,43 @@
1
+ import type { BugBugApiClient } from '../../services/apiClient/apiClient';
2
+ import type { RequestOptions } from '../../types/config';
3
+ import type { ComponentsListQuery, ComponentsListResponse, ComponentUsageResponse } from '@bugbug-io/api-schema';
4
+ /**
5
+ * Components module for managing reusable test components
6
+ */
7
+ export declare class ComponentsModule {
8
+ #private;
9
+ constructor(client: BugBugApiClient);
10
+ /**
11
+ * List all components with optional filtering and pagination
12
+ *
13
+ * @param options - Query options including search query, page, and page size
14
+ * @returns Paginated list of components with nested structure
15
+ *
16
+ * @example
17
+ * ```typescript
18
+ * // List all components
19
+ * const components = await sdk.components.list();
20
+ *
21
+ * // Search for specific components
22
+ * const loginComponents = await sdk.components.list({
23
+ * query: 'login',
24
+ * cursor: nextToken,
25
+ * pageSize: 50
26
+ * });
27
+ * ```
28
+ */
29
+ list: (options?: {
30
+ query?: ComponentsListQuery["query"];
31
+ cursor?: ComponentsListQuery["cursor"];
32
+ pageSize?: ComponentsListQuery["page_size"];
33
+ ordering?: ComponentsListQuery["ordering"];
34
+ } & RequestOptions) => Promise<ComponentsListResponse>;
35
+ /**
36
+ * Fetch component usage — how many tests reference this component and which.
37
+ *
38
+ * @param componentId - UUID of the component.
39
+ * @returns `{ usage, testsIds }` from `GET /components/{id}/usage/`.
40
+ */
41
+ getUsage: (componentId: string, options?: RequestOptions) => Promise<ComponentUsageResponse>;
42
+ }
43
+ //# sourceMappingURL=components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/modules/components/components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAE/B;;GAEG;AACH,qBAAa,gBAAgB;;gBAGf,MAAM,EAAE,eAAe;IAInC;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI,GACF,UAAS;QACP,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;QACrC,MAAM,CAAC,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;QACvC,QAAQ,CAAC,EAAE,mBAAmB,CAAC,WAAW,CAAC,CAAC;QAC5C,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAC;KAC5C,GAAG,cAAmB,KACtB,OAAO,CAAC,sBAAsB,CAAC,CAYhC;IAEF;;;;;OAKG;IACH,QAAQ,GACN,aAAa,MAAM,EACnB,UAAS,cAAmB,KAC3B,OAAO,CAAC,sBAAsB,CAAC,CAI7B;CACN"}
@@ -0,0 +1,48 @@
1
+ import type { BugBugApiClient } from '../../services/apiClient/apiClient';
2
+ import type { RequestOptions } from '../../types/config';
3
+ import type { ApiStatus, ConnectivityStatus, SdkSystemInfo } from '../../types/sdk';
4
+ import type { IpAddressesResponse } from '@bugbug-io/api-schema';
5
+ /**
6
+ * Config module — BugBug-side configuration and connectivity probes.
7
+ *
8
+ * Used by integrators to check API reachability, get IP ranges for firewall
9
+ * allowlists, and surface a one-shot system summary.
10
+ */
11
+ export declare class ConfigModule {
12
+ #private;
13
+ constructor(client: BugBugApiClient);
14
+ /**
15
+ * Fetch the BugBug infrastructure IP ranges that should be allowlisted for
16
+ * outbound runner traffic.
17
+ */
18
+ getIpAddresses: (options?: RequestOptions) => Promise<IpAddressesResponse>;
19
+ /**
20
+ * Liveness probe + token check.
21
+ *
22
+ * `GET /config/status/` is unauthenticated. If the SDK's `apiToken` is sent,
23
+ * the server validates it and reports the result via `authenticated`; an
24
+ * invalid token still returns 200, so this method only throws on
25
+ * transport-level failures.
26
+ */
27
+ getStatus: (options?: RequestOptions) => Promise<ApiStatus>;
28
+ /**
29
+ * Probe API connectivity and authentication by making one lightweight call.
30
+ *
31
+ * Never throws — transport failures are returned as `connected: false` with
32
+ * the error message. When the call succeeds, `authenticated` reflects whether
33
+ * the configured API token is currently valid.
34
+ *
35
+ * @returns A `ConnectivityStatus` snapshot with response time and message.
36
+ */
37
+ testConnectivity: (options?: RequestOptions) => Promise<ConnectivityStatus>;
38
+ /**
39
+ * Single-shot system summary: IP ranges + connectivity probe.
40
+ *
41
+ * Internally issues one IP-fetch and reuses it as the connectivity probe to
42
+ * avoid duplicate requests.
43
+ *
44
+ * @returns A {@link SdkSystemInfo} snapshot with `{ ipAddresses, connectivity, timestamp }`.
45
+ */
46
+ getSystemInfo: (options?: RequestOptions) => Promise<SdkSystemInfo>;
47
+ }
48
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/modules/config/config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE;;;;;GAKG;AACH,qBAAa,YAAY;;gBAGX,MAAM,EAAE,eAAe;IAInC;;;OAGG;IACH,cAAc,GAAU,UAAS,cAAmB,KAAG,OAAO,CAAC,mBAAmB,CAAC,CAClB;IAEjE;;;;;;;OAOG;IACH,SAAS,GAAU,UAAS,cAAmB,KAAG,OAAO,CAAC,SAAS,CAAC,CACV;IAE1D;;;;;;;;OAQG;IACH,gBAAgB,GAAU,UAAS,cAAmB,KAAG,OAAO,CAAC,kBAAkB,CAAC,CAsBlF;IAEF;;;;;;;OAOG;IACH,aAAa,GAAU,UAAS,cAAmB,KAAG,OAAO,CAAC,aAAa,CAAC,CA4B1E;CACH"}
@@ -0,0 +1,62 @@
1
+ import type { BugBugApiClient } from '../../services/apiClient/apiClient';
2
+ import type { RequestOptions } from '../../types/config';
3
+ import type { Group, GroupCreateRequest, GroupsListQuery, GroupsListResponse, GroupUpdateRequest, GroupPartialUpdateRequest } from '@bugbug-io/api-schema';
4
+ /**
5
+ * Groups module — manage reusable test groups (also called "components" in
6
+ * the public BugBug UI). A group is an ordered list of steps that can be
7
+ * inlined into multiple tests via {@link TestsModule.linkComponent}.
8
+ */
9
+ export declare class GroupsModule {
10
+ #private;
11
+ constructor(client: BugBugApiClient);
12
+ /**
13
+ * List groups with pagination, search, and ordering.
14
+ *
15
+ * @param options.query - Search query matched against group name.
16
+ * @param options.ordering - Sort key; prefix with `-` for descending.
17
+ * @returns Paginated `GroupsListResponse`.
18
+ */
19
+ list: (options?: {
20
+ query?: GroupsListQuery["query"];
21
+ cursor?: GroupsListQuery["cursor"];
22
+ pageSize?: GroupsListQuery["page_size"];
23
+ ordering?: GroupsListQuery["ordering"];
24
+ } & RequestOptions) => Promise<GroupsListResponse>;
25
+ /**
26
+ * Fetch every group across all pages.
27
+ */
28
+ getAll: (options?: Omit<Parameters<GroupsModule["list"]>[0], "cursor">) => Promise<Group[]>;
29
+ /**
30
+ * Fetch a single group by ID (with nested steps).
31
+ *
32
+ * @throws {NotFoundError} When no group matches `groupId`.
33
+ */
34
+ get: (groupId: string, options?: RequestOptions) => Promise<Group>;
35
+ /**
36
+ * Create a new (empty) group.
37
+ *
38
+ * @throws {ValidationError} On invalid payload.
39
+ */
40
+ create: (data: GroupCreateRequest, options?: RequestOptions) => Promise<Group>;
41
+ /**
42
+ * Fully replace a group via PUT. Use {@link partialUpdate} for PATCH semantics.
43
+ *
44
+ * @throws {NotFoundError} When the group does not exist.
45
+ * @throws {ValidationError} On invalid payload.
46
+ */
47
+ update: (groupId: string, data: GroupUpdateRequest, options?: RequestOptions) => Promise<Group>;
48
+ /**
49
+ * Patch selected fields on a group (PATCH semantics).
50
+ *
51
+ * @throws {NotFoundError} When the group does not exist.
52
+ * @throws {ValidationError} On invalid payload.
53
+ */
54
+ partialUpdate: (groupId: string, data: GroupPartialUpdateRequest, options?: RequestOptions) => Promise<Group>;
55
+ /**
56
+ * Delete a group by ID. Tests that reference this group will lose those steps.
57
+ *
58
+ * @throws {NotFoundError} When the group does not exist.
59
+ */
60
+ delete: (groupId: string, options?: RequestOptions) => Promise<void>;
61
+ }
62
+ //# sourceMappingURL=groups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../src/modules/groups/groups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,KAAK,EACL,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,uBAAuB,CAAC;AAI/B;;;;GAIG;AACH,qBAAa,YAAY;;gBAGX,MAAM,EAAE,eAAe;IAInC;;;;;;OAMG;IACH,IAAI,GACF,UAAS;QACP,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;QACjC,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC;QACnC,QAAQ,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;QACxC,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;KACxC,GAAG,cAAmB,KACtB,OAAO,CAAC,kBAAkB,CAAC,CAY5B;IAEF;;OAEG;IACH,MAAM,GACJ,UAAS,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAM,KAChE,OAAO,CAAC,KAAK,EAAE,CAAC,CAC8D;IAEjF;;;;OAIG;IACH,GAAG,GAAU,SAAS,MAAM,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,KAAK,CAAC,CAItE;IAEL;;;;OAIG;IACH,MAAM,GAAU,MAAM,kBAAkB,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,KAAK,CAAC,CAIlF;IAEL;;;;;OAKG;IACH,MAAM,GACJ,SAAS,MAAM,EACf,MAAM,kBAAkB,EACxB,UAAS,cAAmB,KAC3B,OAAO,CAAC,KAAK,CAAC,CAKZ;IAEL;;;;;OAKG;IACH,aAAa,GACX,SAAS,MAAM,EACf,MAAM,yBAAyB,EAC/B,UAAS,cAAmB,KAC3B,OAAO,CAAC,KAAK,CAAC,CAKZ;IAEL;;;;OAIG;IACH,MAAM,GAAU,SAAS,MAAM,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,IAAI,CAAC,CAIxE;CACN"}
@@ -0,0 +1,71 @@
1
+ import type { BugBugApiClient } from '../../services/apiClient/apiClient';
2
+ import type { RequestOptions } from '../../types/config';
3
+ import type { ProfilesListQuery, ProfilesListResponse, Profile } from '@bugbug-io/api-schema';
4
+ /**
5
+ * Profiles module — list and resolve BugBug run profiles.
6
+ *
7
+ * Run profiles bundle browser/device/region settings used when starting a
8
+ * test or suite run. {@link resolveId} is the most commonly-used helper:
9
+ * it accepts either a UUID (passthrough) or a profile name (looked up).
10
+ */
11
+ export declare class ProfilesModule {
12
+ #private;
13
+ constructor(client: BugBugApiClient);
14
+ /**
15
+ * List run profiles, one page at a time.
16
+ *
17
+ * @param options.cursor - Opaque cursor returned as `nextToken` by the previous page.
18
+ * @param options.pageSize - Items per page.
19
+ * @returns Paginated `ProfilesListResponse` (validated via Zod).
20
+ * @throws {UnexpectedResponseError} On Zod validation failure.
21
+ */
22
+ list: (options?: {
23
+ cursor?: ProfilesListQuery["cursor"];
24
+ pageSize?: ProfilesListQuery["page_size"];
25
+ } & RequestOptions) => Promise<ProfilesListResponse>;
26
+ /**
27
+ * Fetch a single profile by ID.
28
+ *
29
+ * @throws {NotFoundError} When no profile matches `profileId`.
30
+ */
31
+ get: (profileId: string, options?: RequestOptions) => Promise<Profile>;
32
+ /**
33
+ * Find a profile by name across all pages.
34
+ *
35
+ * @returns The matching profile, or `null` when no profile has that name.
36
+ */
37
+ findByName: (profileName: string, options?: RequestOptions) => Promise<Profile | null>;
38
+ /**
39
+ * Fetch every profile across all pages.
40
+ *
41
+ * Internally follows `nextToken` until the API signals exhaustion.
42
+ * For large tenants this can issue multiple sequential requests; cache the
43
+ * result where possible.
44
+ */
45
+ getAll: (options?: RequestOptions) => Promise<Profile[]>;
46
+ /**
47
+ * Return the profile flagged `isDefault`, falling back to the first profile.
48
+ *
49
+ * @returns The default `Profile`, or `null` when the tenant has no profiles.
50
+ */
51
+ getDefault: (options?: RequestOptions) => Promise<Profile | null>;
52
+ /**
53
+ * Resolve a profile name **or** UUID to a profile UUID suitable for the
54
+ * `runProfileId` field on a run request.
55
+ *
56
+ * - UUID input → returned unchanged with **no** API call.
57
+ * - Name input → looked up via {@link findByName}.
58
+ *
59
+ * @param profileNameOrId - Human-readable profile name (e.g. `"Production"`) or UUID.
60
+ * @returns The matching profile UUID.
61
+ * @throws {NotFoundError} When `profileNameOrId` is not a UUID and no profile has that name.
62
+ *
63
+ * @example
64
+ * ```typescript
65
+ * const profileId = await sdk.profiles.resolveId('Production');
66
+ * await sdk.tests.startRun(testId, { profileName: profileId });
67
+ * ```
68
+ */
69
+ resolveId: (profileNameOrId: string, options?: RequestOptions) => Promise<string>;
70
+ }
71
+ //# sourceMappingURL=profiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../../src/modules/profiles/profiles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAK9F;;;;;;GAMG;AACH,qBAAa,cAAc;;gBAGb,MAAM,EAAE,eAAe;IAInC;;;;;;;OAOG;IACH,IAAI,GACF,UAAS;QACP,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;QACrC,QAAQ,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC;KAC3C,GAAG,cAAmB,KACtB,OAAO,CAAC,oBAAoB,CAAC,CAU9B;IAEF;;;;OAIG;IACH,GAAG,GAAU,WAAW,MAAM,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,OAAO,CAAC,CAI1E;IAEL;;;;OAIG;IACH,UAAU,GACR,aAAa,MAAM,EACnB,UAAS,cAAmB,KAC3B,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAGxB;IAEF;;;;;;OAMG;IACH,MAAM,GAAU,UAAS,cAAmB,KAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CACkB;IAEnF;;;;OAIG;IACH,UAAU,GAAU,UAAS,cAAmB,KAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAGxE;IAEF;;;;;;;;;;;;;;;;OAgBG;IACH,SAAS,GAAU,iBAAiB,MAAM,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,MAAM,CAAC,CAWxF;CACH"}
@@ -0,0 +1,58 @@
1
+ import type { BugBugApiClient } from '../../services/apiClient/apiClient';
2
+ import type { RequestOptions } from '../../types/config';
3
+ import type { ProjectSettings } from '@bugbug-io/api-schema';
4
+ /**
5
+ * Project-level operations: settings, ZIP export, and ZIP import.
6
+ *
7
+ * Import is exposed as a single high-level call — the API's two-step
8
+ * `validate → run` flow is handled internally. The validate step is what
9
+ * surfaces user-correctable errors (e.g. malformed ZIP, naming conflicts).
10
+ */
11
+ export declare class ProjectModule {
12
+ #private;
13
+ constructor(client: BugBugApiClient);
14
+ /**
15
+ * Fetch project settings (e.g. retention, integrations).
16
+ *
17
+ * @returns The `ProjectSettings` object for the project.
18
+ */
19
+ getSettings: (options?: RequestOptions) => Promise<ProjectSettings>;
20
+ /**
21
+ * Export the entire project as a ZIP archive (tests, suites, components,
22
+ * profiles, settings).
23
+ *
24
+ * @returns Raw ZIP bytes ready to be written to disk or uploaded elsewhere.
25
+ *
26
+ * @example
27
+ * ```typescript
28
+ * import { writeFile } from 'node:fs/promises';
29
+ * const zipBytes = await sdk.project.export();
30
+ * await writeFile('project.zip', zipBytes);
31
+ * ```
32
+ */
33
+ export: (options?: RequestOptions) => Promise<Uint8Array>;
34
+ /**
35
+ * Import a project from a ZIP archive.
36
+ *
37
+ * Performs the two-step server flow:
38
+ * 1. **Validate** the upload — surfaces server-side errors (malformed ZIP,
39
+ * naming conflicts, …) as {@link ValidationError}.
40
+ * 2. **Run** the import asynchronously using the validated upload id.
41
+ *
42
+ * @param zipBytes - Raw ZIP archive bytes.
43
+ * @returns The response from the import run endpoint (typically a 202 with
44
+ * empty body — kept as `unknown` until the API stabilizes the shape).
45
+ * @throws {UnexpectedResponseError} When validation succeeds but the server
46
+ * omits the `uploadId` needed to trigger the run step.
47
+ * @throws {ValidationError} When the ZIP is rejected by validate.
48
+ *
49
+ * @example
50
+ * ```typescript
51
+ * import { readFile } from 'node:fs/promises';
52
+ * const bytes = await readFile('project.zip');
53
+ * await sdk.project.import(bytes);
54
+ * ```
55
+ */
56
+ import: (zipBytes: Uint8Array, options?: RequestOptions) => Promise<unknown>;
57
+ }
58
+ //# sourceMappingURL=project.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../src/modules/project/project.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAI7D;;;;;;GAMG;AACH,qBAAa,aAAa;;gBAGZ,MAAM,EAAE,eAAe;IAInC;;;;OAIG;IACH,WAAW,GAAU,UAAS,cAAmB,KAAG,OAAO,CAAC,eAAe,CAAC,CACjB;IAE3D;;;;;;;;;;;;OAYG;IACH,MAAM,GAAU,UAAS,cAAmB,KAAG,OAAO,CAAC,UAAU,CAAC,CACZ;IAEtD;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,GAAU,UAAU,UAAU,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,OAAO,CAAC,CAYnF;CAoBH"}
@@ -0,0 +1,8 @@
1
+ import type { BugBugApiClient } from '../../services/apiClient/apiClient';
2
+ import type { ProjectArtifact, UploadProjectArtifactOptions } from './projectArtifacts.types';
3
+ export declare class ProjectArtifactsModule {
4
+ #private;
5
+ constructor(client: BugBugApiClient);
6
+ upload: ({ projectId, file, fileName, contentType, stepId, ...options }: UploadProjectArtifactOptions) => Promise<ProjectArtifact>;
7
+ }
8
+ //# sourceMappingURL=projectArtifacts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectArtifacts.d.ts","sourceRoot":"","sources":["../../../src/modules/projectArtifacts/projectArtifacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAE9F,qBAAa,sBAAsB;;gBAGrB,MAAM,EAAE,eAAe;IAInC,MAAM,GAAU,gEAOb,4BAA4B,KAAG,OAAO,CAAC,eAAe,CAAC,CAaxD;CACH"}
@@ -0,0 +1,14 @@
1
+ import type { RequestOptions } from '../../types/config';
2
+ export interface ProjectArtifact {
3
+ id: string;
4
+ project: string;
5
+ file: string;
6
+ }
7
+ export interface UploadProjectArtifactOptions extends RequestOptions {
8
+ projectId: string;
9
+ file: Uint8Array | Blob;
10
+ fileName: string;
11
+ contentType?: string;
12
+ stepId?: string;
13
+ }
14
+ //# sourceMappingURL=projectArtifacts.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectArtifacts.types.d.ts","sourceRoot":"","sources":["../../../src/modules/projectArtifacts/projectArtifacts.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,4BAA6B,SAAQ,cAAc;IAClE,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,36 @@
1
+ import type { BugBugApiClient } from '../../services/apiClient/apiClient';
2
+ import type { RequestOptions } from '../../types/config';
3
+ import type { Project, ProjectsListQuery, ProjectsListResponse } from './projects.types';
4
+ /**
5
+ * Projects module — lists the projects the current token can access.
6
+ */
7
+ export declare class ProjectsModule {
8
+ #private;
9
+ constructor(client: BugBugApiClient);
10
+ /**
11
+ * List projects accessible with the current token, one page at a time.
12
+ *
13
+ * @param options.cursor - Opaque cursor returned as `nextToken` by the previous page.
14
+ * @param options.pageSize - Items per page.
15
+ * @param options.query - Case-insensitive name filter.
16
+ * @returns Paginated `ProjectsListResponse`.
17
+ */
18
+ list: (options?: {
19
+ cursor?: ProjectsListQuery["cursor"];
20
+ pageSize?: ProjectsListQuery["page_size"];
21
+ query?: ProjectsListQuery["query"];
22
+ } & RequestOptions) => Promise<ProjectsListResponse>;
23
+ /**
24
+ * Fetch every project across all pages.
25
+ *
26
+ * Internally follows `nextToken` until the API signals exhaustion.
27
+ */
28
+ getAll: (options?: RequestOptions) => Promise<Project[]>;
29
+ /**
30
+ * Find a project by its id across all pages.
31
+ *
32
+ * @returns The matching project, or `null` when no project has that id.
33
+ */
34
+ findById: (projectId: string, options?: RequestOptions) => Promise<Project | null>;
35
+ }
36
+ //# sourceMappingURL=projects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/modules/projects/projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAIzF;;GAEG;AACH,qBAAa,cAAc;;gBAGb,MAAM,EAAE,eAAe;IAInC;;;;;;;OAOG;IACH,IAAI,GACF,UAAS;QACP,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;QACrC,QAAQ,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC;QAC1C,KAAK,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;KACpC,GAAG,cAAmB,KACtB,OAAO,CAAC,oBAAoB,CAAC,CAY9B;IAEF;;;;OAIG;IACH,MAAM,GAAU,UAAS,cAAmB,KAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CACkB;IAEnF;;;;OAIG;IACH,QAAQ,GAAU,WAAW,MAAM,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAGzF;CACH"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Project-listing types, sourced from the generated API schema
3
+ * (`GET /api/v2/projects/`).
4
+ */
5
+ export type { Project, ProjectsListResponse, ProjectsListQuery } from '@bugbug-io/api-schema';
6
+ //# sourceMappingURL=projects.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.types.d.ts","sourceRoot":"","sources":["../../../src/modules/projects/projects.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,YAAY,EAAE,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { BugBugApiClient } from '../../services/apiClient/apiClient';
2
+ import type { RequestOptions } from '../../types/config';
3
+ import type { StepRunDetails } from '@bugbug-io/api-schema';
4
+ /**
5
+ * Step runs module — fetch per-step execution details from a test run.
6
+ *
7
+ * Used to drill down into failure diagnostics: each test run owns N step
8
+ * runs, each of which carries timing, error code, and screenshot metadata.
9
+ */
10
+ export declare class StepRunsModule {
11
+ #private;
12
+ constructor(client: BugBugApiClient);
13
+ /**
14
+ * Fetch full details for a single step run.
15
+ *
16
+ * @param stepRunId - UUID of the step run (from a `TestRun.stepsRuns` entry).
17
+ * @returns The step-run record including error code and timing.
18
+ * @throws {NotFoundError} When no step run matches `stepRunId`.
19
+ */
20
+ get: (stepRunId: string, options?: RequestOptions) => Promise<StepRunDetails>;
21
+ }
22
+ //# sourceMappingURL=stepRuns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepRuns.d.ts","sourceRoot":"","sources":["../../../src/modules/stepRuns/stepRuns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;;;;GAKG;AACH,qBAAa,cAAc;;gBAGb,MAAM,EAAE,eAAe;IAInC;;;;;;OAMG;IACH,GAAG,GAAU,WAAW,MAAM,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,cAAc,CAAC,CAIjF;CACN"}
@@ -0,0 +1,47 @@
1
+ import type { BugBugApiClient } from '../../services/apiClient/apiClient';
2
+ import type { RequestOptions } from '../../types/config';
3
+ import type { StepDetails, StepCreateRequest, StepUpdateRequest, StepPatchRequest } from '@bugbug-io/api-schema';
4
+ /**
5
+ * Steps module — CRUD over individual test steps.
6
+ *
7
+ * Steps belong to a group ({@link GroupsModule}). To list a group's steps,
8
+ * fetch the group and read `group.steps` — there is no `/steps/` list endpoint.
9
+ */
10
+ export declare class StepsModule {
11
+ #private;
12
+ constructor(client: BugBugApiClient);
13
+ /**
14
+ * Fetch full details of a single step.
15
+ *
16
+ * @throws {NotFoundError} When no step matches `stepId`.
17
+ */
18
+ get: (stepId: string, options?: RequestOptions) => Promise<StepDetails>;
19
+ /**
20
+ * Create a new step inside an existing group.
21
+ *
22
+ * @param data - Step payload; `type` discriminates the validation schema.
23
+ * @throws {ValidationError} On invalid payload (DRF field errors on `error.fields`).
24
+ */
25
+ create: (data: StepCreateRequest, options?: RequestOptions) => Promise<StepDetails>;
26
+ /**
27
+ * Fully replace a step via PUT. Use {@link partialUpdate} for PATCH semantics.
28
+ *
29
+ * @throws {NotFoundError} When the step does not exist.
30
+ * @throws {ValidationError} On invalid payload.
31
+ */
32
+ update: (stepId: string, data: StepUpdateRequest, options?: RequestOptions) => Promise<StepDetails>;
33
+ /**
34
+ * Patch selected fields on a step (PATCH semantics).
35
+ *
36
+ * @throws {NotFoundError} When the step does not exist.
37
+ * @throws {ValidationError} On invalid payload.
38
+ */
39
+ partialUpdate: (stepId: string, data: StepPatchRequest, options?: RequestOptions) => Promise<StepDetails>;
40
+ /**
41
+ * Delete a step by ID.
42
+ *
43
+ * @throws {NotFoundError} When the step does not exist.
44
+ */
45
+ delete: (stepId: string, options?: RequestOptions) => Promise<void>;
46
+ }
47
+ //# sourceMappingURL=steps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../src/modules/steps/steps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAE/B;;;;;GAKG;AACH,qBAAa,WAAW;;gBAGV,MAAM,EAAE,eAAe;IAInC;;;;OAIG;IACH,GAAG,GAAU,QAAQ,MAAM,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,WAAW,CAAC,CAI3E;IAEL;;;;;OAKG;IACH,MAAM,GAAU,MAAM,iBAAiB,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,WAAW,CAAC,CAIvF;IAEL;;;;;OAKG;IACH,MAAM,GACJ,QAAQ,MAAM,EACd,MAAM,iBAAiB,EACvB,UAAS,cAAmB,KAC3B,OAAO,CAAC,WAAW,CAAC,CAKlB;IAEL;;;;;OAKG;IACH,aAAa,GACX,QAAQ,MAAM,EACd,MAAM,gBAAgB,EACtB,UAAS,cAAmB,KAC3B,OAAO,CAAC,WAAW,CAAC,CAKlB;IAEL;;;;OAIG;IACH,MAAM,GAAU,QAAQ,MAAM,EAAE,UAAS,cAAmB,KAAG,OAAO,CAAC,IAAI,CAAC,CAIvE;CACN"}
@@ -0,0 +1,11 @@
1
+ import type { StepType } from '@bugbug-io/api-schema';
2
+ export declare const ASSERTION_STEP_TYPES: readonly ["assert", "ifCondition"];
3
+ export declare const VISUAL_REGRESSION_STEP_TYPES: readonly ["elementVisualRegression", "pageVisualRegression"];
4
+ export declare const isAssertionStepType: (stepType: StepType | string | null | undefined) => boolean;
5
+ /**
6
+ * True when the step type is a visual-regression step (`elementVisualRegression`
7
+ * or `pageVisualRegression`), i.e. it carries an observed-vs-max screenshot diff.
8
+ * Accepts loose input (e.g. a step run's `type` string).
9
+ */
10
+ export declare const isVisualRegressionStepType: (stepType: StepType | string | null | undefined) => boolean;
11
+ //# sourceMappingURL=steps.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"steps.utils.d.ts","sourceRoot":"","sources":["../../../src/modules/steps/steps.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD,eAAO,MAAM,oBAAoB,oCAGO,CAAC;AAEzC,eAAO,MAAM,4BAA4B,8DAGD,CAAC;AAEzC,eAAO,MAAM,mBAAmB,GAAI,UAAU,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,KAAG,OACW,CAAC;AAEjG;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GACrC,UAAU,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,KAC7C,OAEqE,CAAC"}