proiectro 0.1.0 → 0.2.0

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/dist/index.js CHANGED
@@ -936,6 +936,42 @@ var teamPreviewPortalPayments = (options) => (options.client ?? client).get({
936
936
  url: "/api/v1/{tenant_path}/portal/{customer_org_external_id}/payments",
937
937
  ...options
938
938
  });
939
+ var teamPreviewPortalAssets = (options) => (options.client ?? client).get({
940
+ security: [{ scheme: "bearer", type: "http" }, {
941
+ in: "cookie",
942
+ name: "sessionid",
943
+ type: "apiKey"
944
+ }],
945
+ url: "/api/v1/{tenant_path}/portal/{customer_org_external_id}/assets",
946
+ ...options
947
+ });
948
+ var teamPreviewPortalAssetDetail = (options) => (options.client ?? client).get({
949
+ security: [{ scheme: "bearer", type: "http" }, {
950
+ in: "cookie",
951
+ name: "sessionid",
952
+ type: "apiKey"
953
+ }],
954
+ url: "/api/v1/{tenant_path}/portal/{customer_org_external_id}/asset_detail/{asset_id}",
955
+ ...options
956
+ });
957
+ var teamPreviewPortalAssetTickets = (options) => (options.client ?? client).get({
958
+ security: [{ scheme: "bearer", type: "http" }, {
959
+ in: "cookie",
960
+ name: "sessionid",
961
+ type: "apiKey"
962
+ }],
963
+ url: "/api/v1/{tenant_path}/portal/{customer_org_external_id}/asset_tickets/{asset_id}",
964
+ ...options
965
+ });
966
+ var teamPreviewPortalAssetClosedTickets = (options) => (options.client ?? client).get({
967
+ security: [{ scheme: "bearer", type: "http" }, {
968
+ in: "cookie",
969
+ name: "sessionid",
970
+ type: "apiKey"
971
+ }],
972
+ url: "/api/v1/{tenant_path}/portal/{customer_org_external_id}/asset_closed_tickets/{asset_id}",
973
+ ...options
974
+ });
939
975
  var tenantTeam = (options) => (options.client ?? client).get({
940
976
  security: [{ scheme: "bearer", type: "http" }, {
941
977
  in: "cookie",
@@ -6819,6 +6855,15 @@ var listTasks = (options) => (options.client ?? client).get({
6819
6855
  url: "/api/v1/{tenant_path}/tasks",
6820
6856
  ...options
6821
6857
  });
6858
+ var listAssetOperationalItems = (options) => (options.client ?? client).get({
6859
+ security: [{ scheme: "bearer", type: "http" }, {
6860
+ in: "cookie",
6861
+ name: "sessionid",
6862
+ type: "apiKey"
6863
+ }],
6864
+ url: "/api/v1/{tenant_path}/list_asset_operational_items/{asset_id}",
6865
+ ...options
6866
+ });
6822
6867
  var deleteTask = (options) => (options.client ?? client).delete({
6823
6868
  security: [{ scheme: "bearer", type: "http" }, {
6824
6869
  in: "cookie",
@@ -6968,6 +7013,236 @@ var editSupportRequestComment = (options) => (options.client ?? client).patch({
6968
7013
  ...options.headers
6969
7014
  }
6970
7015
  });
7016
+ var listAssetCategories = (options) => (options.client ?? client).get({
7017
+ security: [{ scheme: "bearer", type: "http" }, {
7018
+ in: "cookie",
7019
+ name: "sessionid",
7020
+ type: "apiKey"
7021
+ }],
7022
+ url: "/api/v1/{tenant_path}/list_asset_categories",
7023
+ ...options
7024
+ });
7025
+ var addAssetCategory = (options) => (options.client ?? client).post({
7026
+ security: [{ scheme: "bearer", type: "http" }, {
7027
+ in: "cookie",
7028
+ name: "sessionid",
7029
+ type: "apiKey"
7030
+ }],
7031
+ url: "/api/v1/{tenant_path}/add_asset_category",
7032
+ ...options,
7033
+ headers: {
7034
+ "Content-Type": "application/json",
7035
+ ...options.headers
7036
+ }
7037
+ });
7038
+ var editAssetCategory = (options) => (options.client ?? client).patch({
7039
+ security: [{ scheme: "bearer", type: "http" }, {
7040
+ in: "cookie",
7041
+ name: "sessionid",
7042
+ type: "apiKey"
7043
+ }],
7044
+ url: "/api/v1/{tenant_path}/edit_asset_category/{category_id}",
7045
+ ...options,
7046
+ headers: {
7047
+ "Content-Type": "application/json",
7048
+ ...options.headers
7049
+ }
7050
+ });
7051
+ var deleteAssetCategory = (options) => (options.client ?? client).delete({
7052
+ security: [{ scheme: "bearer", type: "http" }, {
7053
+ in: "cookie",
7054
+ name: "sessionid",
7055
+ type: "apiKey"
7056
+ }],
7057
+ url: "/api/v1/{tenant_path}/delete_asset_category/{category_id}",
7058
+ ...options
7059
+ });
7060
+ var listCustomerLocations = (options) => (options.client ?? client).get({
7061
+ security: [{ scheme: "bearer", type: "http" }, {
7062
+ in: "cookie",
7063
+ name: "sessionid",
7064
+ type: "apiKey"
7065
+ }],
7066
+ url: "/api/v1/{tenant_path}/list_customer_locations/{org_id}",
7067
+ ...options
7068
+ });
7069
+ var addCustomerLocation = (options) => (options.client ?? client).post({
7070
+ security: [{ scheme: "bearer", type: "http" }, {
7071
+ in: "cookie",
7072
+ name: "sessionid",
7073
+ type: "apiKey"
7074
+ }],
7075
+ url: "/api/v1/{tenant_path}/add_customer_location",
7076
+ ...options,
7077
+ headers: {
7078
+ "Content-Type": "application/json",
7079
+ ...options.headers
7080
+ }
7081
+ });
7082
+ var editCustomerLocation = (options) => (options.client ?? client).patch({
7083
+ security: [{ scheme: "bearer", type: "http" }, {
7084
+ in: "cookie",
7085
+ name: "sessionid",
7086
+ type: "apiKey"
7087
+ }],
7088
+ url: "/api/v1/{tenant_path}/edit_customer_location/{customer_location_id}",
7089
+ ...options,
7090
+ headers: {
7091
+ "Content-Type": "application/json",
7092
+ ...options.headers
7093
+ }
7094
+ });
7095
+ var deleteCustomerLocation = (options) => (options.client ?? client).delete({
7096
+ security: [{ scheme: "bearer", type: "http" }, {
7097
+ in: "cookie",
7098
+ name: "sessionid",
7099
+ type: "apiKey"
7100
+ }],
7101
+ url: "/api/v1/{tenant_path}/delete_customer_location/{customer_location_id}",
7102
+ ...options
7103
+ });
7104
+ var locationCustomerLocations = (options) => (options.client ?? client).get({
7105
+ security: [{ scheme: "bearer", type: "http" }, {
7106
+ in: "cookie",
7107
+ name: "sessionid",
7108
+ type: "apiKey"
7109
+ }],
7110
+ url: "/api/v1/{tenant_path}/location_customer_locations/{location_id}",
7111
+ ...options
7112
+ });
7113
+ var listCustomerLocationAssets = (options) => (options.client ?? client).get({
7114
+ security: [{ scheme: "bearer", type: "http" }, {
7115
+ in: "cookie",
7116
+ name: "sessionid",
7117
+ type: "apiKey"
7118
+ }],
7119
+ url: "/api/v1/{tenant_path}/list_customer_location_assets/{customer_location_id}",
7120
+ ...options
7121
+ });
7122
+ var listCustomerAssets = (options) => (options.client ?? client).get({
7123
+ security: [{ scheme: "bearer", type: "http" }, {
7124
+ in: "cookie",
7125
+ name: "sessionid",
7126
+ type: "apiKey"
7127
+ }],
7128
+ url: "/api/v1/{tenant_path}/list_customer_assets/{org_id}",
7129
+ ...options
7130
+ });
7131
+ var addCustomerAsset = (options) => (options.client ?? client).post({
7132
+ security: [{ scheme: "bearer", type: "http" }, {
7133
+ in: "cookie",
7134
+ name: "sessionid",
7135
+ type: "apiKey"
7136
+ }],
7137
+ url: "/api/v1/{tenant_path}/add_customer_asset",
7138
+ ...options,
7139
+ headers: {
7140
+ "Content-Type": "application/json",
7141
+ ...options.headers
7142
+ }
7143
+ });
7144
+ var editCustomerAsset = (options) => (options.client ?? client).patch({
7145
+ security: [{ scheme: "bearer", type: "http" }, {
7146
+ in: "cookie",
7147
+ name: "sessionid",
7148
+ type: "apiKey"
7149
+ }],
7150
+ url: "/api/v1/{tenant_path}/edit_customer_asset/{asset_id}",
7151
+ ...options,
7152
+ headers: {
7153
+ "Content-Type": "application/json",
7154
+ ...options.headers
7155
+ }
7156
+ });
7157
+ var deleteCustomerAsset = (options) => (options.client ?? client).delete({
7158
+ security: [{ scheme: "bearer", type: "http" }, {
7159
+ in: "cookie",
7160
+ name: "sessionid",
7161
+ type: "apiKey"
7162
+ }],
7163
+ url: "/api/v1/{tenant_path}/delete_customer_asset/{asset_id}",
7164
+ ...options
7165
+ });
7166
+ var listCustomerAssetChildren = (options) => (options.client ?? client).get({
7167
+ security: [{ scheme: "bearer", type: "http" }, {
7168
+ in: "cookie",
7169
+ name: "sessionid",
7170
+ type: "apiKey"
7171
+ }],
7172
+ url: "/api/v1/{tenant_path}/list_customer_asset_children/{asset_id}",
7173
+ ...options
7174
+ });
7175
+ var listCustomerAssetTickets = (options) => (options.client ?? client).get({
7176
+ security: [{ scheme: "bearer", type: "http" }, {
7177
+ in: "cookie",
7178
+ name: "sessionid",
7179
+ type: "apiKey"
7180
+ }],
7181
+ url: "/api/v1/{tenant_path}/list_customer_asset_tickets/{asset_id}",
7182
+ ...options
7183
+ });
7184
+ var tenantLocations = (options) => (options.client ?? client).get({
7185
+ security: [{ scheme: "bearer", type: "http" }, {
7186
+ in: "cookie",
7187
+ name: "sessionid",
7188
+ type: "apiKey"
7189
+ }],
7190
+ url: "/api/v1/{tenant_path}/locations",
7191
+ ...options
7192
+ });
7193
+ var addLocation = (options) => (options.client ?? client).post({
7194
+ security: [{ scheme: "bearer", type: "http" }, {
7195
+ in: "cookie",
7196
+ name: "sessionid",
7197
+ type: "apiKey"
7198
+ }],
7199
+ url: "/api/v1/{tenant_path}/add_location",
7200
+ ...options,
7201
+ headers: {
7202
+ "Content-Type": "application/json",
7203
+ ...options.headers
7204
+ }
7205
+ });
7206
+ var editLocation = (options) => (options.client ?? client).patch({
7207
+ security: [{ scheme: "bearer", type: "http" }, {
7208
+ in: "cookie",
7209
+ name: "sessionid",
7210
+ type: "apiKey"
7211
+ }],
7212
+ url: "/api/v1/{tenant_path}/edit_location/{location_id}",
7213
+ ...options,
7214
+ headers: {
7215
+ "Content-Type": "application/json",
7216
+ ...options.headers
7217
+ }
7218
+ });
7219
+ var reorderLocationUp = (options) => (options.client ?? client).patch({
7220
+ security: [{ scheme: "bearer", type: "http" }, {
7221
+ in: "cookie",
7222
+ name: "sessionid",
7223
+ type: "apiKey"
7224
+ }],
7225
+ url: "/api/v1/{tenant_path}/move_location_up/{location_id}",
7226
+ ...options
7227
+ });
7228
+ var reorderLocationDown = (options) => (options.client ?? client).patch({
7229
+ security: [{ scheme: "bearer", type: "http" }, {
7230
+ in: "cookie",
7231
+ name: "sessionid",
7232
+ type: "apiKey"
7233
+ }],
7234
+ url: "/api/v1/{tenant_path}/move_location_down/{location_id}",
7235
+ ...options
7236
+ });
7237
+ var deleteLocation = (options) => (options.client ?? client).delete({
7238
+ security: [{ scheme: "bearer", type: "http" }, {
7239
+ in: "cookie",
7240
+ name: "sessionid",
7241
+ type: "apiKey"
7242
+ }],
7243
+ url: "/api/v1/{tenant_path}/delete_location/{location_id}",
7244
+ ...options
7245
+ });
6971
7246
  var userNotifications = (options) => (options?.client ?? client).get({
6972
7247
  security: [{ scheme: "bearer", type: "http" }, {
6973
7248
  in: "cookie",
@@ -7003,6 +7278,10 @@ var portalSupportRequests = (options) => (options.client ?? client).get({ url: "
7003
7278
  var portalClosedSupportRequests = (options) => (options.client ?? client).get({ url: "/api/v1/portal/{customer_org_id}/closed_support_requests", ...options });
7004
7279
  var portalPayments = (options) => (options.client ?? client).get({ url: "/api/v1/portal/{customer_org_id}/payments", ...options });
7005
7280
  var portalPaymentsChart = (options) => (options.client ?? client).get({ url: "/api/v1/portal/{customer_org_id}/payments_chart", ...options });
7281
+ var portalAssets = (options) => (options.client ?? client).get({ url: "/api/v1/portal/{customer_org_id}/assets", ...options });
7282
+ var portalAssetDetail = (options) => (options.client ?? client).get({ url: "/api/v1/portal/{customer_org_id}/asset_detail/{asset_id}", ...options });
7283
+ var portalAssetTickets = (options) => (options.client ?? client).get({ url: "/api/v1/portal/{customer_org_id}/asset_tickets/{asset_id}", ...options });
7284
+ var portalAssetClosedTickets = (options) => (options.client ?? client).get({ url: "/api/v1/portal/{customer_org_id}/asset_closed_tickets/{asset_id}", ...options });
7006
7285
  var portalProjectProducts = (options) => (options.client ?? client).get({ url: "/api/v1/portal/{customer_org_id}/projects/{project_id}/products", ...options });
7007
7286
  var portalProductStatusHistory = (options) => (options.client ?? client).get({ url: "/api/v1/portal/{customer_org_id}/projects/{project_id}/products/{product_id}/history", ...options });
7008
7287
  var portalApproveProduct = (options) => (options.client ?? client).patch({
@@ -7344,6 +7623,15 @@ var partnerPortalPaymentsChart = (options) => (options.client ?? client).get({
7344
7623
  url: "/api/v1/{tenant_path}/partner_portal/{bridge_id}/payments_chart",
7345
7624
  ...options
7346
7625
  });
7626
+ var partnerPortalAssets = (options) => (options.client ?? client).get({
7627
+ security: [{ scheme: "bearer", type: "http" }, {
7628
+ in: "cookie",
7629
+ name: "sessionid",
7630
+ type: "apiKey"
7631
+ }],
7632
+ url: "/api/v1/{tenant_path}/partner_portal/{bridge_id}/assets",
7633
+ ...options
7634
+ });
7347
7635
  var partnerPortalSupportRequests = (options) => (options.client ?? client).get({
7348
7636
  security: [{ scheme: "bearer", type: "http" }, {
7349
7637
  in: "cookie",
@@ -8665,10 +8953,13 @@ export {
8665
8953
  activePartners,
8666
8954
  activeProposals,
8667
8955
  addApiKey,
8956
+ addAssetCategory,
8668
8957
  addCatalogProduct,
8669
8958
  addContact,
8670
8959
  addCostType,
8671
8960
  addCustomProduct,
8961
+ addCustomerAsset,
8962
+ addCustomerLocation,
8672
8963
  addExchange,
8673
8964
  addExternalSupportRequest,
8674
8965
  addExternalSupportRequestComment,
@@ -8684,6 +8975,7 @@ export {
8684
8975
  addInternalSupportRequestForResource,
8685
8976
  addInternalSupportRequestForWorkItem,
8686
8977
  addLabel,
8978
+ addLocation,
8687
8979
  addMemberAvailability,
8688
8980
  addMemberToRole,
8689
8981
  addOwnExternalSupportRequestComment,
@@ -8820,9 +9112,12 @@ export {
8820
9112
  declineInvitation,
8821
9113
  declineSolicitation,
8822
9114
  deleteApiKey,
9115
+ deleteAssetCategory,
8823
9116
  deleteCatalogProduct,
8824
9117
  deleteContact,
8825
9118
  deleteCostType,
9119
+ deleteCustomerAsset,
9120
+ deleteCustomerLocation,
8826
9121
  deleteExchange,
8827
9122
  deleteExternalSupportRequestComment,
8828
9123
  deleteFunnelConfiguration,
@@ -8830,6 +9125,7 @@ export {
8830
9125
  deleteHoliday,
8831
9126
  deleteInternalSupportRequestComment,
8832
9127
  deleteLabel,
9128
+ deleteLocation,
8833
9129
  deleteMemberAvailability,
8834
9130
  deleteMemberFromRole,
8835
9131
  deleteOwnExternalComment,
@@ -8894,10 +9190,13 @@ export {
8894
9190
  deleteWorkResourceUsage,
8895
9191
  dismissCampaign,
8896
9192
  editApiKey,
9193
+ editAssetCategory,
8897
9194
  editBridgeGrants,
8898
9195
  editCatalogProduct,
8899
9196
  editContact,
8900
9197
  editCostType,
9198
+ editCustomerAsset,
9199
+ editCustomerLocation,
8901
9200
  editExchange,
8902
9201
  editExternalSupportRequest,
8903
9202
  editExternalSupportRequestComment,
@@ -8907,6 +9206,7 @@ export {
8907
9206
  editInternalSupportRequest,
8908
9207
  editInternalSupportRequestComment,
8909
9208
  editLabel,
9209
+ editLocation,
8910
9210
  editMember,
8911
9211
  editMemberMiscPreferences,
8912
9212
  editOwnExternalComment,
@@ -9018,8 +9318,15 @@ export {
9018
9318
  labelRole,
9019
9319
  labelWorkItemTemplate,
9020
9320
  linkWorkItemTemplateToProduct,
9321
+ listAssetCategories,
9322
+ listAssetOperationalItems,
9021
9323
  listAssignedToMeInternalSupportRequests,
9022
9324
  listCalendarTokens,
9325
+ listCustomerAssetChildren,
9326
+ listCustomerAssetTickets,
9327
+ listCustomerAssets,
9328
+ listCustomerLocationAssets,
9329
+ listCustomerLocations,
9023
9330
  listHolidays,
9024
9331
  listInternalSupportRequests,
9025
9332
  listOpenInternalSupportRequests,
@@ -9057,6 +9364,7 @@ export {
9057
9364
  listTasks,
9058
9365
  listUserProcesses,
9059
9366
  listWorkItemTypes,
9367
+ locationCustomerLocations,
9060
9368
  markAllNotificationsRead,
9061
9369
  markExternalSupportRequestFileAsDeleted,
9062
9370
  markExternalSupportRequestFileAsDeletedOwn,
@@ -9108,6 +9416,7 @@ export {
9108
9416
  partnerPortalAcceptSolution,
9109
9417
  partnerPortalAddSupportRequest,
9110
9418
  partnerPortalAddSupportRequestComment,
9419
+ partnerPortalAssets,
9111
9420
  partnerPortalCloseSupportRequest,
9112
9421
  partnerPortalClosedSupportRequests,
9113
9422
  partnerPortalDeleteComment,
@@ -9142,6 +9451,10 @@ export {
9142
9451
  portalAcceptSolutionExternalSupportRequest,
9143
9452
  portalAddSupportRequestComment,
9144
9453
  portalApproveProduct,
9454
+ portalAssetClosedTickets,
9455
+ portalAssetDetail,
9456
+ portalAssetTickets,
9457
+ portalAssets,
9145
9458
  portalCloseSupportRequest,
9146
9459
  portalClosedSupportRequests,
9147
9460
  portalDeleteSupportRequestComment,
@@ -9296,6 +9609,8 @@ export {
9296
9609
  reopenRfp,
9297
9610
  reorderCostTypeDown,
9298
9611
  reorderCostTypeUp,
9612
+ reorderLocationDown,
9613
+ reorderLocationUp,
9299
9614
  reorderPaymentScheduleBlocks,
9300
9615
  reorderResourceDown,
9301
9616
  reorderResourceUp,
@@ -9352,6 +9667,10 @@ export {
9352
9667
  tagWorkItemTemplate,
9353
9668
  taskHistory,
9354
9669
  teamLoad,
9670
+ teamPreviewPortalAssetClosedTickets,
9671
+ teamPreviewPortalAssetDetail,
9672
+ teamPreviewPortalAssetTickets,
9673
+ teamPreviewPortalAssets,
9355
9674
  teamPreviewPortalPayments,
9356
9675
  teamPreviewPortalProjects,
9357
9676
  teamPreviewPortalProposals,
@@ -9371,6 +9690,7 @@ export {
9371
9690
  tenantInfo,
9372
9691
  tenantLabels,
9373
9692
  tenantLegalInfo,
9693
+ tenantLocations,
9374
9694
  tenantMemberLabels,
9375
9695
  tenantMemberPermissions,
9376
9696
  tenantMemberTags,