@37signals/basecamp 0.19.0 → 0.20.0
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/dist/client.d.ts +1 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1 -3
- package/dist/client.js.map +1 -1
- package/dist/generated/metadata.js +1 -1
- package/dist/generated/metadata.ts +1 -1
- package/dist/generated/openapi-stripped.json +44 -44
- package/dist/generated/services/index.d.ts +0 -1
- package/dist/generated/services/index.d.ts.map +1 -1
- package/dist/generated/services/index.js +0 -1
- package/dist/generated/services/index.js.map +1 -1
- package/dist/generated/services/index.ts +0 -1
- package/dist/generated/services/lineup.d.ts +13 -0
- package/dist/generated/services/lineup.d.ts.map +1 -1
- package/dist/generated/services/lineup.js +18 -0
- package/dist/generated/services/lineup.js.map +1 -1
- package/dist/generated/services/lineup.ts +26 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/generated/metadata.ts +1 -1
- package/src/generated/openapi-stripped.json +44 -44
- package/src/generated/services/index.ts +0 -1
- package/src/generated/services/lineup.ts +26 -0
- package/dist/generated/services/automation.d.ts +0 -25
- package/dist/generated/services/automation.d.ts.map +0 -1
- package/dist/generated/services/automation.js +0 -33
- package/dist/generated/services/automation.js.map +0 -1
- package/dist/generated/services/automation.ts +0 -49
- package/src/generated/services/automation.ts +0 -49
|
@@ -12,6 +12,8 @@ import { Errors } from "../../errors.js";
|
|
|
12
12
|
// Types
|
|
13
13
|
// =============================================================================
|
|
14
14
|
|
|
15
|
+
/** LineupMarker entity from the Basecamp API. */
|
|
16
|
+
export type LineupMarker = components["schemas"]["LineupMarker"];
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
19
|
* Request parameters for create.
|
|
@@ -43,6 +45,30 @@ export interface UpdateLineupRequest {
|
|
|
43
45
|
*/
|
|
44
46
|
export class LineupService extends BaseService {
|
|
45
47
|
|
|
48
|
+
/**
|
|
49
|
+
* List all lineup markers for the account
|
|
50
|
+
* @returns Array of LineupMarker
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const result = await client.lineup.listLineupMarkers();
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
async listLineupMarkers(): Promise<LineupMarker[]> {
|
|
58
|
+
const response = await this.request(
|
|
59
|
+
{
|
|
60
|
+
service: "Lineup",
|
|
61
|
+
operation: "ListLineupMarkers",
|
|
62
|
+
resourceType: "lineup_marker",
|
|
63
|
+
isMutation: false,
|
|
64
|
+
},
|
|
65
|
+
() =>
|
|
66
|
+
this.client.GET("/lineup/markers.json", {
|
|
67
|
+
})
|
|
68
|
+
);
|
|
69
|
+
return response ?? [];
|
|
70
|
+
}
|
|
71
|
+
|
|
46
72
|
/**
|
|
47
73
|
* Create a new lineup marker
|
|
48
74
|
* @param req - Lineup_marker creation parameters
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Automation service for the Basecamp API.
|
|
3
|
-
*
|
|
4
|
-
* @generated from OpenAPI spec - do not edit directly
|
|
5
|
-
*/
|
|
6
|
-
import { BaseService } from "../../services/base.js";
|
|
7
|
-
import type { components } from "../schema.js";
|
|
8
|
-
/** LineupMarker entity from the Basecamp API. */
|
|
9
|
-
export type LineupMarker = components["schemas"]["LineupMarker"];
|
|
10
|
-
/**
|
|
11
|
-
* Service for Automation operations.
|
|
12
|
-
*/
|
|
13
|
-
export declare class AutomationService extends BaseService {
|
|
14
|
-
/**
|
|
15
|
-
* List all lineup markers for the account
|
|
16
|
-
* @returns Array of LineupMarker
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* const result = await client.automation.listLineupMarkers();
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
listLineupMarkers(): Promise<LineupMarker[]>;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=automation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"automation.d.ts","sourceRoot":"","sources":["../../../src/generated/services/automation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM/C,iDAAiD;AACjD,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAC;AAMjE;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,WAAW;IAEhD;;;;;;;;OAQG;IACG,iBAAiB,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;CAcnD"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Automation service for the Basecamp API.
|
|
3
|
-
*
|
|
4
|
-
* @generated from OpenAPI spec - do not edit directly
|
|
5
|
-
*/
|
|
6
|
-
import { BaseService } from "../../services/base.js";
|
|
7
|
-
// =============================================================================
|
|
8
|
-
// Service
|
|
9
|
-
// =============================================================================
|
|
10
|
-
/**
|
|
11
|
-
* Service for Automation operations.
|
|
12
|
-
*/
|
|
13
|
-
export class AutomationService extends BaseService {
|
|
14
|
-
/**
|
|
15
|
-
* List all lineup markers for the account
|
|
16
|
-
* @returns Array of LineupMarker
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* const result = await client.automation.listLineupMarkers();
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
async listLineupMarkers() {
|
|
24
|
-
const response = await this.request({
|
|
25
|
-
service: "Automation",
|
|
26
|
-
operation: "ListLineupMarkers",
|
|
27
|
-
resourceType: "lineup_marker",
|
|
28
|
-
isMutation: false,
|
|
29
|
-
}, () => this.client.GET("/lineup/markers.json", {}));
|
|
30
|
-
return response ?? [];
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=automation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"automation.js","sourceRoot":"","sources":["../../../src/generated/services/automation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAUrD,gFAAgF;AAChF,UAAU;AACV,gFAAgF;AAEhF;;GAEG;AACH,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAEhD;;;;;;;;OAQG;IACH,KAAK,CAAC,iBAAiB;QACrB,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,OAAO,EAAE,YAAY;YACrB,SAAS,EAAE,mBAAmB;YAC9B,YAAY,EAAE,eAAe;YAC7B,UAAU,EAAE,KAAK;SAClB,EACD,GAAG,EAAE,CACH,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,sBAAsB,EAAE,EACvC,CAAC,CACL,CAAC;QACF,OAAO,QAAQ,IAAI,EAAE,CAAC;IACxB,CAAC;CACF"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Automation service for the Basecamp API.
|
|
3
|
-
*
|
|
4
|
-
* @generated from OpenAPI spec - do not edit directly
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { BaseService } from "../../services/base.js";
|
|
8
|
-
import type { components } from "../schema.js";
|
|
9
|
-
|
|
10
|
-
// =============================================================================
|
|
11
|
-
// Types
|
|
12
|
-
// =============================================================================
|
|
13
|
-
|
|
14
|
-
/** LineupMarker entity from the Basecamp API. */
|
|
15
|
-
export type LineupMarker = components["schemas"]["LineupMarker"];
|
|
16
|
-
|
|
17
|
-
// =============================================================================
|
|
18
|
-
// Service
|
|
19
|
-
// =============================================================================
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Service for Automation operations.
|
|
23
|
-
*/
|
|
24
|
-
export class AutomationService extends BaseService {
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* List all lineup markers for the account
|
|
28
|
-
* @returns Array of LineupMarker
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```ts
|
|
32
|
-
* const result = await client.automation.listLineupMarkers();
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
async listLineupMarkers(): Promise<LineupMarker[]> {
|
|
36
|
-
const response = await this.request(
|
|
37
|
-
{
|
|
38
|
-
service: "Automation",
|
|
39
|
-
operation: "ListLineupMarkers",
|
|
40
|
-
resourceType: "lineup_marker",
|
|
41
|
-
isMutation: false,
|
|
42
|
-
},
|
|
43
|
-
() =>
|
|
44
|
-
this.client.GET("/lineup/markers.json", {
|
|
45
|
-
})
|
|
46
|
-
);
|
|
47
|
-
return response ?? [];
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Automation service for the Basecamp API.
|
|
3
|
-
*
|
|
4
|
-
* @generated from OpenAPI spec - do not edit directly
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { BaseService } from "../../services/base.js";
|
|
8
|
-
import type { components } from "../schema.js";
|
|
9
|
-
|
|
10
|
-
// =============================================================================
|
|
11
|
-
// Types
|
|
12
|
-
// =============================================================================
|
|
13
|
-
|
|
14
|
-
/** LineupMarker entity from the Basecamp API. */
|
|
15
|
-
export type LineupMarker = components["schemas"]["LineupMarker"];
|
|
16
|
-
|
|
17
|
-
// =============================================================================
|
|
18
|
-
// Service
|
|
19
|
-
// =============================================================================
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Service for Automation operations.
|
|
23
|
-
*/
|
|
24
|
-
export class AutomationService extends BaseService {
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* List all lineup markers for the account
|
|
28
|
-
* @returns Array of LineupMarker
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```ts
|
|
32
|
-
* const result = await client.automation.listLineupMarkers();
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
async listLineupMarkers(): Promise<LineupMarker[]> {
|
|
36
|
-
const response = await this.request(
|
|
37
|
-
{
|
|
38
|
-
service: "Automation",
|
|
39
|
-
operation: "ListLineupMarkers",
|
|
40
|
-
resourceType: "lineup_marker",
|
|
41
|
-
isMutation: false,
|
|
42
|
-
},
|
|
43
|
-
() =>
|
|
44
|
-
this.client.GET("/lineup/markers.json", {
|
|
45
|
-
})
|
|
46
|
-
);
|
|
47
|
-
return response ?? [];
|
|
48
|
-
}
|
|
49
|
-
}
|