@rippling/rippling-sdk 0.2.0-alpha.96 → 0.2.0-alpha.97
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/client.d.mts +12 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -0
- package/client.d.ts.map +1 -1
- package/client.js +12 -0
- package/client.js.map +1 -1
- package/client.mjs +12 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/draft-transitions.d.mts +474 -0
- package/resources/draft-transitions.d.mts.map +1 -0
- package/resources/draft-transitions.d.ts +474 -0
- package/resources/draft-transitions.d.ts.map +1 -0
- package/resources/draft-transitions.js +25 -0
- package/resources/draft-transitions.js.map +1 -0
- package/resources/draft-transitions.mjs +21 -0
- package/resources/draft-transitions.mjs.map +1 -0
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +6 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/package-managed-installs.d.mts +119 -0
- package/resources/package-managed-installs.d.mts.map +1 -0
- package/resources/package-managed-installs.d.ts +119 -0
- package/resources/package-managed-installs.d.ts.map +1 -0
- package/resources/package-managed-installs.js +26 -0
- package/resources/package-managed-installs.js.map +1 -0
- package/resources/package-managed-installs.mjs +22 -0
- package/resources/package-managed-installs.mjs.map +1 -0
- package/src/client.ts +36 -0
- package/src/resources/draft-transitions.ts +583 -0
- package/src/resources/index.ts +12 -0
- package/src/resources/package-managed-installs.ts +156 -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,156 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
import { path } from '../internal/utils/path';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Author, publish, and install Unity Packages V2 packages
|
|
10
|
+
*/
|
|
11
|
+
export class PackageManagedInstalls extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Start installing a published managed package version asynchronously. Unmanaged
|
|
14
|
+
* packages must use POST /package-installs/ instead.
|
|
15
|
+
*/
|
|
16
|
+
create(
|
|
17
|
+
body: PackageManagedInstallCreateParams,
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): APIPromise<PackageManagedInstallCreateResponse> {
|
|
20
|
+
return this._client.post('/package-managed-installs/', { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Retrieve the status of a managed package install.
|
|
25
|
+
*/
|
|
26
|
+
retrieve(installID: string, options?: RequestOptions): APIPromise<PackageManagedInstallRetrieveResponse> {
|
|
27
|
+
return this._client.get(path`/package-managed-installs/${installID}/`, options);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Living managed package install in a subscriber company.
|
|
33
|
+
*/
|
|
34
|
+
export interface PackageManagedInstallCreateResponse {
|
|
35
|
+
/**
|
|
36
|
+
* Identifier field
|
|
37
|
+
*/
|
|
38
|
+
id: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Record creation date
|
|
42
|
+
*/
|
|
43
|
+
created_at: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Record update date
|
|
47
|
+
*/
|
|
48
|
+
updated_at: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The install key of the managed package install
|
|
52
|
+
*/
|
|
53
|
+
install_key?: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The published package version currently installed or being installed
|
|
57
|
+
*/
|
|
58
|
+
installed_version_id?: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The package key of the managed package
|
|
62
|
+
*/
|
|
63
|
+
package_key?: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Component to open after installation completes
|
|
67
|
+
*/
|
|
68
|
+
post_install_landing_component?: unknown;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Installation progress entries
|
|
72
|
+
*/
|
|
73
|
+
progress?: Array<unknown>;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Managed install status (INSTALLING, UPDATING, UNINSTALLING, ACTIVE,
|
|
77
|
+
* ACTIVE_WITH_WARNINGS, UNINSTALLED, FAILED, or UNINSTALL_FAILED)
|
|
78
|
+
*/
|
|
79
|
+
status?: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Living managed package install in a subscriber company.
|
|
84
|
+
*/
|
|
85
|
+
export interface PackageManagedInstallRetrieveResponse {
|
|
86
|
+
/**
|
|
87
|
+
* Identifier field
|
|
88
|
+
*/
|
|
89
|
+
id: string;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Record creation date
|
|
93
|
+
*/
|
|
94
|
+
created_at: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Record update date
|
|
98
|
+
*/
|
|
99
|
+
updated_at: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* The install key of the managed package install
|
|
103
|
+
*/
|
|
104
|
+
install_key?: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The published package version currently installed or being installed
|
|
108
|
+
*/
|
|
109
|
+
installed_version_id?: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* The package key of the managed package
|
|
113
|
+
*/
|
|
114
|
+
package_key?: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Component to open after installation completes
|
|
118
|
+
*/
|
|
119
|
+
post_install_landing_component?: unknown;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Installation progress entries
|
|
123
|
+
*/
|
|
124
|
+
progress?: Array<unknown>;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Managed install status (INSTALLING, UPDATING, UNINSTALLING, ACTIVE,
|
|
128
|
+
* ACTIVE_WITH_WARNINGS, UNINSTALLED, FAILED, or UNINSTALL_FAILED)
|
|
129
|
+
*/
|
|
130
|
+
status?: string;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export interface PackageManagedInstallCreateParams {
|
|
134
|
+
/**
|
|
135
|
+
* The install key for this managed package install.
|
|
136
|
+
*/
|
|
137
|
+
install_key: string;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* The package key of the managed package to install.
|
|
141
|
+
*/
|
|
142
|
+
package_key: string;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* The published package version to install.
|
|
146
|
+
*/
|
|
147
|
+
version_id: string;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export declare namespace PackageManagedInstalls {
|
|
151
|
+
export {
|
|
152
|
+
type PackageManagedInstallCreateResponse as PackageManagedInstallCreateResponse,
|
|
153
|
+
type PackageManagedInstallRetrieveResponse as PackageManagedInstallRetrieveResponse,
|
|
154
|
+
type PackageManagedInstallCreateParams as PackageManagedInstallCreateParams,
|
|
155
|
+
};
|
|
156
|
+
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.97'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.97";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.97";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.2.0-alpha.
|
|
4
|
+
exports.VERSION = '0.2.0-alpha.97'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.97'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|