@nirvana-labs/nirvana 1.46.2 → 1.47.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.
- package/CHANGELOG.md +26 -0
- package/client.d.mts +5 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -5
- package/client.d.ts.map +1 -1
- package/client.js +12 -5
- package/client.js.map +1 -1
- package/client.mjs +12 -5
- package/client.mjs.map +1 -1
- package/internal/tslib.js +6 -6
- package/package.json +1 -1
- package/resources/api-keys/api-keys.d.mts +168 -0
- package/resources/api-keys/api-keys.d.mts.map +1 -0
- package/resources/api-keys/api-keys.d.ts +168 -0
- package/resources/api-keys/api-keys.d.ts.map +1 -0
- package/resources/api-keys/api-keys.js +76 -0
- package/resources/api-keys/api-keys.js.map +1 -0
- package/resources/api-keys/api-keys.mjs +72 -0
- package/resources/api-keys/api-keys.mjs.map +1 -0
- package/resources/api-keys/index.d.mts +2 -0
- package/resources/api-keys/index.d.mts.map +1 -0
- package/resources/api-keys/index.d.ts +2 -0
- package/resources/api-keys/index.d.ts.map +1 -0
- package/resources/api-keys/index.js +7 -0
- package/resources/api-keys/index.js.map +1 -0
- package/resources/api-keys/index.mjs +3 -0
- package/resources/api-keys/index.mjs.map +1 -0
- package/resources/api-keys.d.mts +1 -167
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +1 -167
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/api-keys.js +2 -72
- package/resources/api-keys.js.map +1 -1
- package/resources/api-keys.mjs +1 -70
- package/resources/api-keys.mjs.map +1 -1
- package/resources/compute/vms/vms.d.mts +1 -1
- package/resources/compute/vms/vms.d.mts.map +1 -1
- package/resources/compute/vms/vms.d.ts +1 -1
- package/resources/compute/vms/vms.d.ts.map +1 -1
- package/resources/compute/volumes/volumes.d.mts +1 -1
- package/resources/compute/volumes/volumes.d.mts.map +1 -1
- package/resources/compute/volumes/volumes.d.ts +1 -1
- package/resources/compute/volumes/volumes.d.ts.map +1 -1
- package/resources/networking/connect/connections.d.mts +1 -1
- package/resources/networking/connect/connections.d.mts.map +1 -1
- package/resources/networking/connect/connections.d.ts +1 -1
- package/resources/networking/connect/connections.d.ts.map +1 -1
- package/resources/networking/firewall-rules.d.mts +1 -1
- package/resources/networking/firewall-rules.d.mts.map +1 -1
- package/resources/networking/firewall-rules.d.ts +1 -1
- package/resources/networking/firewall-rules.d.ts.map +1 -1
- package/resources/networking/vpcs/vpcs.d.mts +1 -1
- package/resources/networking/vpcs/vpcs.d.mts.map +1 -1
- package/resources/networking/vpcs/vpcs.d.ts +1 -1
- package/resources/networking/vpcs/vpcs.d.ts.map +1 -1
- package/resources/operations/index.d.mts +2 -0
- package/resources/operations/index.d.mts.map +1 -0
- package/resources/operations/index.d.ts +2 -0
- package/resources/operations/index.d.ts.map +1 -0
- package/resources/operations/index.js +7 -0
- package/resources/operations/index.js.map +1 -0
- package/resources/operations/index.mjs +3 -0
- package/resources/operations/index.mjs.map +1 -0
- package/resources/operations/operations.d.mts +82 -0
- package/resources/operations/operations.d.mts.map +1 -0
- package/resources/operations/operations.d.ts +82 -0
- package/resources/operations/operations.d.ts.map +1 -0
- package/resources/operations/operations.js +23 -0
- package/resources/operations/operations.js.map +1 -0
- package/resources/operations/operations.mjs +19 -0
- package/resources/operations/operations.mjs.map +1 -0
- package/resources/operations.d.mts +1 -81
- package/resources/operations.d.mts.map +1 -1
- package/resources/operations.d.ts +1 -81
- package/resources/operations.d.ts.map +1 -1
- package/resources/operations.js +2 -19
- package/resources/operations.js.map +1 -1
- package/resources/operations.mjs +1 -17
- package/resources/operations.mjs.map +1 -1
- package/resources/organizations/index.d.mts +2 -0
- package/resources/organizations/index.d.mts.map +1 -0
- package/resources/organizations/index.d.ts +2 -0
- package/resources/organizations/index.d.ts.map +1 -0
- package/resources/organizations/index.js +7 -0
- package/resources/organizations/index.js.map +1 -0
- package/resources/organizations/index.mjs +3 -0
- package/resources/organizations/index.mjs.map +1 -0
- package/resources/organizations/organizations.d.mts +103 -0
- package/resources/organizations/organizations.d.mts.map +1 -0
- package/resources/organizations/organizations.d.ts +103 -0
- package/resources/organizations/organizations.d.ts.map +1 -0
- package/resources/organizations/organizations.js +64 -0
- package/resources/organizations/organizations.js.map +1 -0
- package/resources/organizations/organizations.mjs +60 -0
- package/resources/organizations/organizations.mjs.map +1 -0
- package/resources/organizations.d.mts +1 -102
- package/resources/organizations.d.mts.map +1 -1
- package/resources/organizations.d.ts +1 -102
- package/resources/organizations.d.ts.map +1 -1
- package/resources/organizations.js +2 -60
- package/resources/organizations.js.map +1 -1
- package/resources/organizations.mjs +1 -58
- package/resources/organizations.mjs.map +1 -1
- package/resources/projects/index.d.mts +2 -0
- package/resources/projects/index.d.mts.map +1 -0
- package/resources/projects/index.d.ts +2 -0
- package/resources/projects/index.d.ts.map +1 -0
- package/resources/projects/index.js +7 -0
- package/resources/projects/index.js.map +1 -0
- package/resources/projects/index.mjs +3 -0
- package/resources/projects/index.mjs.map +1 -0
- package/resources/projects/projects.d.mts +171 -0
- package/resources/projects/projects.d.mts.map +1 -0
- package/resources/projects/projects.d.ts +171 -0
- package/resources/projects/projects.d.ts.map +1 -0
- package/resources/projects/projects.js +75 -0
- package/resources/projects/projects.js.map +1 -0
- package/resources/projects/projects.mjs +71 -0
- package/resources/projects/projects.mjs.map +1 -0
- package/resources/projects.d.mts +1 -174
- package/resources/projects.d.mts.map +1 -1
- package/resources/projects.d.ts +1 -174
- package/resources/projects.d.ts.map +1 -1
- package/resources/projects.js +2 -71
- package/resources/projects.js.map +1 -1
- package/resources/projects.mjs +1 -69
- package/resources/projects.mjs.map +1 -1
- package/resources/regions/index.d.mts +2 -0
- package/resources/regions/index.d.mts.map +1 -0
- package/resources/regions/index.d.ts +2 -0
- package/resources/regions/index.d.ts.map +1 -0
- package/resources/regions/index.js +7 -0
- package/resources/regions/index.js.map +1 -0
- package/resources/regions/index.mjs +3 -0
- package/resources/regions/index.mjs.map +1 -0
- package/resources/regions/regions.d.mts +108 -0
- package/resources/regions/regions.d.mts.map +1 -0
- package/resources/regions/regions.d.ts +108 -0
- package/resources/regions/regions.d.ts.map +1 -0
- package/resources/regions/regions.js +36 -0
- package/resources/regions/regions.js.map +1 -0
- package/resources/regions/regions.mjs +32 -0
- package/resources/regions/regions.mjs.map +1 -0
- package/resources/regions.d.mts +1 -107
- package/resources/regions.d.mts.map +1 -1
- package/resources/regions.d.ts +1 -107
- package/resources/regions.d.ts.map +1 -1
- package/resources/regions.js +2 -32
- package/resources/regions.js.map +1 -1
- package/resources/regions.mjs +1 -30
- package/resources/regions.mjs.map +1 -1
- package/src/client.ts +13 -5
- package/src/resources/api-keys/api-keys.ts +223 -0
- package/src/resources/api-keys/api.md +14 -0
- package/src/resources/api-keys/index.ts +3 -0
- package/src/resources/api-keys.ts +1 -221
- package/src/resources/compute/api.md +68 -0
- package/src/resources/compute/vms/vms.ts +1 -1
- package/src/resources/compute/volumes/volumes.ts +1 -1
- package/src/resources/networking/api.md +67 -0
- package/src/resources/networking/connect/connections.ts +1 -1
- package/src/resources/networking/firewall-rules.ts +1 -1
- package/src/resources/networking/vpcs/vpcs.ts +1 -1
- package/src/resources/operations/api.md +14 -0
- package/src/resources/operations/index.ts +3 -0
- package/src/resources/operations/operations.ts +114 -0
- package/src/resources/operations.ts +1 -112
- package/src/resources/organizations/api.md +13 -0
- package/src/resources/organizations/index.ts +3 -0
- package/src/resources/organizations/organizations.ts +142 -0
- package/src/resources/organizations.ts +1 -140
- package/src/resources/projects/api.md +14 -0
- package/src/resources/projects/index.ts +3 -0
- package/src/resources/projects/projects.ts +224 -0
- package/src/resources/projects.ts +1 -227
- package/src/resources/regions/api.md +12 -0
- package/src/resources/regions/index.ts +3 -0
- package/src/resources/regions/regions.ts +140 -0
- package/src/resources/regions.ts +1 -138
- package/src/resources/rpc-nodes/api.md +44 -0
- package/src/resources/user/api.md +20 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Operations = void 0;
|
|
5
|
+
var operations_1 = require("./operations.js");
|
|
6
|
+
Object.defineProperty(exports, "Operations", { enumerable: true, get: function () { return operations_1.Operations; } });
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/operations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAA0C;AAAjC,wGAAA,UAAU,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/operations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,UAAU,EAAE"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as Shared from "../shared.mjs";
|
|
3
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
4
|
+
import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.mjs";
|
|
5
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
6
|
+
export declare class Operations extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* List all operations
|
|
9
|
+
*/
|
|
10
|
+
list(query: OperationListParams, options?: RequestOptions): PagePromise<OperationsCursor, Operation>;
|
|
11
|
+
/**
|
|
12
|
+
* Get details about a specific operation
|
|
13
|
+
*/
|
|
14
|
+
get(operationID: string, options?: RequestOptions): APIPromise<Operation>;
|
|
15
|
+
}
|
|
16
|
+
export type OperationsCursor = Cursor<Operation>;
|
|
17
|
+
/**
|
|
18
|
+
* Operation details.
|
|
19
|
+
*/
|
|
20
|
+
export interface Operation {
|
|
21
|
+
/**
|
|
22
|
+
* Unique identifier for the Operation.
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* When the Operation was created.
|
|
27
|
+
*/
|
|
28
|
+
created_at: string;
|
|
29
|
+
/**
|
|
30
|
+
* Kind of Operation.
|
|
31
|
+
*/
|
|
32
|
+
kind: OperationKind;
|
|
33
|
+
/**
|
|
34
|
+
* Project ID the Operation belongs to.
|
|
35
|
+
*/
|
|
36
|
+
project_id: string;
|
|
37
|
+
/**
|
|
38
|
+
* ID of the resource that the Operation is acting on.
|
|
39
|
+
*/
|
|
40
|
+
resource_id: string;
|
|
41
|
+
/**
|
|
42
|
+
* Status of the Operation.
|
|
43
|
+
*/
|
|
44
|
+
status: OperationStatus;
|
|
45
|
+
/**
|
|
46
|
+
* Type of Operation.
|
|
47
|
+
*/
|
|
48
|
+
type: OperationType;
|
|
49
|
+
/**
|
|
50
|
+
* When the Operation was updated.
|
|
51
|
+
*/
|
|
52
|
+
updated_at: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Kind of Operation.
|
|
56
|
+
*/
|
|
57
|
+
export type OperationKind = 'vm' | 'volume' | 'vpc' | 'firewall_rule';
|
|
58
|
+
export interface OperationList {
|
|
59
|
+
items: Array<Operation>;
|
|
60
|
+
/**
|
|
61
|
+
* Pagination response details.
|
|
62
|
+
*/
|
|
63
|
+
pagination: Shared.Pagination;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Status of the Operation.
|
|
67
|
+
*/
|
|
68
|
+
export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
69
|
+
/**
|
|
70
|
+
* Type of Operation.
|
|
71
|
+
*/
|
|
72
|
+
export type OperationType = 'create' | 'update' | 'delete' | 'restart';
|
|
73
|
+
export interface OperationListParams extends CursorParams {
|
|
74
|
+
/**
|
|
75
|
+
* Project ID of resources to request
|
|
76
|
+
*/
|
|
77
|
+
project_id: string;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace Operations {
|
|
80
|
+
export { type Operation as Operation, type OperationKind as OperationKind, type OperationList as OperationList, type OperationStatus as OperationStatus, type OperationType as OperationType, type OperationsCursor as OperationsCursor, type OperationListParams as OperationListParams, };
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=operations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.mts","sourceRoot":"","sources":["../../src/resources/operations/operations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,gBAAgB,EAAE,SAAS,CAAC;IAIpG;;OAEG;IACH,GAAG,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;CAG1E;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,EAAE,eAAe,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,QAAQ,GAAG,KAAK,GAAG,eAAe,CAAC;AAEtE,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAExB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEpF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEvE,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as Shared from "../shared.js";
|
|
3
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
4
|
+
import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.js";
|
|
5
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
6
|
+
export declare class Operations extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* List all operations
|
|
9
|
+
*/
|
|
10
|
+
list(query: OperationListParams, options?: RequestOptions): PagePromise<OperationsCursor, Operation>;
|
|
11
|
+
/**
|
|
12
|
+
* Get details about a specific operation
|
|
13
|
+
*/
|
|
14
|
+
get(operationID: string, options?: RequestOptions): APIPromise<Operation>;
|
|
15
|
+
}
|
|
16
|
+
export type OperationsCursor = Cursor<Operation>;
|
|
17
|
+
/**
|
|
18
|
+
* Operation details.
|
|
19
|
+
*/
|
|
20
|
+
export interface Operation {
|
|
21
|
+
/**
|
|
22
|
+
* Unique identifier for the Operation.
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* When the Operation was created.
|
|
27
|
+
*/
|
|
28
|
+
created_at: string;
|
|
29
|
+
/**
|
|
30
|
+
* Kind of Operation.
|
|
31
|
+
*/
|
|
32
|
+
kind: OperationKind;
|
|
33
|
+
/**
|
|
34
|
+
* Project ID the Operation belongs to.
|
|
35
|
+
*/
|
|
36
|
+
project_id: string;
|
|
37
|
+
/**
|
|
38
|
+
* ID of the resource that the Operation is acting on.
|
|
39
|
+
*/
|
|
40
|
+
resource_id: string;
|
|
41
|
+
/**
|
|
42
|
+
* Status of the Operation.
|
|
43
|
+
*/
|
|
44
|
+
status: OperationStatus;
|
|
45
|
+
/**
|
|
46
|
+
* Type of Operation.
|
|
47
|
+
*/
|
|
48
|
+
type: OperationType;
|
|
49
|
+
/**
|
|
50
|
+
* When the Operation was updated.
|
|
51
|
+
*/
|
|
52
|
+
updated_at: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Kind of Operation.
|
|
56
|
+
*/
|
|
57
|
+
export type OperationKind = 'vm' | 'volume' | 'vpc' | 'firewall_rule';
|
|
58
|
+
export interface OperationList {
|
|
59
|
+
items: Array<Operation>;
|
|
60
|
+
/**
|
|
61
|
+
* Pagination response details.
|
|
62
|
+
*/
|
|
63
|
+
pagination: Shared.Pagination;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Status of the Operation.
|
|
67
|
+
*/
|
|
68
|
+
export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
69
|
+
/**
|
|
70
|
+
* Type of Operation.
|
|
71
|
+
*/
|
|
72
|
+
export type OperationType = 'create' | 'update' | 'delete' | 'restart';
|
|
73
|
+
export interface OperationListParams extends CursorParams {
|
|
74
|
+
/**
|
|
75
|
+
* Project ID of resources to request
|
|
76
|
+
*/
|
|
77
|
+
project_id: string;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace Operations {
|
|
80
|
+
export { type Operation as Operation, type OperationKind as OperationKind, type OperationList as OperationList, type OperationStatus as OperationStatus, type OperationType as OperationType, type OperationsCursor as OperationsCursor, type OperationListParams as OperationListParams, };
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/resources/operations/operations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,gBAAgB,EAAE,SAAS,CAAC;IAIpG;;OAEG;IACH,GAAG,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;CAG1E;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,EAAE,eAAe,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,QAAQ,GAAG,KAAK,GAAG,eAAe,CAAC;AAEtE,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAExB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEpF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEvE,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Operations = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../../core/pagination.js");
|
|
7
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
8
|
+
class Operations extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* List all operations
|
|
11
|
+
*/
|
|
12
|
+
list(query, options) {
|
|
13
|
+
return this._client.getAPIList('/v1/operations', (pagination_1.Cursor), { query, ...options });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Get details about a specific operation
|
|
17
|
+
*/
|
|
18
|
+
get(operationID, options) {
|
|
19
|
+
return this._client.get((0, path_1.path) `/v1/operations/${operationID}`, options);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.Operations = Operations;
|
|
23
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/resources/operations/operations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAA+E;AAE/E,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;OAEG;IACH,IAAI,CAAC,KAA0B,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAA,mBAAiB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,WAAmB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;CACF;AAdD,gCAcC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { Cursor } from "../../core/pagination.mjs";
|
|
4
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
5
|
+
export class Operations extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List all operations
|
|
8
|
+
*/
|
|
9
|
+
list(query, options) {
|
|
10
|
+
return this._client.getAPIList('/v1/operations', (Cursor), { query, ...options });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Get details about a specific operation
|
|
14
|
+
*/
|
|
15
|
+
get(operationID, options) {
|
|
16
|
+
return this._client.get(path `/v1/operations/${operationID}`, options);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=operations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.mjs","sourceRoot":"","sources":["../../src/resources/operations/operations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,MAAM,EAAkC;OAE1C,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,IAAI,CAAC,KAA0B,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAA,MAAiB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,WAAmB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,kBAAkB,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;CACF"}
|
|
@@ -1,82 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import * as Shared from "./shared.mjs";
|
|
3
|
-
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
|
-
import { Cursor, type CursorParams, PagePromise } from "../core/pagination.mjs";
|
|
5
|
-
import { RequestOptions } from "../internal/request-options.mjs";
|
|
6
|
-
export declare class Operations extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* List all operations
|
|
9
|
-
*/
|
|
10
|
-
list(query: OperationListParams, options?: RequestOptions): PagePromise<OperationsCursor, Operation>;
|
|
11
|
-
/**
|
|
12
|
-
* Get details about a specific operation
|
|
13
|
-
*/
|
|
14
|
-
get(operationID: string, options?: RequestOptions): APIPromise<Operation>;
|
|
15
|
-
}
|
|
16
|
-
export type OperationsCursor = Cursor<Operation>;
|
|
17
|
-
/**
|
|
18
|
-
* Operation details.
|
|
19
|
-
*/
|
|
20
|
-
export interface Operation {
|
|
21
|
-
/**
|
|
22
|
-
* Unique identifier for the Operation.
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
* When the Operation was created.
|
|
27
|
-
*/
|
|
28
|
-
created_at: string;
|
|
29
|
-
/**
|
|
30
|
-
* Kind of Operation.
|
|
31
|
-
*/
|
|
32
|
-
kind: OperationKind;
|
|
33
|
-
/**
|
|
34
|
-
* Project ID the Operation belongs to.
|
|
35
|
-
*/
|
|
36
|
-
project_id: string;
|
|
37
|
-
/**
|
|
38
|
-
* ID of the resource that the Operation is acting on.
|
|
39
|
-
*/
|
|
40
|
-
resource_id: string;
|
|
41
|
-
/**
|
|
42
|
-
* Status of the Operation.
|
|
43
|
-
*/
|
|
44
|
-
status: OperationStatus;
|
|
45
|
-
/**
|
|
46
|
-
* Type of Operation.
|
|
47
|
-
*/
|
|
48
|
-
type: OperationType;
|
|
49
|
-
/**
|
|
50
|
-
* When the Operation was updated.
|
|
51
|
-
*/
|
|
52
|
-
updated_at: string;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Kind of Operation.
|
|
56
|
-
*/
|
|
57
|
-
export type OperationKind = 'vm' | 'volume' | 'vpc' | 'firewall_rule';
|
|
58
|
-
export interface OperationList {
|
|
59
|
-
items: Array<Operation>;
|
|
60
|
-
/**
|
|
61
|
-
* Pagination response details.
|
|
62
|
-
*/
|
|
63
|
-
pagination: Shared.Pagination;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Status of the Operation.
|
|
67
|
-
*/
|
|
68
|
-
export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
69
|
-
/**
|
|
70
|
-
* Type of Operation.
|
|
71
|
-
*/
|
|
72
|
-
export type OperationType = 'create' | 'update' | 'delete' | 'restart';
|
|
73
|
-
export interface OperationListParams extends CursorParams {
|
|
74
|
-
/**
|
|
75
|
-
* Project ID of resources to request
|
|
76
|
-
*/
|
|
77
|
-
project_id: string;
|
|
78
|
-
}
|
|
79
|
-
export declare namespace Operations {
|
|
80
|
-
export { type Operation as Operation, type OperationKind as OperationKind, type OperationList as OperationList, type OperationStatus as OperationStatus, type OperationType as OperationType, type OperationsCursor as OperationsCursor, type OperationListParams as OperationListParams, };
|
|
81
|
-
}
|
|
1
|
+
export * from "./operations/index.mjs";
|
|
82
2
|
//# sourceMappingURL=operations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.mts","sourceRoot":"","sources":["../src/resources/operations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"operations.d.mts","sourceRoot":"","sources":["../src/resources/operations.ts"],"names":[],"mappings":""}
|
|
@@ -1,82 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import * as Shared from "./shared.js";
|
|
3
|
-
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
-
import { Cursor, type CursorParams, PagePromise } from "../core/pagination.js";
|
|
5
|
-
import { RequestOptions } from "../internal/request-options.js";
|
|
6
|
-
export declare class Operations extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* List all operations
|
|
9
|
-
*/
|
|
10
|
-
list(query: OperationListParams, options?: RequestOptions): PagePromise<OperationsCursor, Operation>;
|
|
11
|
-
/**
|
|
12
|
-
* Get details about a specific operation
|
|
13
|
-
*/
|
|
14
|
-
get(operationID: string, options?: RequestOptions): APIPromise<Operation>;
|
|
15
|
-
}
|
|
16
|
-
export type OperationsCursor = Cursor<Operation>;
|
|
17
|
-
/**
|
|
18
|
-
* Operation details.
|
|
19
|
-
*/
|
|
20
|
-
export interface Operation {
|
|
21
|
-
/**
|
|
22
|
-
* Unique identifier for the Operation.
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
* When the Operation was created.
|
|
27
|
-
*/
|
|
28
|
-
created_at: string;
|
|
29
|
-
/**
|
|
30
|
-
* Kind of Operation.
|
|
31
|
-
*/
|
|
32
|
-
kind: OperationKind;
|
|
33
|
-
/**
|
|
34
|
-
* Project ID the Operation belongs to.
|
|
35
|
-
*/
|
|
36
|
-
project_id: string;
|
|
37
|
-
/**
|
|
38
|
-
* ID of the resource that the Operation is acting on.
|
|
39
|
-
*/
|
|
40
|
-
resource_id: string;
|
|
41
|
-
/**
|
|
42
|
-
* Status of the Operation.
|
|
43
|
-
*/
|
|
44
|
-
status: OperationStatus;
|
|
45
|
-
/**
|
|
46
|
-
* Type of Operation.
|
|
47
|
-
*/
|
|
48
|
-
type: OperationType;
|
|
49
|
-
/**
|
|
50
|
-
* When the Operation was updated.
|
|
51
|
-
*/
|
|
52
|
-
updated_at: string;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Kind of Operation.
|
|
56
|
-
*/
|
|
57
|
-
export type OperationKind = 'vm' | 'volume' | 'vpc' | 'firewall_rule';
|
|
58
|
-
export interface OperationList {
|
|
59
|
-
items: Array<Operation>;
|
|
60
|
-
/**
|
|
61
|
-
* Pagination response details.
|
|
62
|
-
*/
|
|
63
|
-
pagination: Shared.Pagination;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Status of the Operation.
|
|
67
|
-
*/
|
|
68
|
-
export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
69
|
-
/**
|
|
70
|
-
* Type of Operation.
|
|
71
|
-
*/
|
|
72
|
-
export type OperationType = 'create' | 'update' | 'delete' | 'restart';
|
|
73
|
-
export interface OperationListParams extends CursorParams {
|
|
74
|
-
/**
|
|
75
|
-
* Project ID of resources to request
|
|
76
|
-
*/
|
|
77
|
-
project_id: string;
|
|
78
|
-
}
|
|
79
|
-
export declare namespace Operations {
|
|
80
|
-
export { type Operation as Operation, type OperationKind as OperationKind, type OperationList as OperationList, type OperationStatus as OperationStatus, type OperationType as OperationType, type OperationsCursor as OperationsCursor, type OperationListParams as OperationListParams, };
|
|
81
|
-
}
|
|
1
|
+
export * from "./operations/index.js";
|
|
82
2
|
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/resources/operations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/resources/operations.ts"],"names":[],"mappings":""}
|
package/resources/operations.js
CHANGED
|
@@ -1,23 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const pagination_1 = require("../core/pagination.js");
|
|
7
|
-
const path_1 = require("../internal/utils/path.js");
|
|
8
|
-
class Operations extends resource_1.APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* List all operations
|
|
11
|
-
*/
|
|
12
|
-
list(query, options) {
|
|
13
|
-
return this._client.getAPIList('/v1/operations', (pagination_1.Cursor), { query, ...options });
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Get details about a specific operation
|
|
17
|
-
*/
|
|
18
|
-
get(operationID, options) {
|
|
19
|
-
return this._client.get((0, path_1.path) `/v1/operations/${operationID}`, options);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.Operations = Operations;
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./operations/index.js"), exports);
|
|
23
6
|
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../src/resources/operations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../src/resources/operations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gEAAmC"}
|
package/resources/operations.mjs
CHANGED
|
@@ -1,19 +1,3 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { Cursor } from "../core/pagination.mjs";
|
|
4
|
-
import { path } from "../internal/utils/path.mjs";
|
|
5
|
-
export class Operations extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* List all operations
|
|
8
|
-
*/
|
|
9
|
-
list(query, options) {
|
|
10
|
-
return this._client.getAPIList('/v1/operations', (Cursor), { query, ...options });
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Get details about a specific operation
|
|
14
|
-
*/
|
|
15
|
-
get(operationID, options) {
|
|
16
|
-
return this._client.get(path `/v1/operations/${operationID}`, options);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
2
|
+
export * from "./operations/index.mjs";
|
|
19
3
|
//# sourceMappingURL=operations.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.mjs","sourceRoot":"","sources":["../src/resources/operations.ts"],"names":[],"mappings":"AAAA,sFAAsF
|
|
1
|
+
{"version":3,"file":"operations.mjs","sourceRoot":"","sources":["../src/resources/operations.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"OAEO,EAAE,aAAa,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"OAEO,EAAE,aAAa,EAAE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Organizations = void 0;
|
|
5
|
+
var organizations_1 = require("./organizations.js");
|
|
6
|
+
Object.defineProperty(exports, "Organizations", { enumerable: true, get: function () { return organizations_1.Organizations; } });
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAAgD;AAAvC,8GAAA,aAAa,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,aAAa,EAAE"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as Shared from "../shared.mjs";
|
|
3
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
4
|
+
import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.mjs";
|
|
5
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
6
|
+
export declare class Organizations extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Create a new organization
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const organization = await client.organizations.create({
|
|
13
|
+
* name: 'My Organization',
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
create(body: OrganizationCreateParams, options?: RequestOptions): APIPromise<Organization>;
|
|
18
|
+
/**
|
|
19
|
+
* Update an existing organization
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const organization = await client.organizations.update(
|
|
24
|
+
* 'organization_id',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
update(organizationID: string, body: OrganizationUpdateParams, options?: RequestOptions): APIPromise<Organization>;
|
|
29
|
+
/**
|
|
30
|
+
* List organizations
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* // Automatically fetches more pages as needed.
|
|
35
|
+
* for await (const organization of client.organizations.list()) {
|
|
36
|
+
* // ...
|
|
37
|
+
* }
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
list(query?: OrganizationListParams | null | undefined, options?: RequestOptions): PagePromise<OrganizationsCursor, Organization>;
|
|
41
|
+
/**
|
|
42
|
+
* Get details about an Organization
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const organization = await client.organizations.get(
|
|
47
|
+
* 'organization_id',
|
|
48
|
+
* );
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
get(organizationID: string, options?: RequestOptions): APIPromise<Organization>;
|
|
52
|
+
}
|
|
53
|
+
export type OrganizationsCursor = Cursor<Organization>;
|
|
54
|
+
/**
|
|
55
|
+
* Organization response.
|
|
56
|
+
*/
|
|
57
|
+
export interface Organization {
|
|
58
|
+
/**
|
|
59
|
+
* Organization ID.
|
|
60
|
+
*/
|
|
61
|
+
id: string;
|
|
62
|
+
/**
|
|
63
|
+
* When the Organization was created.
|
|
64
|
+
*/
|
|
65
|
+
created_at: string;
|
|
66
|
+
/**
|
|
67
|
+
* Organization name.
|
|
68
|
+
*/
|
|
69
|
+
name: string;
|
|
70
|
+
/**
|
|
71
|
+
* When the Organization was updated.
|
|
72
|
+
*/
|
|
73
|
+
updated_at: string;
|
|
74
|
+
/**
|
|
75
|
+
* Authentication provider organization ID.
|
|
76
|
+
*/
|
|
77
|
+
auth_id?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface OrganizationList {
|
|
80
|
+
items: Array<Organization>;
|
|
81
|
+
/**
|
|
82
|
+
* Pagination response details.
|
|
83
|
+
*/
|
|
84
|
+
pagination: Shared.Pagination;
|
|
85
|
+
}
|
|
86
|
+
export interface OrganizationCreateParams {
|
|
87
|
+
/**
|
|
88
|
+
* Organization name.
|
|
89
|
+
*/
|
|
90
|
+
name: string;
|
|
91
|
+
}
|
|
92
|
+
export interface OrganizationUpdateParams {
|
|
93
|
+
/**
|
|
94
|
+
* Organization name.
|
|
95
|
+
*/
|
|
96
|
+
name?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface OrganizationListParams extends CursorParams {
|
|
99
|
+
}
|
|
100
|
+
export declare namespace Organizations {
|
|
101
|
+
export { type Organization as Organization, type OrganizationList as OrganizationList, type OrganizationsCursor as OrganizationsCursor, type OrganizationCreateParams as OrganizationCreateParams, type OrganizationUpdateParams as OrganizationUpdateParams, type OrganizationListParams as OrganizationListParams, };
|
|
102
|
+
}
|
|
103
|
+
//# sourceMappingURL=organizations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;IAI1F;;;;;;;;;OASG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC;IAI3B;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,mBAAmB,EAAE,YAAY,CAAC;IAIjD;;;;;;;;;OASG;IACH,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;CAGhF;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAE3B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC;CAC/B;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAuB,SAAQ,YAAY;CAAG;AAE/D,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|