@rippling/rippling-sdk 0.2.0-alpha.95 → 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 +78 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +78 -6
- package/client.d.ts.map +1 -1
- package/client.js +73 -1
- package/client.js.map +1 -1
- package/client.mjs +73 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents/sessions/index.d.mts +1 -0
- package/resources/agents/sessions/index.d.mts.map +1 -1
- package/resources/agents/sessions/index.d.ts +1 -0
- package/resources/agents/sessions/index.d.ts.map +1 -1
- package/resources/agents/sessions/index.js +3 -1
- package/resources/agents/sessions/index.js.map +1 -1
- package/resources/agents/sessions/index.mjs +1 -0
- package/resources/agents/sessions/index.mjs.map +1 -1
- package/resources/agents/sessions/messages.d.mts +24 -0
- package/resources/agents/sessions/messages.d.mts.map +1 -1
- package/resources/agents/sessions/messages.d.ts +24 -0
- package/resources/agents/sessions/messages.d.ts.map +1 -1
- package/resources/agents/sessions/resume-state.d.mts +25 -0
- package/resources/agents/sessions/resume-state.d.mts.map +1 -0
- package/resources/agents/sessions/resume-state.d.ts +25 -0
- package/resources/agents/sessions/resume-state.d.ts.map +1 -0
- package/resources/agents/sessions/resume-state.js +19 -0
- package/resources/agents/sessions/resume-state.js.map +1 -0
- package/resources/agents/sessions/resume-state.mjs +15 -0
- package/resources/agents/sessions/resume-state.mjs.map +1 -0
- package/resources/agents/sessions/sessions.d.mts +91 -0
- package/resources/agents/sessions/sessions.d.mts.map +1 -1
- package/resources/agents/sessions/sessions.d.ts +91 -0
- package/resources/agents/sessions/sessions.d.ts.map +1 -1
- package/resources/agents/sessions/sessions.js +4 -0
- package/resources/agents/sessions/sessions.js.map +1 -1
- package/resources/agents/sessions/sessions.mjs +4 -0
- package/resources/agents/sessions/sessions.mjs.map +1 -1
- package/resources/background-check-candidates.d.mts +337 -0
- package/resources/background-check-candidates.d.mts.map +1 -0
- package/resources/background-check-candidates.d.ts +337 -0
- package/resources/background-check-candidates.d.ts.map +1 -0
- package/resources/background-check-candidates.js +52 -0
- package/resources/background-check-candidates.js.map +1 -0
- package/resources/background-check-candidates.mjs +48 -0
- package/resources/background-check-candidates.mjs.map +1 -0
- package/resources/business-structure-paths.d.mts +54 -1
- package/resources/business-structure-paths.d.mts.map +1 -1
- package/resources/business-structure-paths.d.ts +54 -1
- package/resources/business-structure-paths.d.ts.map +1 -1
- package/resources/business-structure-paths.js +16 -0
- package/resources/business-structure-paths.js.map +1 -1
- package/resources/business-structure-paths.mjs +16 -0
- package/resources/business-structure-paths.mjs.map +1 -1
- package/resources/developer-program-application.d.mts +176 -0
- package/resources/developer-program-application.d.mts.map +1 -0
- package/resources/developer-program-application.d.ts +176 -0
- package/resources/developer-program-application.d.ts.map +1 -0
- package/resources/developer-program-application.js +27 -0
- package/resources/developer-program-application.js.map +1 -0
- package/resources/developer-program-application.mjs +23 -0
- package/resources/developer-program-application.mjs.map +1 -0
- package/resources/developer-users.d.mts +53 -0
- package/resources/developer-users.d.mts.map +1 -0
- package/resources/developer-users.d.ts +53 -0
- package/resources/developer-users.d.ts.map +1 -0
- package/resources/developer-users.js +25 -0
- package/resources/developer-users.js.map +1 -0
- package/resources/developer-users.mjs +21 -0
- package/resources/developer-users.mjs.map +1 -0
- 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/earnings-inputs.d.mts +30 -0
- package/resources/earnings-inputs.d.mts.map +1 -1
- package/resources/earnings-inputs.d.ts +30 -0
- package/resources/earnings-inputs.d.ts.map +1 -1
- package/resources/hire-requirements.d.mts +112 -0
- package/resources/hire-requirements.d.mts.map +1 -0
- package/resources/hire-requirements.d.ts +112 -0
- package/resources/hire-requirements.d.ts.map +1 -0
- package/resources/hire-requirements.js +19 -0
- package/resources/hire-requirements.js.map +1 -0
- package/resources/hire-requirements.mjs +15 -0
- package/resources/hire-requirements.mjs.map +1 -0
- package/resources/hires.d.mts +657 -0
- package/resources/hires.d.mts.map +1 -0
- package/resources/hires.d.ts +657 -0
- package/resources/hires.d.ts.map +1 -0
- package/resources/hires.js +25 -0
- package/resources/hires.js.map +1 -0
- package/resources/hires.mjs +21 -0
- package/resources/hires.mjs.map +1 -0
- package/resources/index.d.mts +15 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +15 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +27 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +13 -1
- package/resources/index.mjs.map +1 -1
- package/resources/listing-submissions.d.mts +86 -0
- package/resources/listing-submissions.d.mts.map +1 -0
- package/resources/listing-submissions.d.ts +86 -0
- package/resources/listing-submissions.d.ts.map +1 -0
- package/resources/listing-submissions.js +31 -0
- package/resources/listing-submissions.js.map +1 -0
- package/resources/listing-submissions.mjs +27 -0
- package/resources/listing-submissions.mjs.map +1 -0
- package/resources/listing-transitions.d.mts +59 -0
- package/resources/listing-transitions.d.mts.map +1 -0
- package/resources/listing-transitions.d.ts +59 -0
- package/resources/listing-transitions.d.ts.map +1 -0
- package/resources/listing-transitions.js +24 -0
- package/resources/listing-transitions.js.map +1 -0
- package/resources/listing-transitions.mjs +20 -0
- package/resources/listing-transitions.mjs.map +1 -0
- package/resources/listing.d.mts +1818 -0
- package/resources/listing.d.mts.map +1 -0
- package/resources/listing.d.ts +1818 -0
- package/resources/listing.d.ts.map +1 -0
- package/resources/listing.js +70 -0
- package/resources/listing.js.map +1 -0
- package/resources/listing.mjs +66 -0
- package/resources/listing.mjs.map +1 -0
- 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/resources/package-sandbox-links.d.mts +150 -0
- package/resources/package-sandbox-links.d.mts.map +1 -0
- package/resources/package-sandbox-links.d.ts +150 -0
- package/resources/package-sandbox-links.d.ts.map +1 -0
- package/resources/package-sandbox-links.js +25 -0
- package/resources/package-sandbox-links.js.map +1 -0
- package/resources/package-sandbox-links.mjs +21 -0
- package/resources/package-sandbox-links.mjs.map +1 -0
- package/resources/package-versions/index.d.mts +3 -0
- package/resources/package-versions/index.d.mts.map +1 -0
- package/resources/package-versions/index.d.ts +3 -0
- package/resources/package-versions/index.d.ts.map +1 -0
- package/resources/package-versions/index.js +9 -0
- package/resources/package-versions/index.js.map +1 -0
- package/resources/package-versions/index.mjs +4 -0
- package/resources/package-versions/index.mjs.map +1 -0
- package/resources/package-versions/package-versions.d.mts +114 -0
- package/resources/package-versions/package-versions.d.mts.map +1 -0
- package/resources/package-versions/package-versions.d.ts +114 -0
- package/resources/package-versions/package-versions.d.ts.map +1 -0
- package/resources/package-versions/package-versions.js +33 -0
- package/resources/package-versions/package-versions.js.map +1 -0
- package/resources/package-versions/package-versions.mjs +28 -0
- package/resources/package-versions/package-versions.mjs.map +1 -0
- package/resources/package-versions/publish.d.mts +58 -0
- package/resources/package-versions/publish.d.mts.map +1 -0
- package/resources/package-versions/publish.d.ts +58 -0
- package/resources/package-versions/publish.d.ts.map +1 -0
- package/resources/package-versions/publish.js +19 -0
- package/resources/package-versions/publish.js.map +1 -0
- package/resources/package-versions/publish.mjs +15 -0
- package/resources/package-versions/publish.mjs.map +1 -0
- package/resources/package-versions.d.mts +1 -63
- package/resources/package-versions.d.mts.map +1 -1
- package/resources/package-versions.d.ts +1 -63
- package/resources/package-versions.d.ts.map +1 -1
- package/resources/package-versions.js +2 -15
- package/resources/package-versions.js.map +1 -1
- package/resources/package-versions.mjs +1 -13
- package/resources/package-versions.mjs.map +1 -1
- package/resources/packages/index.d.mts +1 -1
- package/resources/packages/index.d.mts.map +1 -1
- package/resources/packages/index.d.ts +1 -1
- package/resources/packages/index.d.ts.map +1 -1
- package/resources/packages/index.js.map +1 -1
- package/resources/packages/index.mjs +1 -1
- package/resources/packages/index.mjs.map +1 -1
- package/resources/packages/packages.d.mts +10 -10
- package/resources/packages/packages.d.mts.map +1 -1
- package/resources/packages/packages.d.ts +10 -10
- package/resources/packages/packages.d.ts.map +1 -1
- package/resources/packages/packages.js +11 -11
- package/resources/packages/packages.js.map +1 -1
- package/resources/packages/packages.mjs +12 -12
- package/resources/packages/packages.mjs.map +1 -1
- package/resources/packages/versions.d.mts +57 -2
- package/resources/packages/versions.d.mts.map +1 -1
- package/resources/packages/versions.d.ts +57 -2
- package/resources/packages/versions.d.ts.map +1 -1
- package/resources/packages/versions.js +8 -1
- package/resources/packages/versions.js.map +1 -1
- package/resources/packages/versions.mjs +8 -1
- package/resources/packages/versions.mjs.map +1 -1
- package/resources/sandboxes.d.mts +35 -22
- package/resources/sandboxes.d.mts.map +1 -1
- package/resources/sandboxes.d.ts +35 -22
- package/resources/sandboxes.d.ts.map +1 -1
- package/resources/sandboxes.js +6 -0
- package/resources/sandboxes.js.map +1 -1
- package/resources/sandboxes.mjs +6 -0
- package/resources/sandboxes.mjs.map +1 -1
- package/resources/sites.d.mts +2 -1
- package/resources/sites.d.mts.map +1 -1
- package/resources/sites.d.ts +2 -1
- package/resources/sites.d.ts.map +1 -1
- package/resources/workers.d.mts +41 -0
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +41 -0
- package/resources/workers.d.ts.map +1 -1
- package/resources/workflows.d.mts +768 -0
- package/resources/workflows.d.mts.map +1 -0
- package/resources/workflows.d.ts +768 -0
- package/resources/workflows.d.ts.map +1 -0
- package/resources/workflows.js +48 -0
- package/resources/workflows.js.map +1 -0
- package/resources/workflows.mjs +44 -0
- package/resources/workflows.mjs.map +1 -0
- package/src/client.ts +277 -5
- package/src/resources/agents/sessions/index.ts +1 -0
- package/src/resources/agents/sessions/messages.ts +28 -0
- package/src/resources/agents/sessions/resume-state.ts +32 -0
- package/src/resources/agents/sessions/sessions.ts +107 -0
- package/src/resources/background-check-candidates.ts +434 -0
- package/src/resources/business-structure-paths.ts +78 -0
- package/src/resources/developer-program-application.ts +233 -0
- package/src/resources/developer-users.ts +77 -0
- package/src/resources/draft-transitions.ts +583 -0
- package/src/resources/earnings-inputs.ts +36 -0
- package/src/resources/hire-requirements.ts +140 -0
- package/src/resources/hires.ts +786 -0
- package/src/resources/index.ts +99 -1
- package/src/resources/listing-submissions.ts +120 -0
- package/src/resources/listing-transitions.ts +84 -0
- package/src/resources/listing.ts +2297 -0
- package/src/resources/package-managed-installs.ts +156 -0
- package/src/resources/package-sandbox-links.ts +195 -0
- package/src/resources/package-versions/index.ts +9 -0
- package/src/resources/package-versions/package-versions.ts +156 -0
- package/src/resources/package-versions/publish.ts +74 -0
- package/src/resources/package-versions.ts +1 -86
- package/src/resources/packages/index.ts +8 -1
- package/src/resources/packages/packages.ts +26 -12
- package/src/resources/packages/versions.ts +83 -1
- package/src/resources/sandboxes.ts +45 -24
- package/src/resources/sites.ts +2 -1
- package/src/resources/workers.ts +46 -0
- package/src/resources/workflows.ts +1434 -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
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
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 PackageSandboxLinks extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Link a package to a sandbox in EDIT or INSTALL mode.
|
|
14
|
+
*/
|
|
15
|
+
create(
|
|
16
|
+
body: PackageSandboxLinkCreateParams,
|
|
17
|
+
options?: RequestOptions,
|
|
18
|
+
): APIPromise<PackageSandboxLinkCreateResponse> {
|
|
19
|
+
return this._client.post('/package-sandbox-links/', { body, ...options });
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve the status of a package sandbox link.
|
|
24
|
+
*/
|
|
25
|
+
retrieve(trackerID: string, options?: RequestOptions): APIPromise<PackageSandboxLinkRetrieveResponse> {
|
|
26
|
+
return this._client.get(path`/package-sandbox-links/${trackerID}/`, options);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Request to link a package to a sandbox, or poll an EDIT-mode installation
|
|
32
|
+
* tracker.
|
|
33
|
+
*/
|
|
34
|
+
export interface PackageSandboxLinkCreateResponse {
|
|
35
|
+
/**
|
|
36
|
+
* Identifier field
|
|
37
|
+
*/
|
|
38
|
+
id: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Record creation date
|
|
42
|
+
*/
|
|
43
|
+
created_at: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* How the sandbox is linked to the package (INSTALL or EDIT)
|
|
47
|
+
*/
|
|
48
|
+
mode: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The package key to link into the sandbox
|
|
52
|
+
*/
|
|
53
|
+
package_key: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The company receiving the sandbox package installation
|
|
57
|
+
*/
|
|
58
|
+
sandbox_company_id: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Record update date
|
|
62
|
+
*/
|
|
63
|
+
updated_at: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Error message when EDIT-mode linking failed
|
|
67
|
+
*/
|
|
68
|
+
error_message?: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Installation record ID when EDIT-mode linking completes
|
|
72
|
+
*/
|
|
73
|
+
installation_record_id?: string;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* The internal sandbox installation tracker ID
|
|
77
|
+
*/
|
|
78
|
+
installation_tracker_id?: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* The package version being linked in EDIT mode
|
|
82
|
+
*/
|
|
83
|
+
package_version_id?: string;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Component to open after EDIT-mode linking completes
|
|
87
|
+
*/
|
|
88
|
+
post_install_landing_component?: unknown;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* EDIT-mode installation progress entries
|
|
92
|
+
*/
|
|
93
|
+
progress?: Array<unknown>;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* INSTALL completion status, or EDIT installation tracker status
|
|
97
|
+
*/
|
|
98
|
+
status?: string;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Request to link a package to a sandbox, or poll an EDIT-mode installation
|
|
103
|
+
* tracker.
|
|
104
|
+
*/
|
|
105
|
+
export interface PackageSandboxLinkRetrieveResponse {
|
|
106
|
+
/**
|
|
107
|
+
* Identifier field
|
|
108
|
+
*/
|
|
109
|
+
id: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Record creation date
|
|
113
|
+
*/
|
|
114
|
+
created_at: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* How the sandbox is linked to the package (INSTALL or EDIT)
|
|
118
|
+
*/
|
|
119
|
+
mode: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* The package key to link into the sandbox
|
|
123
|
+
*/
|
|
124
|
+
package_key: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The company receiving the sandbox package installation
|
|
128
|
+
*/
|
|
129
|
+
sandbox_company_id: string;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Record update date
|
|
133
|
+
*/
|
|
134
|
+
updated_at: string;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Error message when EDIT-mode linking failed
|
|
138
|
+
*/
|
|
139
|
+
error_message?: string;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Installation record ID when EDIT-mode linking completes
|
|
143
|
+
*/
|
|
144
|
+
installation_record_id?: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* The internal sandbox installation tracker ID
|
|
148
|
+
*/
|
|
149
|
+
installation_tracker_id?: string;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* The package version being linked in EDIT mode
|
|
153
|
+
*/
|
|
154
|
+
package_version_id?: string;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Component to open after EDIT-mode linking completes
|
|
158
|
+
*/
|
|
159
|
+
post_install_landing_component?: unknown;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* EDIT-mode installation progress entries
|
|
163
|
+
*/
|
|
164
|
+
progress?: Array<unknown>;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* INSTALL completion status, or EDIT installation tracker status
|
|
168
|
+
*/
|
|
169
|
+
status?: string;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export interface PackageSandboxLinkCreateParams {
|
|
173
|
+
/**
|
|
174
|
+
* How the sandbox is linked to the package (INSTALL or EDIT)
|
|
175
|
+
*/
|
|
176
|
+
mode: string;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The package key to link into the sandbox
|
|
180
|
+
*/
|
|
181
|
+
package_key: string;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* The company receiving the sandbox package installation
|
|
185
|
+
*/
|
|
186
|
+
sandbox_company_id: string;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export declare namespace PackageSandboxLinks {
|
|
190
|
+
export {
|
|
191
|
+
type PackageSandboxLinkCreateResponse as PackageSandboxLinkCreateResponse,
|
|
192
|
+
type PackageSandboxLinkRetrieveResponse as PackageSandboxLinkRetrieveResponse,
|
|
193
|
+
type PackageSandboxLinkCreateParams as PackageSandboxLinkCreateParams,
|
|
194
|
+
};
|
|
195
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
PackageVersions,
|
|
5
|
+
type PackageVersionRetrieveResponse,
|
|
6
|
+
type PackageVersionUpdateResponse,
|
|
7
|
+
type PackageVersionUpdateParams,
|
|
8
|
+
} from './package-versions';
|
|
9
|
+
export { Publish, type PublishCreateResponse } from './publish';
|
|
@@ -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 * as PublishAPI from './publish';
|
|
5
|
+
import { Publish, PublishCreateResponse } from './publish';
|
|
6
|
+
import { APIPromise } from '../../core/api-promise';
|
|
7
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
8
|
+
import { path } from '../../internal/utils/path';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Author, publish, and install Unity Packages V2 packages
|
|
12
|
+
*/
|
|
13
|
+
export class PackageVersions extends APIResource {
|
|
14
|
+
publish: PublishAPI.Publish = new PublishAPI.Publish(this._client);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Get a package version by ID.
|
|
18
|
+
*/
|
|
19
|
+
retrieve(versionID: string, options?: RequestOptions): APIPromise<PackageVersionRetrieveResponse> {
|
|
20
|
+
return this._client.get(path`/package-versions/${versionID}/`, options);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Update the description of an unpublished package version.
|
|
25
|
+
*/
|
|
26
|
+
update(
|
|
27
|
+
versionID: string,
|
|
28
|
+
body: PackageVersionUpdateParams,
|
|
29
|
+
options?: RequestOptions,
|
|
30
|
+
): APIPromise<PackageVersionUpdateResponse> {
|
|
31
|
+
return this._client.patch(path`/package-versions/${versionID}/`, { body, ...options });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface PackageVersionRetrieveResponse {
|
|
36
|
+
/**
|
|
37
|
+
* Identifier field
|
|
38
|
+
*/
|
|
39
|
+
id: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Record creation date
|
|
43
|
+
*/
|
|
44
|
+
created_at: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Record update date
|
|
48
|
+
*/
|
|
49
|
+
updated_at: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The semantic version number for this package version
|
|
53
|
+
*/
|
|
54
|
+
version_number: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Components included in this package version
|
|
58
|
+
*/
|
|
59
|
+
components?: Array<unknown>;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The description of the package version
|
|
63
|
+
*/
|
|
64
|
+
description?: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Whether this package version has been published
|
|
68
|
+
*/
|
|
69
|
+
is_published?: boolean;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The display name of the parent package
|
|
73
|
+
*/
|
|
74
|
+
package_display_name?: string;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The ID of the parent package
|
|
78
|
+
*/
|
|
79
|
+
package_id?: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The package key of the parent package
|
|
83
|
+
*/
|
|
84
|
+
package_key?: string;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface PackageVersionUpdateResponse {
|
|
88
|
+
/**
|
|
89
|
+
* Identifier field
|
|
90
|
+
*/
|
|
91
|
+
id: string;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Record creation date
|
|
95
|
+
*/
|
|
96
|
+
created_at: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Record update date
|
|
100
|
+
*/
|
|
101
|
+
updated_at: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* The semantic version number for this package version
|
|
105
|
+
*/
|
|
106
|
+
version_number: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Components included in this package version
|
|
110
|
+
*/
|
|
111
|
+
components?: Array<unknown>;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* The description of the package version
|
|
115
|
+
*/
|
|
116
|
+
description?: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Whether this package version has been published
|
|
120
|
+
*/
|
|
121
|
+
is_published?: boolean;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The display name of the parent package
|
|
125
|
+
*/
|
|
126
|
+
package_display_name?: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The ID of the parent package
|
|
130
|
+
*/
|
|
131
|
+
package_id?: string;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* The package key of the parent package
|
|
135
|
+
*/
|
|
136
|
+
package_key?: string;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface PackageVersionUpdateParams {
|
|
140
|
+
/**
|
|
141
|
+
* The new description for the draft package version.
|
|
142
|
+
*/
|
|
143
|
+
description: string;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
PackageVersions.Publish = Publish;
|
|
147
|
+
|
|
148
|
+
export declare namespace PackageVersions {
|
|
149
|
+
export {
|
|
150
|
+
type PackageVersionRetrieveResponse as PackageVersionRetrieveResponse,
|
|
151
|
+
type PackageVersionUpdateResponse as PackageVersionUpdateResponse,
|
|
152
|
+
type PackageVersionUpdateParams as PackageVersionUpdateParams,
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
export { Publish as Publish, type PublishCreateResponse as PublishCreateResponse };
|
|
156
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 Publish extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Publish a draft package version.
|
|
14
|
+
*/
|
|
15
|
+
create(versionID: string, options?: RequestOptions): APIPromise<PublishCreateResponse> {
|
|
16
|
+
return this._client.post(path`/package-versions/${versionID}/publish/`, options);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface PublishCreateResponse {
|
|
21
|
+
/**
|
|
22
|
+
* Identifier field
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Record creation date
|
|
28
|
+
*/
|
|
29
|
+
created_at: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Record update date
|
|
33
|
+
*/
|
|
34
|
+
updated_at: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The semantic version number for this package version
|
|
38
|
+
*/
|
|
39
|
+
version_number: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Components included in this package version
|
|
43
|
+
*/
|
|
44
|
+
components?: Array<unknown>;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* The description of the package version
|
|
48
|
+
*/
|
|
49
|
+
description?: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Whether this package version has been published
|
|
53
|
+
*/
|
|
54
|
+
is_published?: boolean;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The display name of the parent package
|
|
58
|
+
*/
|
|
59
|
+
package_display_name?: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the parent package
|
|
63
|
+
*/
|
|
64
|
+
package_id?: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* The package key of the parent package
|
|
68
|
+
*/
|
|
69
|
+
package_key?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export declare namespace Publish {
|
|
73
|
+
export { type PublishCreateResponse as PublishCreateResponse };
|
|
74
|
+
}
|
|
@@ -1,88 +1,3 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
|
|
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 PackageVersions extends APIResource {
|
|
12
|
-
/**
|
|
13
|
-
* Update the description of an unpublished package version.
|
|
14
|
-
*/
|
|
15
|
-
update(
|
|
16
|
-
versionID: string,
|
|
17
|
-
body: PackageVersionUpdateParams,
|
|
18
|
-
options?: RequestOptions,
|
|
19
|
-
): APIPromise<PackageVersionUpdateResponse> {
|
|
20
|
-
return this._client.patch(path`/package-versions/${versionID}/`, { body, ...options });
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface PackageVersionUpdateResponse {
|
|
25
|
-
/**
|
|
26
|
-
* Identifier field
|
|
27
|
-
*/
|
|
28
|
-
id: string;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Record creation date
|
|
32
|
-
*/
|
|
33
|
-
created_at: string;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Record update date
|
|
37
|
-
*/
|
|
38
|
-
updated_at: string;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* The semantic version number for this package version
|
|
42
|
-
*/
|
|
43
|
-
version_number: string;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Components included in this package version
|
|
47
|
-
*/
|
|
48
|
-
components?: Array<unknown>;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* The description of the package version
|
|
52
|
-
*/
|
|
53
|
-
description?: string;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Whether this package version has been published
|
|
57
|
-
*/
|
|
58
|
-
is_published?: boolean;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* The display name of the parent package
|
|
62
|
-
*/
|
|
63
|
-
package_display_name?: string;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* The ID of the parent package
|
|
67
|
-
*/
|
|
68
|
-
package_id?: string;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* The package key of the parent package
|
|
72
|
-
*/
|
|
73
|
-
package_key?: string;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export interface PackageVersionUpdateParams {
|
|
77
|
-
/**
|
|
78
|
-
* The new description for the draft package version.
|
|
79
|
-
*/
|
|
80
|
-
description: string;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export declare namespace PackageVersions {
|
|
84
|
-
export {
|
|
85
|
-
type PackageVersionUpdateResponse as PackageVersionUpdateResponse,
|
|
86
|
-
type PackageVersionUpdateParams as PackageVersionUpdateParams,
|
|
87
|
-
};
|
|
88
|
-
}
|
|
3
|
+
export * from './package-versions/index';
|
|
@@ -17,4 +17,11 @@ export {
|
|
|
17
17
|
type PackageUpdateParams,
|
|
18
18
|
type PackageListResponsesPageCursorURL,
|
|
19
19
|
} from './packages';
|
|
20
|
-
export {
|
|
20
|
+
export {
|
|
21
|
+
Versions,
|
|
22
|
+
type VersionListResponse,
|
|
23
|
+
type VersionCreateResponse,
|
|
24
|
+
type VersionListParams,
|
|
25
|
+
type VersionCreateParams,
|
|
26
|
+
type VersionListResponsesPageCursorURL,
|
|
27
|
+
} from './versions';
|