@shapediver/sdk.platform-api-sdk-v1 2.14.1 → 2.14.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/LICENSE +7 -7
  2. package/README.md +61 -61
  3. package/dist/SdPlatformErrors.d.ts +134 -134
  4. package/dist/SdPlatformSdk.d.ts +197 -191
  5. package/dist/SdPlatformSdk.d.ts.map +1 -1
  6. package/dist/SdPlatformSdkContext.d.ts +71 -71
  7. package/dist/SdPlatformSdkCreate.d.ts +7 -7
  8. package/dist/api/SdPlatformRequestId.d.ts +139 -138
  9. package/dist/api/SdPlatformRequestId.d.ts.map +1 -1
  10. package/dist/api/SdPlatformSdkApi.d.ts +66 -66
  11. package/dist/api/SdPlatformSdkConfig.d.ts +18 -18
  12. package/dist/api/SdPlatformSdkErrorMapping.d.ts +6 -6
  13. package/dist/auth/SdPlatformAuthServiceApi.d.ts +79 -79
  14. package/dist/bundle.js +3978 -3931
  15. package/dist/bundle.node.js +4103 -4033
  16. package/dist/index.d.ts +28 -27
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/resources/SdPlatformApiClientsApi.d.ts +43 -43
  19. package/dist/resources/SdPlatformApiClientsApi.d.ts.map +1 -1
  20. package/dist/resources/SdPlatformApiTokenApi.d.ts +43 -43
  21. package/dist/resources/SdPlatformApiTokenApi.d.ts.map +1 -1
  22. package/dist/resources/SdPlatformBackendSystemApi.d.ts +43 -43
  23. package/dist/resources/SdPlatformBackendSystemApi.d.ts.map +1 -1
  24. package/dist/resources/SdPlatformBookmarkApi.d.ts +24 -24
  25. package/dist/resources/SdPlatformChargebeeApi.d.ts +43 -43
  26. package/dist/resources/SdPlatformChargebeeApi.d.ts.map +1 -1
  27. package/dist/resources/SdPlatformDocumentApi.d.ts +83 -83
  28. package/dist/resources/SdPlatformDocumentApi.d.ts.map +1 -1
  29. package/dist/resources/SdPlatformDomainApi.d.ts +46 -46
  30. package/dist/resources/SdPlatformDomainApi.d.ts.map +1 -1
  31. package/dist/resources/SdPlatformHttpLogApi.d.ts +16 -16
  32. package/dist/resources/SdPlatformHttpLogApi.d.ts.map +1 -1
  33. package/dist/resources/SdPlatformImageApi.d.ts +44 -44
  34. package/dist/resources/SdPlatformImageApi.d.ts.map +1 -1
  35. package/dist/resources/SdPlatformJobLogApi.d.ts +16 -16
  36. package/dist/resources/SdPlatformJobLogApi.d.ts.map +1 -1
  37. package/dist/resources/SdPlatformModelApi.d.ts +78 -78
  38. package/dist/resources/SdPlatformModelApi.d.ts.map +1 -1
  39. package/dist/resources/SdPlatformModelSharingApi.d.ts +65 -65
  40. package/dist/resources/SdPlatformModelSharingApi.d.ts.map +1 -1
  41. package/dist/resources/SdPlatformModelTokenApi.d.ts +15 -15
  42. package/dist/resources/SdPlatformModelTransferApi.d.ts +47 -47
  43. package/dist/resources/SdPlatformNotificationApi.d.ts +65 -65
  44. package/dist/resources/SdPlatformNotificationApi.d.ts.map +1 -1
  45. package/dist/resources/SdPlatformOpenIDProviderApi.d.ts +41 -41
  46. package/dist/resources/SdPlatformOpenIDProviderApi.d.ts.map +1 -1
  47. package/dist/resources/SdPlatformOrganizationAnalyticsApi.d.ts +15 -15
  48. package/dist/resources/SdPlatformOrganizationApi.d.ts +95 -95
  49. package/dist/resources/SdPlatformOrganizationApi.d.ts.map +1 -1
  50. package/dist/resources/SdPlatformPolicyApi.d.ts +43 -43
  51. package/dist/resources/SdPlatformPolicyApi.d.ts.map +1 -1
  52. package/dist/resources/SdPlatformSavedStateApi.d.ts +51 -51
  53. package/dist/resources/SdPlatformSavedStateApi.d.ts.map +1 -1
  54. package/dist/resources/SdPlatformSavedStateSharingApi.d.ts +66 -66
  55. package/dist/resources/SdPlatformSavedStateSharingApi.d.ts.map +1 -1
  56. package/dist/resources/SdPlatformStargateApi.d.ts +13 -0
  57. package/dist/resources/SdPlatformStargateApi.d.ts.map +1 -0
  58. package/dist/resources/SdPlatformTagApi.d.ts +25 -25
  59. package/dist/resources/SdPlatformTagApi.d.ts.map +1 -1
  60. package/dist/resources/SdPlatformUserAnalyticsApi.d.ts +15 -15
  61. package/dist/resources/SdPlatformUserApi.d.ts +86 -86
  62. package/dist/resources/SdPlatformUserApi.d.ts.map +1 -1
  63. package/dist/resources/SdPlatformWebhookApi.d.ts +52 -52
  64. package/dist/resources/commons/FilterBuilder.d.ts +54 -54
  65. package/dist/resources/commons/ResourcesApi.d.ts +42 -42
  66. package/package.json +14 -12
