@stack-spot/portal-network 1.0.0-betaadp.2 → 1.0.0-dev.1768422812092
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 +633 -0
- package/dist/api/account.d.ts +413 -277
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +261 -176
- package/dist/api/account.js.map +1 -1
- package/dist/api/accountAssetManager.d.ts +309 -0
- package/dist/api/accountAssetManager.d.ts.map +1 -0
- package/dist/api/accountAssetManager.js +169 -0
- package/dist/api/accountAssetManager.js.map +1 -0
- package/dist/api/agent-tools.d.ts +243 -149
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +77 -5
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/agent.d.ts +55 -55
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/ai.d.ts +487 -98
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +427 -146
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatform.d.ts +374 -221
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +299 -93
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +178 -9
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +69 -1
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/api/codeShift.d.ts +1125 -83
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +538 -16
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/dataIntegration.d.ts +291 -1
- package/dist/api/dataIntegration.d.ts.map +1 -1
- package/dist/api/dataIntegration.js +254 -0
- package/dist/api/dataIntegration.js.map +1 -1
- package/dist/api/discover.d.ts +380 -0
- package/dist/api/discover.d.ts.map +1 -0
- package/dist/api/discover.js +256 -0
- package/dist/api/discover.js.map +1 -0
- package/dist/api/edpBfa.d.ts +215 -0
- package/dist/api/edpBfa.d.ts.map +1 -0
- package/dist/api/edpBfa.js +87 -0
- package/dist/api/edpBfa.js.map +1 -0
- package/dist/api/genAiInference.d.ts +22 -2
- package/dist/api/genAiInference.d.ts.map +1 -1
- package/dist/api/genAiInference.js +22 -3
- package/dist/api/genAiInference.js.map +1 -1
- package/dist/api/workflows.d.ts +68 -5
- package/dist/api/workflows.d.ts.map +1 -1
- package/dist/api/workflows.js +16 -0
- package/dist/api/workflows.js.map +1 -1
- package/dist/api/workspaceManager.d.ts +16 -10
- package/dist/api/workspaceManager.d.ts.map +1 -1
- package/dist/api/workspaceManager.js +10 -0
- package/dist/api/workspaceManager.js.map +1 -1
- package/dist/api-addresses.d.ts +20 -18
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +81 -21
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +241 -0
- package/dist/apis.json +18 -2
- package/dist/client/account-asset-manager.d.ts +112 -0
- package/dist/client/account-asset-manager.d.ts.map +1 -0
- package/dist/client/account-asset-manager.js +160 -0
- package/dist/client/account-asset-manager.js.map +1 -0
- package/dist/client/account.d.ts +265 -242
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +80 -34
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts +166 -119
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +62 -11
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +46 -46
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/ai.d.ts +266 -79
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +262 -20
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts +10 -1
- package/dist/client/api-management.d.ts.map +1 -1
- package/dist/client/api-management.js +11 -2
- package/dist/client/api-management.js.map +1 -1
- package/dist/client/cloud-account.d.ts +13 -13
- package/dist/client/cloud-platform-horizon.d.ts +38 -19
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +19 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +213 -46
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +168 -33
- package/dist/client/cloud-platform.js.map +1 -1
- package/dist/client/cloud-runtimes.d.ts +4 -4
- package/dist/client/cloud-services.d.ts +17 -17
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/code-shift.d.ts +535 -162
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +296 -7
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts +127 -132
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/data-integration.d.ts +92 -53
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +38 -2
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +84 -0
- package/dist/client/discover.d.ts.map +1 -0
- package/dist/client/discover.js +359 -0
- package/dist/client/discover.js.map +1 -0
- package/dist/client/edp-bfa.d.ts +16 -0
- package/dist/client/edp-bfa.d.ts.map +1 -0
- package/dist/client/edp-bfa.js +24 -0
- package/dist/client/edp-bfa.js.map +1 -0
- package/dist/client/event-bus.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +20 -20
- package/dist/client/insights.d.ts +7 -7
- package/dist/client/notification.d.ts +17 -10
- package/dist/client/notification.d.ts.map +1 -1
- package/dist/client/notification.js +10 -1
- package/dist/client/notification.js.map +1 -1
- package/dist/client/runtime-manager.d.ts +8 -8
- package/dist/client/secrets.d.ts.map +1 -1
- package/dist/client/secrets.js +1 -1
- package/dist/client/secrets.js.map +1 -1
- package/dist/client/types.d.ts +50 -7
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +53 -53
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +3 -7
- package/dist/client/workspace-ai.js.map +1 -1
- package/dist/client/workspace-manager.d.ts +115 -76
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +47 -2
- package/dist/client/workspace-manager.js.map +1 -1
- package/dist/client/workspace-search.d.ts +2 -2
- package/dist/client/workspace.d.ts +58 -105
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.js.map +1 -1
- package/dist/error/StackspotAPIError.d.ts +3 -4
- package/dist/error/StackspotAPIError.d.ts.map +1 -1
- package/dist/error/StackspotAPIError.js +3 -3
- package/dist/error/StackspotAPIError.js.map +1 -1
- package/dist/error/dictionary/accountAssetManager.d.ts +11 -0
- package/dist/error/dictionary/accountAssetManager.d.ts.map +1 -0
- package/dist/error/dictionary/accountAssetManager.js +11 -0
- package/dist/error/dictionary/accountAssetManager.js.map +1 -0
- package/dist/error/dictionary/cloud-platform.d.ts +76 -8
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +80 -12
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/error/dictionary/workspace-ai.d.ts +9 -0
- package/dist/error/dictionary/workspace-ai.d.ts.map +1 -0
- package/dist/error/dictionary/workspace-ai.js +9 -0
- package/dist/error/dictionary/workspace-ai.js.map +1 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/network/NetworkClient.d.ts +4 -2
- package/dist/network/NetworkClient.d.ts.map +1 -1
- package/dist/network/NetworkClient.js +16 -4
- package/dist/network/NetworkClient.js.map +1 -1
- package/dist/network/types.d.ts +2 -0
- package/dist/network/types.d.ts.map +1 -1
- package/dist/utils/StreamedJson.d.ts +3 -1
- package/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +23 -3
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.dev.json +3 -0
- package/package.json +10 -9
- package/package.stg.json +3 -0
- package/readme.md +40 -1
- package/src/api/account.ts +701 -540
- package/src/api/accountAssetManager.ts +771 -0
- package/src/api/agent-tools.ts +332 -151
- package/src/api/ai.ts +891 -170
- package/src/api/cloudPlatform.ts +667 -298
- package/src/api/cloudPlatformHorizon.ts +412 -9
- package/src/api/codeShift.ts +2088 -97
- package/src/api/dataIntegration.ts +635 -1
- package/src/api/discover.ts +601 -0
- package/src/api/edpBfa.ts +472 -0
- package/src/api/genAiInference.ts +47 -4
- package/src/api/workflows.ts +100 -5
- package/src/api/workspaceManager.ts +25 -10
- package/src/api-addresses.ts +113 -38
- package/src/apis-itau.json +241 -0
- package/src/apis.json +18 -2
- package/src/client/account-asset-manager.ts +100 -0
- package/src/client/account.ts +71 -40
- package/src/client/agent-tools.ts +57 -17
- package/src/client/ai.ts +232 -20
- package/src/client/api-management.ts +7 -2
- package/src/client/cloud-platform-horizon.ts +12 -4
- package/src/client/cloud-platform.ts +101 -27
- package/src/client/code-shift.ts +196 -8
- package/src/client/data-integration.ts +28 -1
- package/src/client/discover.ts +319 -0
- package/src/client/edp-bfa.ts +24 -0
- package/src/client/notification.ts +6 -1
- package/src/client/secrets.ts +1 -1
- package/src/client/types.ts +55 -9
- package/src/client/workspace-ai.ts +19 -23
- package/src/client/workspace-manager.ts +31 -2
- package/src/error/DefaultAPIError.ts +5 -5
- package/src/error/StackspotAPIError.ts +4 -4
- package/src/error/dictionary/accountAssetManager.ts +12 -0
- package/src/error/dictionary/cloud-platform.ts +80 -12
- package/src/error/dictionary/workspace-ai.ts +10 -0
- package/src/index.ts +7 -4
- package/src/network/NetworkClient.ts +18 -6
- package/src/network/types.ts +3 -0
- package/src/utils/StreamedJson.tsx +19 -4
- package/dist/api/discovery.d.ts +0 -494
- package/dist/api/discovery.d.ts.map +0 -1
- package/dist/api/discovery.js +0 -205
- package/dist/api/discovery.js.map +0 -1
- package/dist/client/adp-mock.d.ts +0 -89
- package/dist/client/adp-mock.d.ts.map +0 -1
- package/dist/client/adp-mock.js +0 -246
- package/dist/client/adp-mock.js.map +0 -1
- package/dist/client/discovery.d.ts +0 -110
- package/dist/client/discovery.d.ts.map +0 -1
- package/dist/client/discovery.js +0 -133
- package/dist/client/discovery.js.map +0 -1
- package/src/api/discovery.ts +0 -729
- package/src/client/adp-mock.ts +0 -244
- package/src/client/discovery.ts +0 -73
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-addresses.js","sourceRoot":"","sources":["../src/api-addresses.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api-addresses.js","sourceRoot":"","sources":["../src/api-addresses.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,kBAAkB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACnE,OAAO,QAAQ,MAAM,aAAa,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AA2BvD,MAAM,WAAW,GAAS,QAAQ,CAAA;AAElC,MAAM,IAAI,GAAyB;IACjC,WAAW,EAAE,QAAQ;IACrB,MAAM,EAAE,YAAY;CACrB,CAAA;AAED;;;;;GAKG;AACH,SAAS,eAAe,CAAC,MAAc;IACrC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAA;AACrB,CAAC;AAED,SAAS,yBAAyB,CAAC,IAAU,EAAE,GAAQ;IACrD,MAAM,UAAU,GAAG,EAAgB,CAAA;IAEnC,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,MAAM,GAAG,GAAG,GAAe,CAAA;QAC3B,UAAU,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;IACtC,CAAC;IAED,OAAO,UAAU,CAAA;AACnB,CAAC;AAED;;;;;GAKG;AACH,SAAS,cAAc,CAA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mB;IACrC,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,eAAe;IAC7B,oBAAoB,EAAE,wBAAwB;IAC9C,SAAS,EAAE,YAAY;IACvB,cAAc,EAAE,cAAc;IAC9B,UAAU,EAAE,iBAAiB;IAC7B,cAAc,EAAE,SAAS;IACzB,mBAAmB,EAAE,uBAAuB;CACqB,CAAA;AAEnE,SAAS,cAAc,CAAC,IAAgB;IACtC,OAAQ,0BAA+D,CAAC,IAAI,CAAC,IAAI,IAAI,CAAA;AACvF,CAAC;AAED,SAAS,cAAc,CAAC,IAAgB;IACtC,MAAM,MAAM,GAAW,EAAE,CAAA;IACzB,KAAK,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9C,IAAI,GAAG,EAAE,CAAC;YACR,MAAM,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC,GAAiB,CAAC,CAAA;QACjD,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,GAAQ,EAAE,SAAiB,WAAW;IACzE,MAAM,IAAI,GAAG,oBAAoB,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;IAC9C,OAAO,cAAc,CAAC,IAAI,CAAC,CAAA;AAC7B,CAAC"}
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ai": {
|
|
3
|
+
"url": {
|
|
4
|
+
"stg": "https://genai-code-buddy-api.stackspot.hom.aws.cloud.ihf",
|
|
5
|
+
"dev": "https://genai-code-buddy-api.stackspot.dev.aws.cloud.ihf",
|
|
6
|
+
"prd": "https://genai-code-buddy-api.stackspot.prod.aws.cloud.ihf"
|
|
7
|
+
},
|
|
8
|
+
"docs": "/openapi.json"
|
|
9
|
+
},
|
|
10
|
+
"workspace-ai": {
|
|
11
|
+
"url": {
|
|
12
|
+
"stg": "https://genai-workspace-ai-api.stackspot.hom.aws.cloud.ihf",
|
|
13
|
+
"dev": "https://genai-workspace-ai-api.stackspot.dev.aws.cloud.ihf",
|
|
14
|
+
"prd": "https://genai-workspace-ai-api.stackspot.prod.aws.cloud.ihf"
|
|
15
|
+
},
|
|
16
|
+
"docs": "/openapi.json"
|
|
17
|
+
},
|
|
18
|
+
"agent": {
|
|
19
|
+
"url": {
|
|
20
|
+
"dev": "https://genai-ai-agent-mgmt-api.dev.stackspot.com",
|
|
21
|
+
"stg": "https://genai-ai-agent-mgmt-api.stg.stackspot.com",
|
|
22
|
+
"prd": "https://genai-ai-agent-mgmt-api.stackspot.com"
|
|
23
|
+
},
|
|
24
|
+
"docs": "/q/openapi"
|
|
25
|
+
},
|
|
26
|
+
"agent-tools": {
|
|
27
|
+
"url": {
|
|
28
|
+
"stg": "https://genai-agent-tools-api.stackspot.hom.aws.cloud.ihf",
|
|
29
|
+
"dev": "https://genai-agent-tools-api.stackspot.dev.aws.cloud.ihf",
|
|
30
|
+
"prd": "https://genai-agent-tools-api.stackspot.prod.aws.cloud.ihf"
|
|
31
|
+
},
|
|
32
|
+
"docs": "/openapi.json"
|
|
33
|
+
},
|
|
34
|
+
"dataIntegration": {
|
|
35
|
+
"url": {
|
|
36
|
+
"stg": "https://genai-data-integration.stackspot.hom.aws.cloud.ihf",
|
|
37
|
+
"dev": "https://genai-data-integration.stackspot.dev.aws.cloud.ihf",
|
|
38
|
+
"prd": "https://genai-data-integration.stackspot.prod.aws.cloud.ihf"
|
|
39
|
+
},
|
|
40
|
+
"docs": "/openapi.json"
|
|
41
|
+
},
|
|
42
|
+
"workspace": {
|
|
43
|
+
"url": {
|
|
44
|
+
"dev": "https://workspace-workspace-api.dev.stackspot.com",
|
|
45
|
+
"stg": "https://workspace-workspace-api.stg.stackspot.com",
|
|
46
|
+
"prd": "https://workspace.stackspot.com"
|
|
47
|
+
},
|
|
48
|
+
"docs": "/v3/api-docs"
|
|
49
|
+
},
|
|
50
|
+
"account": {
|
|
51
|
+
"url": {
|
|
52
|
+
"stg": "https://account-account-api.stackspot.hom.aws.cloud.ihf",
|
|
53
|
+
"dev": "https://account-account-api.stackspot.dev.aws.cloud.ihf",
|
|
54
|
+
"prd": "https://account-account-api.stackspot.prod.aws.cloud.ihf"
|
|
55
|
+
},
|
|
56
|
+
"docs": "/v3/api-docs"
|
|
57
|
+
},
|
|
58
|
+
"content": {
|
|
59
|
+
"url": {
|
|
60
|
+
"dev": "https://content-content-api.dev.stackspot.com",
|
|
61
|
+
"stg": "https://content-content-api.stg.stackspot.com",
|
|
62
|
+
"prd": "https://content-api.stackspot.com"
|
|
63
|
+
},
|
|
64
|
+
"docs": "/v3/api-docs"
|
|
65
|
+
},
|
|
66
|
+
"eventBus": {
|
|
67
|
+
"url": {
|
|
68
|
+
"stg": "https://idp-event-bus-api.stackspot.hom.aws.cloud.ihf",
|
|
69
|
+
"dev": "https://idp-event-bus-api.stackspot.dev.aws.cloud.ihf",
|
|
70
|
+
"prd": "https://idp-event-bus-api.stackspot.prod.aws.cloud.ihf"
|
|
71
|
+
},
|
|
72
|
+
"docs": "/v3/api-docs"
|
|
73
|
+
},
|
|
74
|
+
"serviceCatalog": {
|
|
75
|
+
"url": {
|
|
76
|
+
"dev": "https://catalog-tech-products-catalog-api.dev.stackspot.com",
|
|
77
|
+
"stg": "https://catalog-tech-products-catalog-api.stg.stackspot.com",
|
|
78
|
+
"prd": "https://catalog-api.stackspot.com"
|
|
79
|
+
},
|
|
80
|
+
"docs": "/v3/api-docs"
|
|
81
|
+
},
|
|
82
|
+
"apiRuntime": {
|
|
83
|
+
"url": {
|
|
84
|
+
"dev": "https://runtime-manager.dev.stackspot.com",
|
|
85
|
+
"stg": "https://runtime-manager.stg.stackspot.com",
|
|
86
|
+
"prd": "https://runtime-manager.stackspot.com"
|
|
87
|
+
},
|
|
88
|
+
"docs": "/v3/api-docs"
|
|
89
|
+
},
|
|
90
|
+
"cloudServices": {
|
|
91
|
+
"url": {
|
|
92
|
+
"dev": "https://cloud-services-cloud-services-api.dev.stackspot.com",
|
|
93
|
+
"stg": "https://cloud-services-cloud-services-api.stg.stackspot.com",
|
|
94
|
+
"prd": "https://cloud-services-api.stackspot.com"
|
|
95
|
+
},
|
|
96
|
+
"docs": "/v3/api-docs"
|
|
97
|
+
},
|
|
98
|
+
"cloudAccount": {
|
|
99
|
+
"url": {
|
|
100
|
+
"dev": "https://account-account-external-connections-api.dev.stackspot.com",
|
|
101
|
+
"stg": "https://account-account-external-connections-api.stg.stackspot.com",
|
|
102
|
+
"prd": "https://account-external-connections-api.stackspot.com"
|
|
103
|
+
},
|
|
104
|
+
"docs": "/v3/api-docs"
|
|
105
|
+
},
|
|
106
|
+
"dataPlatform": {
|
|
107
|
+
"url": {
|
|
108
|
+
"dev": "https://data-platform-metabase.dev.stackspot.com",
|
|
109
|
+
"stg": "https://data-platform-metabase.stg.stackspot.com",
|
|
110
|
+
"prd": "https://data-platform-stackspot-public.stackspot.com"
|
|
111
|
+
},
|
|
112
|
+
"docs": "/v3/api-docs"
|
|
113
|
+
},
|
|
114
|
+
"insights": {
|
|
115
|
+
"url": {
|
|
116
|
+
"dev": "https://insights-insights-api.dev.stackspot.com",
|
|
117
|
+
"stg": "https://insights-insights-api.stg.stackspot.com",
|
|
118
|
+
"prd": "https://insights-api.stackspot.com"
|
|
119
|
+
},
|
|
120
|
+
"docs": "/v3/api-docs"
|
|
121
|
+
},
|
|
122
|
+
"workflows": {
|
|
123
|
+
"url": {
|
|
124
|
+
"dev": "https://workflow-workflow-api.dev.stackspot.com",
|
|
125
|
+
"stg": "https://workflow-workflow-api.stg.stackspot.com",
|
|
126
|
+
"prd": "https://workflow-api.stackspot.com"
|
|
127
|
+
},
|
|
128
|
+
"docs": "/openapi.json"
|
|
129
|
+
},
|
|
130
|
+
"workspaceManager": {
|
|
131
|
+
"url": {
|
|
132
|
+
"dev": "https://workspace-workspace-manager.dev.stackspot.com",
|
|
133
|
+
"stg": "https://workspace-workspace-manager.stg.stackspot.com",
|
|
134
|
+
"prd": "https://workspace-manager.stackspot.com"
|
|
135
|
+
},
|
|
136
|
+
"docs": "/v3/api-docs"
|
|
137
|
+
},
|
|
138
|
+
"workspaceSearchEngine": {
|
|
139
|
+
"url": {
|
|
140
|
+
"dev": "https://workspace-search-engine-api.dev.stackspot.com",
|
|
141
|
+
"stg": "https://workspace-search-engine-api.stg.stackspot.com",
|
|
142
|
+
"prd": "https://workspace-search-engine-api.stackspot.com"
|
|
143
|
+
},
|
|
144
|
+
"docs": "/v3/api-docs"
|
|
145
|
+
},
|
|
146
|
+
"permissionValidation": {
|
|
147
|
+
"url": {
|
|
148
|
+
"stg": "https://portal-opa-server.stackspot.hom.aws.cloud.ihf/v1/validate",
|
|
149
|
+
"dev": "https://portal-opa-server.stackspot.dev.aws.cloud.ihf/v1/validate",
|
|
150
|
+
"prd": "https://portal-opa-server.stackspot.prod.aws.cloud.ihf/v1/validate"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"apiManagement": {
|
|
154
|
+
"url": {
|
|
155
|
+
"dev": "https://api-management-apigw.dev.stackspot.com/catalog-assets",
|
|
156
|
+
"stg": "https://api-management-apigw.stg.stackspot.com/catalog-assets",
|
|
157
|
+
"prd": "https://api-management-apigw.stackspot.com/catalog-assets"
|
|
158
|
+
},
|
|
159
|
+
"docs": "/v3/api-docs"
|
|
160
|
+
},
|
|
161
|
+
"secrets": {
|
|
162
|
+
"url": {
|
|
163
|
+
"dev": "https://workspace-workspace-secrets-api.dev.stackspot.com",
|
|
164
|
+
"stg": "https://workspace-workspace-secrets-api.stg.stackspot.com",
|
|
165
|
+
"prd": "https://secrets-api.stackspot.com"
|
|
166
|
+
},
|
|
167
|
+
"docs": "/v3/api-docs"
|
|
168
|
+
},
|
|
169
|
+
"notification": {
|
|
170
|
+
"url": {
|
|
171
|
+
"stg": "https://account-notification-engine.stackspot.hom.aws.cloud.ihf",
|
|
172
|
+
"dev": "https://account-notification-engine.stackspot.dev.aws.cloud.ihf",
|
|
173
|
+
"prd": "https://account-notification-engine.stackspot.prod.aws.cloud.ihf"
|
|
174
|
+
},
|
|
175
|
+
"docs": "/v3/api-docs"
|
|
176
|
+
},
|
|
177
|
+
"cloudPlatform": {
|
|
178
|
+
"url": {
|
|
179
|
+
"dev": "https://cloud-cloud-platform-api.dev.stackspot.com",
|
|
180
|
+
"stg": "https://cloud-cloud-platform-api.stg.stackspot.com",
|
|
181
|
+
"prd": "https://cloud-cloud-platform-api.prd.stackspot.com"
|
|
182
|
+
},
|
|
183
|
+
"docs": "/v3/api-docs"
|
|
184
|
+
},
|
|
185
|
+
"cloudRuntimes": {
|
|
186
|
+
"url": {
|
|
187
|
+
"dev": "https://cloud-cloud-runtime-api.dev.stackspot.com",
|
|
188
|
+
"stg": "https://cloud-cloud-runtime-api.stg.stackspot.com",
|
|
189
|
+
"prd": "https://cloud-cloud-runtime-api.prd.stackspot.com"
|
|
190
|
+
},
|
|
191
|
+
"docs": "/v3/api-docs"
|
|
192
|
+
},
|
|
193
|
+
"cloudPlatformHorizon": {
|
|
194
|
+
"url": {
|
|
195
|
+
"dev": "https://cloud-platform-horizon.dev.stackspot.com",
|
|
196
|
+
"stg": "https://cloud-platform-horizon.stg.stackspot.com",
|
|
197
|
+
"prd": "https://cloud-platform-horizon.stackspot.com"
|
|
198
|
+
},
|
|
199
|
+
"docs": "/v3/api-docs"
|
|
200
|
+
},
|
|
201
|
+
"codeShift": {
|
|
202
|
+
"url": {
|
|
203
|
+
"dev": "https://code-shift-code-shift-api.dev.stackspot.com",
|
|
204
|
+
"stg": "https://code-shift-code-shift-api.stg.stackspot.com",
|
|
205
|
+
"prd": "https://code-shift-api.stackspot.com"
|
|
206
|
+
},
|
|
207
|
+
"docs": "/openapi.json"
|
|
208
|
+
},
|
|
209
|
+
"genAiInference": {
|
|
210
|
+
"url": {
|
|
211
|
+
"stg": "https://genai-inference-app.stackspot.hom.aws.cloud.ihf",
|
|
212
|
+
"dev": "https://genai-inference-app.stackspot.dev.aws.cloud.ihf",
|
|
213
|
+
"prd": "https://genai-inference-app.stackspot.prod.aws.cloud.ihf"
|
|
214
|
+
},
|
|
215
|
+
"docs": "/openapi.json"
|
|
216
|
+
},
|
|
217
|
+
"discover": {
|
|
218
|
+
"url": {
|
|
219
|
+
"dev": "https://discover-discover-core.dev.stackspot.com",
|
|
220
|
+
"stg": "https://discover-discover-core.stg.stackspot.com",
|
|
221
|
+
"prd": "https://discover-core.stackspot.com"
|
|
222
|
+
},
|
|
223
|
+
"docs": "/v3/api-docs"
|
|
224
|
+
},
|
|
225
|
+
"accountAssetManager": {
|
|
226
|
+
"url": {
|
|
227
|
+
"dev": "https://account-asset-manager.dev.stackspot.com",
|
|
228
|
+
"stg": "https://account-asset-manager.stg.stackspot.com",
|
|
229
|
+
"prd": "https://account-asset-manager.stackspot.com"
|
|
230
|
+
},
|
|
231
|
+
"docs": "/v3/api-docs"
|
|
232
|
+
},
|
|
233
|
+
"edpBfa": {
|
|
234
|
+
"url": {
|
|
235
|
+
"dev": "https://adp-development-edp-bfa.dev.stackspot.com",
|
|
236
|
+
"stg": "https://adp-development-edp-bfa.stg.stackspot.com",
|
|
237
|
+
"prd": "https://edp-bfa.stackspot.com"
|
|
238
|
+
},
|
|
239
|
+
"docs": "/openapi.json"
|
|
240
|
+
}
|
|
241
|
+
}
|
package/dist/apis.json
CHANGED
|
@@ -214,12 +214,28 @@
|
|
|
214
214
|
},
|
|
215
215
|
"docs": "/openapi.json"
|
|
216
216
|
},
|
|
217
|
-
"
|
|
217
|
+
"discover": {
|
|
218
218
|
"url": {
|
|
219
219
|
"dev": "https://discover-discover-core.dev.stackspot.com",
|
|
220
220
|
"stg": "https://discover-discover-core.stg.stackspot.com",
|
|
221
|
-
"prd": "https://discover-
|
|
221
|
+
"prd": "https://discover-core.stackspot.com"
|
|
222
222
|
},
|
|
223
223
|
"docs": "/v3/api-docs"
|
|
224
|
+
},
|
|
225
|
+
"accountAssetManager": {
|
|
226
|
+
"url": {
|
|
227
|
+
"dev": "https://account-asset-manager.dev.stackspot.com",
|
|
228
|
+
"stg": "https://account-asset-manager.stg.stackspot.com",
|
|
229
|
+
"prd": "https://account-asset-manager.stackspot.com"
|
|
230
|
+
},
|
|
231
|
+
"docs": "/v3/api-docs"
|
|
232
|
+
},
|
|
233
|
+
"edpBfa": {
|
|
234
|
+
"url": {
|
|
235
|
+
"dev": "https://adp-development-edp-bfa.dev.stackspot.com",
|
|
236
|
+
"stg": "https://adp-development-edp-bfa.stg.stackspot.com",
|
|
237
|
+
"prd": "https://edp-bfa.stackspot.com"
|
|
238
|
+
},
|
|
239
|
+
"docs": "/openapi.json"
|
|
224
240
|
}
|
|
225
241
|
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { HttpError } from '@oazapfts/runtime';
|
|
2
|
+
import { StackspotAPIError } from '../error/StackspotAPIError.js';
|
|
3
|
+
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
|
|
4
|
+
declare class AccountAssetManagerClient extends ReactQueryNetworkClient {
|
|
5
|
+
constructor();
|
|
6
|
+
protected buildStackSpotError(error: HttpError): StackspotAPIError;
|
|
7
|
+
/**
|
|
8
|
+
* Save project
|
|
9
|
+
*/
|
|
10
|
+
saveProject: import("../network/types.js").MutationObject<Omit<{
|
|
11
|
+
createProjectRequest: import("../api/accountAssetManager.js").CreateProjectRequest;
|
|
12
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").ApiIdResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Get project details
|
|
15
|
+
*/
|
|
16
|
+
getProjectDetails: import("../network/types.js").QueryObject<Omit<{
|
|
17
|
+
projectId: string;
|
|
18
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").ProjectDetailsResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Delete project
|
|
21
|
+
*/
|
|
22
|
+
deleteProject: import("../network/types.js").MutationObject<Omit<{
|
|
23
|
+
projectId: string;
|
|
24
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
25
|
+
/**
|
|
26
|
+
* Update project
|
|
27
|
+
*/
|
|
28
|
+
updateProject: import("../network/types.js").MutationObject<Omit<{
|
|
29
|
+
projectId: string;
|
|
30
|
+
updateProjectRequest: import("../api/accountAssetManager.js").UpdateProjectRequest;
|
|
31
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").ProjectResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Disassociate project asset
|
|
34
|
+
*/
|
|
35
|
+
disassociateProjectAsset: import("../network/types.js").MutationObject<Omit<{
|
|
36
|
+
projectId: string;
|
|
37
|
+
assetId: string;
|
|
38
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
39
|
+
/**
|
|
40
|
+
* List account folders
|
|
41
|
+
*/
|
|
42
|
+
folders: import("../network/types.js").QueryObject<Omit<{
|
|
43
|
+
withPermission?: "READ" | "WRITE";
|
|
44
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").FolderResponse[]>;
|
|
45
|
+
/**
|
|
46
|
+
* Create new folder in account
|
|
47
|
+
*/
|
|
48
|
+
createFolder: import("../network/types.js").MutationObject<Omit<{
|
|
49
|
+
createFolderRequest: import("../api/accountAssetManager.js").CreateFolderRequest;
|
|
50
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").ApiIdResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Get folder details
|
|
53
|
+
*/
|
|
54
|
+
folderDetails: import("../network/types.js").QueryObject<Omit<{
|
|
55
|
+
folderId: string;
|
|
56
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").FoldersDetailsResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Delete folder
|
|
59
|
+
*/
|
|
60
|
+
deleteFolder: import("../network/types.js").MutationObject<Omit<{
|
|
61
|
+
folderId: string;
|
|
62
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
63
|
+
/**
|
|
64
|
+
* Update folder
|
|
65
|
+
*/
|
|
66
|
+
updateFolder: import("../network/types.js").MutationObject<Omit<{
|
|
67
|
+
folderId: string;
|
|
68
|
+
updateFolderRequest: import("../api/accountAssetManager.js").UpdateFolderRequest;
|
|
69
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").ApiIdResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Create asset
|
|
72
|
+
*/
|
|
73
|
+
createAsset: import("../network/types.js").MutationObject<Omit<{
|
|
74
|
+
createAssetTypeRequest: import("../api/accountAssetManager.js").CreateAssetTypeRequest;
|
|
75
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").ApiIdResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* Update asset
|
|
78
|
+
*/
|
|
79
|
+
updateAsset: import("../network/types.js").MutationObject<Omit<{
|
|
80
|
+
projectId: string;
|
|
81
|
+
assetId: string;
|
|
82
|
+
updateAssetRequest: import("../api/accountAssetManager.js").UpdateAssetRequest;
|
|
83
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").ApiIdResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* List all asset types
|
|
86
|
+
*/
|
|
87
|
+
assetTypes: import("../network/types.js").QueryObject<Omit<{
|
|
88
|
+
name?: string;
|
|
89
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").AssetTypeResponse[]>;
|
|
90
|
+
/**
|
|
91
|
+
* Save asset type
|
|
92
|
+
*/
|
|
93
|
+
saveAssetType: import("../network/types.js").MutationObject<Omit<{
|
|
94
|
+
createAssetTypeRequest: import("../api/accountAssetManager.js").CreateAssetTypeRequest;
|
|
95
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").ApiIdResponse>;
|
|
96
|
+
/**
|
|
97
|
+
* Delete asset type
|
|
98
|
+
*/
|
|
99
|
+
deleteAssetType: import("../network/types.js").MutationObject<Omit<{
|
|
100
|
+
assetTypeId: string;
|
|
101
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
102
|
+
/**
|
|
103
|
+
* Update asset type
|
|
104
|
+
*/
|
|
105
|
+
updateAssetType: import("../network/types.js").MutationObject<Omit<{
|
|
106
|
+
assetTypeId: string;
|
|
107
|
+
updateAssetTypeRequest: import("../api/accountAssetManager.js").UpdateAssetTypeRequest;
|
|
108
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/accountAssetManager.js").ApiIdResponse>;
|
|
109
|
+
}
|
|
110
|
+
export declare const accountAssetManagerClient: AccountAssetManagerClient;
|
|
111
|
+
export {};
|
|
112
|
+
//# sourceMappingURL=account-asset-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-asset-manager.d.ts","sourceRoot":"","sources":["../../src/client/account-asset-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAK7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAG5E,cAAM,yBAA0B,SAAQ,uBAAuB;;IAK7D,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAIlE;;OAEG;IACH,WAAW;;uHAAuD;IAElE;;OAEG;IACH,iBAAiB;;gIAA0D;IAE3E;;OAEG;IACH,aAAa;;4EAAyD;IAEtE;;OAEG;IACH,aAAa;;;yHAAyD;IAEtE;;OAEG;IACH,wBAAwB;;;4EAAoE;IAE5F;;OAEG;IACH,OAAO;;0HAAoD;IAE3D;;OAEG;IACH,YAAY;;uHAAsD;IAElE;;OAEG;IACH,aAAa;;gIAAyD;IAEtE;;OAEG;IACH,YAAY;;4EAAwD;IAEpE;;OAEG;IACH,YAAY;;;uHAAyD;IAErE;;OAEG;IACH,WAAW;;uHAAyD;IAEpE;;OAEG;IACH,WAAW;;;;uHAAuD;IAElE;;OAEG;IACH,UAAU;;6HAAuD;IAEjE;;OAEG;IACH,aAAa;;uHAAyD;IAEtE;;OAEG;IACH,eAAe;;4EAA2D;IAE1E;;OAEG;IACH,eAAe;;;uHAA2D;CAC3E;AAED,eAAO,MAAM,yBAAyB,2BAAkC,CAAA"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { getApiAddresses } from '../api-addresses.js';
|
|
2
|
+
import { defaults, deleteAssetType, deleteFolder, deleteProject, disassociateProjectAsset, getFolderDetails, getProjectDetails, listAssetTypes, listFolders, saveAssetType, saveFolder, saveProject, updateAsset, updateAssetType, updateFolders, updateProject } from '../api/accountAssetManager.js';
|
|
3
|
+
import { DefaultAPIError } from '../error/DefaultAPIError.js';
|
|
4
|
+
import { accountAssetManagerDictionary } from '../error/dictionary/accountAssetManager.js';
|
|
5
|
+
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
|
|
6
|
+
import { removeAuthorizationParam } from '../utils/remove-authorization-param.js';
|
|
7
|
+
class AccountAssetManagerClient extends ReactQueryNetworkClient {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(getApiAddresses().accountAssetManager.url, defaults);
|
|
10
|
+
/**
|
|
11
|
+
* Save project
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(this, "saveProject", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: this.mutation(removeAuthorizationParam(saveProject))
|
|
18
|
+
});
|
|
19
|
+
/**
|
|
20
|
+
* Get project details
|
|
21
|
+
*/
|
|
22
|
+
Object.defineProperty(this, "getProjectDetails", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
configurable: true,
|
|
25
|
+
writable: true,
|
|
26
|
+
value: this.query(removeAuthorizationParam(getProjectDetails))
|
|
27
|
+
});
|
|
28
|
+
/**
|
|
29
|
+
* Delete project
|
|
30
|
+
*/
|
|
31
|
+
Object.defineProperty(this, "deleteProject", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
configurable: true,
|
|
34
|
+
writable: true,
|
|
35
|
+
value: this.mutation(removeAuthorizationParam(deleteProject))
|
|
36
|
+
});
|
|
37
|
+
/**
|
|
38
|
+
* Update project
|
|
39
|
+
*/
|
|
40
|
+
Object.defineProperty(this, "updateProject", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
writable: true,
|
|
44
|
+
value: this.mutation(removeAuthorizationParam(updateProject))
|
|
45
|
+
});
|
|
46
|
+
/**
|
|
47
|
+
* Disassociate project asset
|
|
48
|
+
*/
|
|
49
|
+
Object.defineProperty(this, "disassociateProjectAsset", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
configurable: true,
|
|
52
|
+
writable: true,
|
|
53
|
+
value: this.mutation(removeAuthorizationParam(disassociateProjectAsset))
|
|
54
|
+
});
|
|
55
|
+
/**
|
|
56
|
+
* List account folders
|
|
57
|
+
*/
|
|
58
|
+
Object.defineProperty(this, "folders", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
configurable: true,
|
|
61
|
+
writable: true,
|
|
62
|
+
value: this.query(removeAuthorizationParam(listFolders))
|
|
63
|
+
});
|
|
64
|
+
/**
|
|
65
|
+
* Create new folder in account
|
|
66
|
+
*/
|
|
67
|
+
Object.defineProperty(this, "createFolder", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
configurable: true,
|
|
70
|
+
writable: true,
|
|
71
|
+
value: this.mutation(removeAuthorizationParam(saveFolder))
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* Get folder details
|
|
75
|
+
*/
|
|
76
|
+
Object.defineProperty(this, "folderDetails", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
configurable: true,
|
|
79
|
+
writable: true,
|
|
80
|
+
value: this.query(removeAuthorizationParam(getFolderDetails))
|
|
81
|
+
});
|
|
82
|
+
/**
|
|
83
|
+
* Delete folder
|
|
84
|
+
*/
|
|
85
|
+
Object.defineProperty(this, "deleteFolder", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
configurable: true,
|
|
88
|
+
writable: true,
|
|
89
|
+
value: this.mutation(removeAuthorizationParam(deleteFolder))
|
|
90
|
+
});
|
|
91
|
+
/**
|
|
92
|
+
* Update folder
|
|
93
|
+
*/
|
|
94
|
+
Object.defineProperty(this, "updateFolder", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
configurable: true,
|
|
97
|
+
writable: true,
|
|
98
|
+
value: this.mutation(removeAuthorizationParam(updateFolders))
|
|
99
|
+
});
|
|
100
|
+
/**
|
|
101
|
+
* Create asset
|
|
102
|
+
*/
|
|
103
|
+
Object.defineProperty(this, "createAsset", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
configurable: true,
|
|
106
|
+
writable: true,
|
|
107
|
+
value: this.mutation(removeAuthorizationParam(saveAssetType))
|
|
108
|
+
});
|
|
109
|
+
/**
|
|
110
|
+
* Update asset
|
|
111
|
+
*/
|
|
112
|
+
Object.defineProperty(this, "updateAsset", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
configurable: true,
|
|
115
|
+
writable: true,
|
|
116
|
+
value: this.mutation(removeAuthorizationParam(updateAsset))
|
|
117
|
+
});
|
|
118
|
+
/**
|
|
119
|
+
* List all asset types
|
|
120
|
+
*/
|
|
121
|
+
Object.defineProperty(this, "assetTypes", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
configurable: true,
|
|
124
|
+
writable: true,
|
|
125
|
+
value: this.query(removeAuthorizationParam(listAssetTypes))
|
|
126
|
+
});
|
|
127
|
+
/**
|
|
128
|
+
* Save asset type
|
|
129
|
+
*/
|
|
130
|
+
Object.defineProperty(this, "saveAssetType", {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
configurable: true,
|
|
133
|
+
writable: true,
|
|
134
|
+
value: this.mutation(removeAuthorizationParam(saveAssetType))
|
|
135
|
+
});
|
|
136
|
+
/**
|
|
137
|
+
* Delete asset type
|
|
138
|
+
*/
|
|
139
|
+
Object.defineProperty(this, "deleteAssetType", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
configurable: true,
|
|
142
|
+
writable: true,
|
|
143
|
+
value: this.mutation(removeAuthorizationParam(deleteAssetType))
|
|
144
|
+
});
|
|
145
|
+
/**
|
|
146
|
+
* Update asset type
|
|
147
|
+
*/
|
|
148
|
+
Object.defineProperty(this, "updateAssetType", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
configurable: true,
|
|
151
|
+
writable: true,
|
|
152
|
+
value: this.mutation(removeAuthorizationParam(updateAssetType))
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
buildStackSpotError(error) {
|
|
156
|
+
return new DefaultAPIError(error.data, error.status, accountAssetManagerDictionary, error.headers);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
export const accountAssetManagerClient = new AccountAssetManagerClient();
|
|
160
|
+
//# sourceMappingURL=account-asset-manager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-asset-manager.js","sourceRoot":"","sources":["../../src/client/account-asset-manager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AACnS,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAA;AA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