@@ -1,96 +1,96 @@
1
- import { ResourcesApi } from "./commons/ResourcesApi";
2
- import { SdPlatformResponseNotification, SdPlatformRequestOrganizationCreate, SdPlatformRequestOrganizationPatchAny, SdPlatformResponseOrganizationPublic, SdPlatformResponseOrganizationOwner, SdPlatformResponseOrganizationAdministrator, SdPlatformOrganizationMemberRole } from "@shapediver/api.platform-api-dto-v1";
3
- import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
- export declare enum SdPlatformOrganizationEmbeddableFields {
5
- AccessDomains = "accessdomains",
6
- BackendSystem = "backend_system",
7
- Members = "members",
8
- ChargebeeCustomer = "chargebee_customer",
9
- ChargebeeSubscription = "chargebee_subscription",
10
- ChargebeePlan = "chargebee_plan",
11
- ChargebeeAddons = "chargebee_addons",
12
- OpenIdProvider = "openid_provider"
13
- }
14
- export declare type SdPlatformOrganizationQueryParameters = SdPlatformQueryParameters<SdPlatformOrganizationEmbeddableFields>;
15
- /**
16
- * Operations for organizations.
17
- */
18
- export declare class SdPlatformOrganizationApi extends ResourcesApi {
19
- protected get __resourcePath(): string;
20
- /**
21
- * Get organization by id.
22
- * @param id - organization id.
23
- * @param embed array of {@link SdPlatformOrganizationEmbeddableFields} embeddable resources.
24
- * @returns the {@link SdPlatformGetResponse} response with {@link SdPlatformResponseOrganizationPublic} or derived interfaces as result.
25
- */
26
- get<T = SdPlatformResponseOrganizationPublic>(id: string, embed?: Array<SdPlatformOrganizationEmbeddableFields>): Promise<SdPlatformGetResponse<T>>;
27
- /**
28
- * Query organizations.
29
- * @param body {@link SdPlatformOrganizationQueryParameters}
30
- * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseOrganizationPublic} or one of it's derived interfaces as data result.
31
- */
32
- query<T = SdPlatformResponseOrganizationPublic>(body?: SdPlatformOrganizationQueryParameters): Promise<SdPlatformQueryResponse<T>>;
33
- /**
34
- * Create an organization, and make the calling user owner of the organization. Will fail in case the user is member of an organization already.
35
- * @param body {@see SdPlatformRequestOrganizationCreate}
36
- * @returns the {@link SdPlatformPostResponse} with {@see SdPlatformResponseOrganizationOwner} as data.
37
- */
38
- create(body: SdPlatformRequestOrganizationCreate): Promise<SdPlatformPostResponse<SdPlatformResponseOrganizationOwner>>;
39
- /**
40
- * Patch an organization.
41
- * @param id - id of the organization
42
- * @param body {@link SdPlatformRequestOrganizationPatchAny} properties to patch
43
- * @response the {@link SdPlatformPatchResponse} with {@link SdPlatformResponseOrganizationAdministrator} or one of it's derived interfaces as data.
44
- */
45
- patch<T = SdPlatformResponseOrganizationAdministrator>(id: string, body: SdPlatformRequestOrganizationPatchAny): Promise<SdPlatformPatchResponse<T>>;
46
- /**
47
- * Delete an organization.
48
- * @param id
49
- * @returns
50
- */
51
- delete(id: string): Promise<SdPlatformDeleteResponse>;
52
- /**
53
- * Create organization invitation.
54
- * @param organization_id
55
- * @param receiver_id
56
- * @returns
57
- */
58
- createOrganizationInvitation(organization_id: string, receiver_id: string): Promise<SdPlatformPostResponse<SdPlatformResponseNotification>>;
59
- /**
60
- * Delete organization invitation.
61
- * @param organization_id
62
- * @param id receiver id OR notification id in case of email notification
63
- * @returns
64
- */
65
- deleteOrganizationInvitation(organization_id: string, id: string): Promise<SdPlatformDeleteResponse>;
66
- /**
67
- * Get organization invitations.
68
- * @param organization_id
69
- * @returns
70
- */
71
- getOrganizationInvitations(organization_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseNotification>>>;
72
- /**
73
- * Accept organization invitation.
74
- * @param organization_id
75
- * @returns
76
- */
77
- acceptOrganizationInvitation(organization_id: string): Promise<SdPlatformPostResponse<void>>;
78
- /**
79
- * Deny organization invitation.
80
- * @param organization_id
81
- * @returns
82
- */
83
- denyOrganizationInvitation(organization_id: string): Promise<SdPlatformPostResponse<void>>;
84
- /**
85
- * Patch role of organization member.
86
- * @param email
87
- */
88
- patchMemberRole(organization_id: string, user_id: string, organization_role: SdPlatformOrganizationMemberRole): Promise<SdPlatformPatchResponse<void>>;
89
- /**
90
- * Invite user to organizatio by email.
91
- * @param organization_id
92
- * @param email
93
- */
94
- invitationByEmail(organization_id: string, email: string): Promise<SdPlatformPostResponse<void>>;
95
- }
1
+ import { ResourcesApi } from "./commons/ResourcesApi";
2
+ import { SdPlatformResponseNotification, SdPlatformRequestOrganizationCreate, SdPlatformRequestOrganizationPatchAny, SdPlatformResponseOrganizationPublic, SdPlatformResponseOrganizationOwner, SdPlatformResponseOrganizationAdministrator, SdPlatformOrganizationMemberRole } from "@shapediver/api.platform-api-dto-v1";
3
+ import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ export declare enum SdPlatformOrganizationEmbeddableFields {
5
+ AccessDomains = "accessdomains",
6
+ BackendSystem = "backend_system",
7
+ Members = "members",
8
+ ChargebeeCustomer = "chargebee_customer",
9
+ ChargebeeSubscription = "chargebee_subscription",
10
+ ChargebeePlan = "chargebee_plan",
11
+ ChargebeeAddons = "chargebee_addons",
12
+ OpenIdProvider = "openid_provider"
13
+ }
14
+ export type SdPlatformOrganizationQueryParameters = SdPlatformQueryParameters<SdPlatformOrganizationEmbeddableFields>;
15
+ /**
16
+ * Operations for organizations.
17
+ */
18
+ export declare class SdPlatformOrganizationApi extends ResourcesApi {
19
+ protected get __resourcePath(): string;
20
+ /**
21
+ * Get organization by id.
22
+ * @param id - organization id.
23
+ * @param embed array of {@link SdPlatformOrganizationEmbeddableFields} embeddable resources.
24
+ * @returns the {@link SdPlatformGetResponse} response with {@link SdPlatformResponseOrganizationPublic} or derived interfaces as result.
25
+ */
26
+ get<T = SdPlatformResponseOrganizationPublic>(id: string, embed?: Array<SdPlatformOrganizationEmbeddableFields>): Promise<SdPlatformGetResponse<T>>;
27
+ /**
28
+ * Query organizations.
29
+ * @param body {@link SdPlatformOrganizationQueryParameters}
30
+ * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseOrganizationPublic} or one of it's derived interfaces as data result.
31
+ */
32
+ query<T = SdPlatformResponseOrganizationPublic>(body?: SdPlatformOrganizationQueryParameters): Promise<SdPlatformQueryResponse<T>>;
33
+ /**
34
+ * Create an organization, and make the calling user owner of the organization. Will fail in case the user is member of an organization already.
35
+ * @param body {@see SdPlatformRequestOrganizationCreate}
36
+ * @returns the {@link SdPlatformPostResponse} with {@see SdPlatformResponseOrganizationOwner} as data.
37
+ */
38
+ create(body: SdPlatformRequestOrganizationCreate): Promise<SdPlatformPostResponse<SdPlatformResponseOrganizationOwner>>;
39
+ /**
40
+ * Patch an organization.
41
+ * @param id - id of the organization
42
+ * @param body {@link SdPlatformRequestOrganizationPatchAny} properties to patch
43
+ * @response the {@link SdPlatformPatchResponse} with {@link SdPlatformResponseOrganizationAdministrator} or one of it's derived interfaces as data.
44
+ */
45
+ patch<T = SdPlatformResponseOrganizationAdministrator>(id: string, body: SdPlatformRequestOrganizationPatchAny): Promise<SdPlatformPatchResponse<T>>;
46
+ /**
47
+ * Delete an organization.
48
+ * @param id
49
+ * @returns
50
+ */
51
+ delete(id: string): Promise<SdPlatformDeleteResponse>;
52
+ /**
53
+ * Create organization invitation.
54
+ * @param organization_id
55
+ * @param receiver_id
56
+ * @returns
57
+ */
58
+ createOrganizationInvitation(organization_id: string, receiver_id: string): Promise<SdPlatformPostResponse<SdPlatformResponseNotification>>;
59
+ /**
60
+ * Delete organization invitation.
61
+ * @param organization_id
62
+ * @param id receiver id OR notification id in case of email notification
63
+ * @returns
64
+ */
65
+ deleteOrganizationInvitation(organization_id: string, id: string): Promise<SdPlatformDeleteResponse>;
66
+ /**
67
+ * Get organization invitations.
68
+ * @param organization_id
69
+ * @returns
70
+ */
71
+ getOrganizationInvitations(organization_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseNotification>>>;
72
+ /**
73
+ * Accept organization invitation.
74
+ * @param organization_id
75
+ * @returns
76
+ */
77
+ acceptOrganizationInvitation(organization_id: string): Promise<SdPlatformPostResponse<void>>;
78
+ /**
79
+ * Deny organization invitation.
80
+ * @param organization_id
81
+ * @returns
82
+ */
83
+ denyOrganizationInvitation(organization_id: string): Promise<SdPlatformPostResponse<void>>;
84
+ /**
85
+ * Patch role of organization member.
86
+ * @param email
87
+ */
88
+ patchMemberRole(organization_id: string, user_id: string, organization_role: SdPlatformOrganizationMemberRole): Promise<SdPlatformPatchResponse<void>>;
89
+ /**
90
+ * Invite user to organizatio by email.
91
+ * @param organization_id
92
+ * @param email
93
+ */
94
+ invitationByEmail(organization_id: string, email: string): Promise<SdPlatformPostResponse<void>>;
95
+ }
96
96
  //# sourceMappingURL=SdPlatformOrganizationApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformOrganizationApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformOrganizationApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,8BAA8B,EAAE,mCAAmC,EAAE,qCAAqC,EAAE,oCAAoC,EAAE,mCAAmC,EAAE,2CAA2C,EAAE,gCAAgC,EAAgC,MAAM,qCAAqC,CAAA;AACxV,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAE1M,oBAAY,sCAAsC;IAE9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E,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAMnG;;;;OAIG;IACI,0BAA0B,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAKjG;;;OAGG;IACI,eAAe,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,gCAAgC,GAAG,OAAO,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAO7J;;;;OAIG;IACI,iBAAiB,CAAC,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;CAM1G"}
@@ -1,44 +1,44 @@
1
- import { ResourcesApi } from "./commons/ResourcesApi";
2
- import { SdPlatformResponsePolicy } from "@shapediver/api.platform-api-dto-v1";
3
- import { SdPlatformRequestPolicyCreate } from "@shapediver/api.platform-api-dto-v1";
4
- import { SdPlatformRequestPolicyPatch } from "@shapediver/api.platform-api-dto-v1";
5
- import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
6
- export declare type SdPlatformPolicyQueryParameters = SdPlatformQueryParameters<null>;
7
- /**
8
- * Operations for policies.
9
- */
10
- export declare class SdPlatformPolicyApi extends ResourcesApi {
11
- protected get __resourcePath(): string;
12
- /**
13
- * The platform policy api.
14
- * @param body {@see SdPlatformPolicyQueryParameters} query body.
15
- * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponsePolicy} as response.
16
- */
17
- query(body?: SdPlatformPolicyQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponsePolicy>>;
18
- /**
19
- * Get information about a policy based on its id or alias
20
- * @param id_or_alias - id or an alias.
21
- * @returns the {@link SdPlatformGetResponse} with {@link SdPlatformResponsePolicy} as response.
22
- */
23
- get(id_or_alias: string): Promise<SdPlatformGetResponse<SdPlatformResponsePolicy>>;
24
- /**
25
- * Creates a platform policy.
26
- * @param body {@link SdPlatformRequestPolicyCreate}
27
- * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponsePolicy} as response.
28
- */
29
- create(body: SdPlatformRequestPolicyCreate): Promise<SdPlatformPostResponse<SdPlatformResponsePolicy>>;
30
- /**
31
- * Updates a platform policy.
32
- * @param id - the policy id.
33
- * @param body {@link SdPlatformRequestPolicyPatch} of patch request.
34
- * @returns the {@link SdPlatformPatchResponse} with {@link SdPlatformResponsePolicy} as data parameter.
35
- */
36
- patch(id: string, body: SdPlatformRequestPolicyPatch): Promise<SdPlatformPatchResponse<SdPlatformResponsePolicy>>;
37
- /**
38
- * Deletes the policy
39
- * @param id - the policy id.
40
- * @returns the {@link SdPlatformDeleteResponse}
41
- */
42
- delete(id: string): Promise<SdPlatformDeleteResponse>;
43
- }
1
+ import { ResourcesApi } from "./commons/ResourcesApi";
2
+ import { SdPlatformResponsePolicy } from "@shapediver/api.platform-api-dto-v1";
3
+ import { SdPlatformRequestPolicyCreate } from "@shapediver/api.platform-api-dto-v1";
4
+ import { SdPlatformRequestPolicyPatch } from "@shapediver/api.platform-api-dto-v1";
5
+ import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
6
+ export type SdPlatformPolicyQueryParameters = SdPlatformQueryParameters<null>;
7
+ /**
8
+ * Operations for policies.
9
+ */
10
+ export declare class SdPlatformPolicyApi extends ResourcesApi {
11
+ protected get __resourcePath(): string;
12
+ /**
13
+ * The platform policy api.
14
+ * @param body {@see SdPlatformPolicyQueryParameters} query body.
15
+ * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponsePolicy} as response.
16
+ */
17
+ query(body?: SdPlatformPolicyQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponsePolicy>>;
18
+ /**
19
+ * Get information about a policy based on its id or alias
20
+ * @param id_or_alias - id or an alias.
21
+ * @returns the {@link SdPlatformGetResponse} with {@link SdPlatformResponsePolicy} as response.
22
+ */
23
+ get(id_or_alias: string): Promise<SdPlatformGetResponse<SdPlatformResponsePolicy>>;
24
+ /**
25
+ * Creates a platform policy.
26
+ * @param body {@link SdPlatformRequestPolicyCreate}
27
+ * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponsePolicy} as response.
28
+ */
29
+ create(body: SdPlatformRequestPolicyCreate): Promise<SdPlatformPostResponse<SdPlatformResponsePolicy>>;
30
+ /**
31
+ * Updates a platform policy.
32
+ * @param id - the policy id.
33
+ * @param body {@link SdPlatformRequestPolicyPatch} of patch request.
34
+ * @returns the {@link SdPlatformPatchResponse} with {@link SdPlatformResponsePolicy} as data parameter.
35
+ */
36
+ patch(id: string, body: SdPlatformRequestPolicyPatch): Promise<SdPlatformPatchResponse<SdPlatformResponsePolicy>>;
37
+ /**
38
+ * Deletes the policy
39
+ * @param id - the policy id.
40
+ * @returns the {@link SdPlatformDeleteResponse}
41
+ */
42
+ delete(id: string): Promise<SdPlatformDeleteResponse>;
43
+ }
44
44
  //# sourceMappingURL=SdPlatformPolicyApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformPolicyApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformPolicyApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAE1M,oBAAY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jD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,KAAK,CAAC,IAAI,GAAE,+BAAoC,GAAG,OAAO,CAAC,uBAAuB,CAAC,wBAAwB,CAAC,CAAC;IAKpH;;;;OAIG;IACI,GAAG,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,CAAC;IAKzF;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,6BAA6B,GAAG,OAAO,CAAC,sBAAsB,CAAC,wBAAwB,CAAC,CAAC;IAK7G;;;;;OAKG;IACI,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,uBAAuB,CAAC,wBAAwB,CAAC,CAAC;IAKxH;;;;OAIG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAI/D"}
@@ -1,52 +1,52 @@
1
- import { ResourcesApi } from "./commons/ResourcesApi";
2
- import { SdPlatformResponseSavedStatePublic, SdPlatformRequestSavedStateCreate, SdPlatformRequestSavedStatePatch, SdPlatformResponseSavedStateOwner } from "@shapediver/api.platform-api-dto-v1";
3
- import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
- export declare enum SdPlatformSavedStateQueryEmbeddableFields {
5
- Model = "model",
6
- Owner = "owner",
7
- Image = "image"
8
- }
9
- export declare enum SdPlatformSavedStateGetEmbedFields {
10
- Model = "model",
11
- Owner = "owner"
12
- }
13
- export declare type SdPlatformSavedStateApiQueryParameters = SdPlatformQueryParameters<SdPlatformSavedStateQueryEmbeddableFields>;
14
- /**
15
- * Operations for saved states.
16
- */
17
- export declare class SdPlatformSavedStateApi extends ResourcesApi {
18
- protected get __resourcePath(): string;
19
- /**
20
- * Gets a saved state by id.
21
- * @param id - saved state id.
22
- * @param embed the array of {@link SdPlatformSavedStateGetEmbedFields} embeddable fields.
23
- * @returns - the {@link SdPlatformGetResponse} with {@see SdPlatformResponseSavedStatePublic} or one of it's derived classes as response.
24
- */
25
- get<T = SdPlatformResponseSavedStatePublic>(id: string, embed?: Array<SdPlatformSavedStateGetEmbedFields>): Promise<SdPlatformGetResponse<T>>;
26
- /**
27
- * Create a new saved state.
28
- * @param body {@link SdPlatformRequestSavedStateCreate} create saved state body.
29
- * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseSavedStateOwner} or one of it's derived classes as data.
30
- */
31
- create<T = SdPlatformResponseSavedStateOwner>(body: SdPlatformRequestSavedStateCreate): Promise<SdPlatformPostResponse<T>>;
32
- /**
33
- * Patch a saved state.
34
- * @param id
35
- * @param body {@link SdPlatformRequestSavedStatePatch} saved state patch body.
36
- * @returns the {@link SdPlatformPatchResponse} with {@link SdPlatformResponseSavedStateOwner} or one of it's derived classes as result.
37
- */
38
- patch<T = SdPlatformResponseSavedStateOwner>(id: string, body: SdPlatformRequestSavedStatePatch): Promise<SdPlatformPatchResponse<T>>;
39
- /**
40
- * Delete a saved state.
41
- * @param id - the id of a saved state.
42
- * @returns the {@link SdPlatformDeleteResponse} response.
43
- */
44
- delete(id: string): Promise<SdPlatformDeleteResponse>;
45
- /**
46
- * Query saved states.
47
- * @param params {@link SdPlatformSavedStateApiQueryParameters} query parameters.
48
- * @returns the {@link SdPlatformQueryResponse} response with {@link SdPlatformResponseSavedStatePublic} or one of it's derived classes as response.
49
- */
50
- query<T = SdPlatformResponseSavedStatePublic>(params?: SdPlatformSavedStateApiQueryParameters): Promise<SdPlatformQueryResponse<T>>;
51
- }
1
+ import { ResourcesApi } from "./commons/ResourcesApi";
2
+ import { SdPlatformResponseSavedStatePublic, SdPlatformRequestSavedStateCreate, SdPlatformRequestSavedStatePatch, SdPlatformResponseSavedStateOwner } from "@shapediver/api.platform-api-dto-v1";
3
+ import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ export declare enum SdPlatformSavedStateQueryEmbeddableFields {
5
+ Model = "model",
6
+ Owner = "owner",
7
+ Image = "image"
8
+ }
9
+ export declare enum SdPlatformSavedStateGetEmbedFields {
10
+ Model = "model",
11
+ Owner = "owner"
12
+ }
13
+ export type SdPlatformSavedStateApiQueryParameters = SdPlatformQueryParameters<SdPlatformSavedStateQueryEmbeddableFields>;
14
+ /**
15
+ * Operations for saved states.
16
+ */
17
+ export declare class SdPlatformSavedStateApi extends ResourcesApi {
18
+ protected get __resourcePath(): string;
19
+ /**
20
+ * Gets a saved state by id.
21
+ * @param id - saved state id.
22
+ * @param embed the array of {@link SdPlatformSavedStateGetEmbedFields} embeddable fields.
23
+ * @returns - the {@link SdPlatformGetResponse} with {@see SdPlatformResponseSavedStatePublic} or one of it's derived classes as response.
24
+ */
25
+ get<T = SdPlatformResponseSavedStatePublic>(id: string, embed?: Array<SdPlatformSavedStateGetEmbedFields>): Promise<SdPlatformGetResponse<T>>;
26
+ /**
27
+ * Create a new saved state.
28
+ * @param body {@link SdPlatformRequestSavedStateCreate} create saved state body.
29
+ * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseSavedStateOwner} or one of it's derived classes as data.
30
+ */
31
+ create<T = SdPlatformResponseSavedStateOwner>(body: SdPlatformRequestSavedStateCreate): Promise<SdPlatformPostResponse<T>>;
32
+ /**
33
+ * Patch a saved state.
34
+ * @param id
35
+ * @param body {@link SdPlatformRequestSavedStatePatch} saved state patch body.
36
+ * @returns the {@link SdPlatformPatchResponse} with {@link SdPlatformResponseSavedStateOwner} or one of it's derived classes as result.
37
+ */
38
+ patch<T = SdPlatformResponseSavedStateOwner>(id: string, body: SdPlatformRequestSavedStatePatch): Promise<SdPlatformPatchResponse<T>>;
39
+ /**
40
+ * Delete a saved state.
41
+ * @param id - the id of a saved state.
42
+ * @returns the {@link SdPlatformDeleteResponse} response.
43
+ */
44
+ delete(id: string): Promise<SdPlatformDeleteResponse>;
45
+ /**
46
+ * Query saved states.
47
+ * @param params {@link SdPlatformSavedStateApiQueryParameters} query parameters.
48
+ * @returns the {@link SdPlatformQueryResponse} response with {@link SdPlatformResponseSavedStatePublic} or one of it's derived classes as response.
49
+ */
50
+ query<T = SdPlatformResponseSavedStatePublic>(params?: SdPlatformSavedStateApiQueryParameters): Promise<SdPlatformQueryResponse<T>>;
51
+ }
52
52
  //# sourceMappingURL=SdPlatformSavedStateApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformSavedStateApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformSavedStateApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,kCAAkC,EAAE,iCAAiC,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAA;AAChM,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAG1M,oBAAY,yCAAyC;IAEjD,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAGD,oBAAY,kCAAkC;IAE1C,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAED,oBAAY,sCAAsC,GAAG,yBAAyB,CAAC,yCAAyC,CAAC,CAAC;AAE1H;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,YAAY;IAErD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;;QAKI;IACG,GAAG,CAAC,CAAC,GAAG,kCAAkC,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,kCAAkC,CAAC,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAKpJ;;;;OAIG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AE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,kCAAkC,CAAC,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAKpJ;;;;OAIG;IACI,MAAM,CAAC,CAAC,GAAG,iCAAiC,EAAE,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAKjI;;;;;OAKG;IACI,KAAK,CAAC,CAAC,GAAG,iCAAiC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,gCAAgC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAK5I;;;;OAIG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAK5D;;;;OAIG;IACI,KAAK,CAAC,CAAC,GAAG,kCAAkC,EAAE,MAAM,CAAC,EAAE,sCAAsC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;CAI7I"}
@@ -1,67 +1,67 @@
1
- import { SdPlatformRequestSavedStateSharingCreateMultiple, SdPlatformResponseSavedStateSharing, SdPlatformResponseSavedStateSharingCreate, SdPlatformResponseSavedStateSharingGroupedByUser } from "@shapediver/api.platform-api-dto-v1";
2
- import { ResourcesApi } from "./commons/ResourcesApi";
3
- import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
- export declare enum SdPlatformSavedStateSharingQueryEmbeddableFields {
5
- User = "user",
6
- SavedState = "saved_state",
7
- Provider = "provider"
8
- }
9
- export declare type SdPlatformSavedStateSharingQueryParameters = SdPlatformQueryParameters<SdPlatformSavedStateSharingQueryEmbeddableFields>;
10
- /**
11
- * Operations for saved state sharing relationships.
12
- */
13
- export declare class SdPlatformSavedStateSharingApi extends ResourcesApi {
14
- protected get __resourcePath(): string;
15
- /**
16
- * Create a saved state sharing relationship
17
- * @param body {@link SdPlatformResponseSavedStateSharingCreate}
18
- * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseSavedStateSharing} as response.
19
- */
20
- create(body: SdPlatformResponseSavedStateSharingCreate): Promise<SdPlatformPostResponse<SdPlatformResponseSavedStateSharing>>;
21
- /**
22
- * Create multiple sharings.
23
- * @param body {@link SdPlatformRequestSavedStateSharingCreateMultiple}
24
- * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseModelSharing} as data response.
25
- */
26
- createMultiple(body: SdPlatformRequestSavedStateSharingCreateMultiple): Promise<SdPlatformPostResponse<Array<SdPlatformResponseSavedStateSharing>>>;
27
- /**
28
- * Delete a saved state.
29
- * @param saved_state_sharing_id Id of the saved state sharing relationship to delete.
30
- * @returns the {@link SdPlatformDeleteResponse} as response.
31
- */
32
- delete(saved_state_sharing_id: string): Promise<SdPlatformDeleteResponse>;
33
- /**
34
- * Get saved state sharing relationships by saved state id and user id.
35
- * @param saved_state_id - saved state id.
36
- * @param user_id - user id.
37
- * @returns the {@link SdPlatformGetResponse} with array of {@link SdPlatformResponseSavedStateSharing} as data.
38
- */
39
- getBySavedStateAndUser(saved_state_id: string, user_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseSavedStateSharing>>>;
40
- /**
41
- * Query saved state sharing relationships.
42
- * @param params {@link SdPlatformSavedStateSharingQueryParameters}
43
- * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseSavedStateSharing} as data.
44
- */
45
- query(query?: SdPlatformSavedStateSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseSavedStateSharing>>;
46
- /**
47
- * Query saved state sharing relationships by saved state id.
48
- * @param saved_state_id
49
- * @param query {@link SdPlatformSavedStateSharingQueryParameters}
50
- * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseSavedStateSharing} as data,
51
- */
52
- queryBySavedState(saved_state_id: string, query?: SdPlatformSavedStateSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseSavedStateSharing>>;
53
- /**
54
- * Query saved state sharing relationships by user id.
55
- * @param user_id
56
- * @param query {@link SdPlatformSavedStateSharingQueryParameters}
57
- * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseSavedStateSharing} as data,
58
- */
59
- queryByUser(user_id: string, query?: SdPlatformSavedStateSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseSavedStateSharing>>;
60
- /**
61
- * Gets the model sharings grouped by user.
62
- * @param saved_state_id
63
- * @returns the {@link SdPlatformGetResponse} with {@link SdPlatformResponseSavedStateSharing} as data,
64
- */
65
- getGroupedByUser(saved_state_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseSavedStateSharingGroupedByUser>>>;
66
- }
1
+ import { SdPlatformRequestSavedStateSharingCreateMultiple, SdPlatformResponseSavedStateSharing, SdPlatformResponseSavedStateSharingCreate, SdPlatformResponseSavedStateSharingGroupedByUser } from "@shapediver/api.platform-api-dto-v1";
2
+ import { ResourcesApi } from "./commons/ResourcesApi";
3
+ import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ export declare enum SdPlatformSavedStateSharingQueryEmbeddableFields {
5
+ User = "user",
6
+ SavedState = "saved_state",
7
+ Provider = "provider"
8
+ }
9
+ export type SdPlatformSavedStateSharingQueryParameters = SdPlatformQueryParameters<SdPlatformSavedStateSharingQueryEmbeddableFields>;
10
+ /**
11
+ * Operations for saved state sharing relationships.
12
+ */
13
+ export declare class SdPlatformSavedStateSharingApi extends ResourcesApi {
14
+ protected get __resourcePath(): string;
15
+ /**
16
+ * Create a saved state sharing relationship
17
+ * @param body {@link SdPlatformResponseSavedStateSharingCreate}
18
+ * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseSavedStateSharing} as response.
19
+ */
20
+ create(body: SdPlatformResponseSavedStateSharingCreate): Promise<SdPlatformPostResponse<SdPlatformResponseSavedStateSharing>>;
21
+ /**
22
+ * Create multiple sharings.
23
+ * @param body {@link SdPlatformRequestSavedStateSharingCreateMultiple}
24
+ * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseModelSharing} as data response.
25
+ */
26
+ createMultiple(body: SdPlatformRequestSavedStateSharingCreateMultiple): Promise<SdPlatformPostResponse<Array<SdPlatformResponseSavedStateSharing>>>;
27
+ /**
28
+ * Delete a saved state.
29
+ * @param saved_state_sharing_id Id of the saved state sharing relationship to delete.
30
+ * @returns the {@link SdPlatformDeleteResponse} as response.
31
+ */
32
+ delete(saved_state_sharing_id: string): Promise<SdPlatformDeleteResponse>;
33
+ /**
34
+ * Get saved state sharing relationships by saved state id and user id.
35
+ * @param saved_state_id - saved state id.
36
+ * @param user_id - user id.
37
+ * @returns the {@link SdPlatformGetResponse} with array of {@link SdPlatformResponseSavedStateSharing} as data.
38
+ */
39
+ getBySavedStateAndUser(saved_state_id: string, user_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseSavedStateSharing>>>;
40
+ /**
41
+ * Query saved state sharing relationships.
42
+ * @param params {@link SdPlatformSavedStateSharingQueryParameters}
43
+ * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseSavedStateSharing} as data.
44
+ */
45
+ query(query?: SdPlatformSavedStateSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseSavedStateSharing>>;
46
+ /**
47
+ * Query saved state sharing relationships by saved state id.
48
+ * @param saved_state_id
49
+ * @param query {@link SdPlatformSavedStateSharingQueryParameters}
50
+ * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseSavedStateSharing} as data,
51
+ */
52
+ queryBySavedState(saved_state_id: string, query?: SdPlatformSavedStateSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseSavedStateSharing>>;
53
+ /**
54
+ * Query saved state sharing relationships by user id.
55
+ * @param user_id
56
+ * @param query {@link SdPlatformSavedStateSharingQueryParameters}
57
+ * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseSavedStateSharing} as data,
58
+ */
59
+ queryByUser(user_id: string, query?: SdPlatformSavedStateSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseSavedStateSharing>>;
60
+ /**
61
+ * Gets the model sharings grouped by user.
62
+ * @param saved_state_id
63
+ * @returns the {@link SdPlatformGetResponse} with {@link SdPlatformResponseSavedStateSharing} as data,
64
+ */
65
+ getGroupedByUser(saved_state_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseSavedStateSharingGroupedByUser>>>;
66
+ }
67
67
  //# sourceMappingURL=SdPlatformSavedStateSharingApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformSavedStateSharingApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformSavedStateSharingApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gDAAgD,EAAE,mCAAmC,EAAE,yCAAyC,EAAE,gDAAgD,EAAE,MAAM,qCAAqC,CAAC;AACzO,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAGjL,oBAAY,gDAAgD;IAExD,IAAI,SAAS;IACb,UAAU,gBAAgB;IAC1B,QAAQ,aAAa;CACxB;AAED,oBAAY,0CAA0C,GAAG,yBAAyB,CAAC,gDAAgD,CAAC,CAAC;AAErI;;GAEG;AACH,qBAAa,8BAA+B,SAAQ,YAAY;IAE5D,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;QAII;IACG,MAAM,CAAC,IAAI,EAAE,yCAAyC,GAAG,OAAO,CAAC,sBAAsB,CAAC,mCAAmC,CAAC,CAAC;IAKjI;;;;QAII;IACI,cAAc,CAAC,IAAI,EAAE,gDAAgD,GAAK,OAAO,CAAC,sBAAsB,CAAC,KAAK,CAAC,mCAAmC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dto-v1";
2
+ import { ResourcesApi } from "./commons/ResourcesApi";
3
+ /**
4
+ * The stargate api.
5
+ */
6
+ export declare class SdPlatformStargateApi extends ResourcesApi {
7
+ protected get __resourcePath(): string;
8
+ /**
9
+ * Gets the stargate config.
10
+ */
11
+ getConfig(): Promise<SdPlatformGetResponse<SdPlatformResponseStargateConfig>>;
12
+ }
13
+ //# sourceMappingURL=SdPlatformStargateApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformStargateApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformStargateApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AAC9G,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGtD;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IAEnD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAEJ;;OAEG;IACI,SAAS,IAAI,OAAO,CAAC,qBAAqB,CAAC,gCAAgC,CAAC,CAAC;CAIpF"}