@digital-realty/ix-notifications 1.2.5 → 1.2.7

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 (35) hide show
  1. package/dist/src/api/notifications-api/apis/NotificationsApi.d.ts +2 -2
  2. package/dist/src/api/notifications-api/apis/NotificationsApi.js +2 -2
  3. package/dist/src/api/notifications-api/apis/NotificationsApi.js.map +1 -1
  4. package/dist/src/api/notifications-api/apis/index.d.ts +1 -1
  5. package/dist/src/api/notifications-api/apis/index.js +1 -1
  6. package/dist/src/api/notifications-api/apis/index.js.map +1 -1
  7. package/dist/src/api/notifications-api/index.d.ts +3 -3
  8. package/dist/src/api/notifications-api/index.js +3 -3
  9. package/dist/src/api/notifications-api/index.js.map +1 -1
  10. package/dist/src/api/notifications-api/models/ErrorResponse.js +1 -1
  11. package/dist/src/api/notifications-api/models/ErrorResponse.js.map +1 -1
  12. package/dist/src/api/notifications-api/models/GetNotifications200Response.d.ts +1 -1
  13. package/dist/src/api/notifications-api/models/GetNotifications200Response.js +2 -2
  14. package/dist/src/api/notifications-api/models/GetNotifications200Response.js.map +1 -1
  15. package/dist/src/api/notifications-api/models/Notification.d.ts +1 -1
  16. package/dist/src/api/notifications-api/models/Notification.js +2 -2
  17. package/dist/src/api/notifications-api/models/Notification.js.map +1 -1
  18. package/dist/src/api/notifications-api/models/NotificationBulkPatch.d.ts +1 -1
  19. package/dist/src/api/notifications-api/models/NotificationBulkPatch.js +1 -1
  20. package/dist/src/api/notifications-api/models/NotificationBulkPatch.js.map +1 -1
  21. package/dist/src/api/notifications-api/models/NotificationBulkPatchResult.js +1 -1
  22. package/dist/src/api/notifications-api/models/NotificationBulkPatchResult.js.map +1 -1
  23. package/dist/src/api/notifications-api/models/NotificationDelete.js +1 -1
  24. package/dist/src/api/notifications-api/models/NotificationDelete.js.map +1 -1
  25. package/dist/src/api/notifications-api/models/NotificationPatch.d.ts +1 -1
  26. package/dist/src/api/notifications-api/models/NotificationPatch.js +1 -1
  27. package/dist/src/api/notifications-api/models/NotificationPatch.js.map +1 -1
  28. package/dist/src/api/notifications-api/models/NotificationRequest.js +1 -1
  29. package/dist/src/api/notifications-api/models/NotificationRequest.js.map +1 -1
  30. package/dist/src/api/notifications-api/models/PaginatedResponse.js +1 -1
  31. package/dist/src/api/notifications-api/models/PaginatedResponse.js.map +1 -1
  32. package/dist/src/api/notifications-api/models/index.d.ts +10 -10
  33. package/dist/src/api/notifications-api/models/index.js +10 -10
  34. package/dist/src/api/notifications-api/models/index.js.map +1 -1
  35. package/package.json +3 -3
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import * as runtime from '../runtime';
13
- import type { GetNotifications200Response, Notification, NotificationBulkPatch, NotificationBulkPatchResult, NotificationDelete, NotificationPatch, NotificationRequest, Status } from '../models/index';
12
+ import * as runtime from '../runtime.js';
13
+ import type { GetNotifications200Response, Notification, NotificationBulkPatch, NotificationBulkPatchResult, NotificationDelete, NotificationPatch, NotificationRequest, Status } from '../models/index.js';
14
14
  export interface CreateNotificationRequest {
15
15
  notificationRequest?: NotificationRequest;
16
16
  }
@@ -11,8 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import * as runtime from '../runtime';
15
- import { GetNotifications200ResponseFromJSON, NotificationFromJSON, NotificationBulkPatchToJSON, NotificationBulkPatchResultFromJSON, NotificationDeleteFromJSON, NotificationPatchFromJSON, NotificationPatchToJSON, NotificationRequestToJSON, } from '../models/index';
14
+ import * as runtime from '../runtime.js';
15
+ import { GetNotifications200ResponseFromJSON, NotificationFromJSON, NotificationBulkPatchToJSON, NotificationBulkPatchResultFromJSON, NotificationDeleteFromJSON, NotificationPatchFromJSON, NotificationPatchToJSON, NotificationRequestToJSON, } from '../models/index.js';
16
16
  /**
17
17
  *
18
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsApi.js","sourceRoot":"","sources":["../../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EAAE,qBAAqB,CAAC,OAAO,CAAC,IAAI,IAAI,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC;YAClG,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC;SACrE,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,yBAAyB,CAAC,SAAS,CAAC,CAAC,CAAC;IACtG,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,sBAAsB,CAAC,iBAAgD,EAAE,aAA0D;QACrI,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,yBAAyB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACxF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport * as runtime from '../runtime';\nimport type {\n ErrorResponse,\n GetNotifications200Response,\n Notification,\n NotificationBulkPatch,\n NotificationBulkPatchResult,\n NotificationDelete,\n NotificationPatch,\n NotificationRequest,\n Status,\n} from '../models/index';\nimport {\n ErrorResponseFromJSON,\n ErrorResponseToJSON,\n GetNotifications200ResponseFromJSON,\n GetNotifications200ResponseToJSON,\n NotificationFromJSON,\n NotificationToJSON,\n NotificationBulkPatchFromJSON,\n NotificationBulkPatchToJSON,\n NotificationBulkPatchResultFromJSON,\n NotificationBulkPatchResultToJSON,\n NotificationDeleteFromJSON,\n NotificationDeleteToJSON,\n NotificationPatchFromJSON,\n NotificationPatchToJSON,\n NotificationRequestFromJSON,\n NotificationRequestToJSON,\n StatusFromJSON,\n StatusToJSON,\n} from '../models/index';\n\nexport interface CreateNotificationRequest {\n notificationRequest?: NotificationRequest;\n}\n\nexport interface DeleteNotificationsByIdRequest {\n id: string;\n}\n\nexport interface GetNotificationsRequest {\n sort?: string;\n cursor?: string;\n resourceType?: string;\n accountNumber?: string;\n createdAfter?: Date;\n createdBefore?: Date;\n locationId?: string;\n subGroup?: string;\n status?: Status;\n prefer?: Array<string>;\n}\n\nexport interface GetNotificationsByIdRequest {\n id: string;\n}\n\nexport interface PatchNotificationsRequest {\n notificationBulkPatch: NotificationBulkPatch;\n}\n\nexport interface PatchNotificationsByIdRequest {\n id: string;\n notificationPatch?: NotificationPatch;\n}\n\n/**\n * \n */\nexport class NotificationsApi extends runtime.BaseAPI {\n\n /**\n * Submit notification to be sent to user\n */\n async createNotificationRaw(requestParameters: CreateNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Notification>> {\n const queryParameters: any = {};\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n headerParameters['Content-Type'] = 'application/json';\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications`,\n method: 'POST',\n headers: headerParameters,\n query: queryParameters,\n body: NotificationRequestToJSON(requestParameters.notificationRequest),\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => NotificationFromJSON(jsonValue));\n }\n\n /**\n * Submit notification to be sent to user\n */\n async createNotification(requestParameters: CreateNotificationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Notification> {\n const response = await this.createNotificationRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n /**\n * Delete a notification by id\n */\n async deleteNotificationsByIdRaw(requestParameters: DeleteNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationDelete>> {\n if (requestParameters.id === null || requestParameters.id === undefined) {\n throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling deleteNotificationsById.');\n }\n\n const queryParameters: any = {};\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications/{id}`.replace(`{${\"id\"}}`, encodeURIComponent(String(requestParameters.id))),\n method: 'DELETE',\n headers: headerParameters,\n query: queryParameters,\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => NotificationDeleteFromJSON(jsonValue));\n }\n\n /**\n * Delete a notification by id\n */\n async deleteNotificationsById(requestParameters: DeleteNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationDelete> {\n const response = await this.deleteNotificationsByIdRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n /**\n * Get all notifications\n */\n async getNotificationsRaw(requestParameters: GetNotificationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetNotifications200Response>> {\n const queryParameters: any = {};\n\n if (requestParameters.sort !== undefined) {\n queryParameters['sort'] = requestParameters.sort;\n }\n\n if (requestParameters.cursor !== undefined) {\n queryParameters['cursor'] = requestParameters.cursor;\n }\n\n if (requestParameters.resourceType !== undefined) {\n queryParameters['resource_type'] = requestParameters.resourceType;\n }\n\n if (requestParameters.accountNumber !== undefined) {\n queryParameters['account_number'] = requestParameters.accountNumber;\n }\n\n if (requestParameters.createdAfter !== undefined) {\n queryParameters['created_after'] = (requestParameters.createdAfter as any).toISOString();\n }\n\n if (requestParameters.createdBefore !== undefined) {\n queryParameters['created_before'] = (requestParameters.createdBefore as any).toISOString();\n }\n\n if (requestParameters.locationId !== undefined) {\n queryParameters['location_id'] = requestParameters.locationId;\n }\n\n if (requestParameters.subGroup !== undefined) {\n queryParameters['sub_group'] = requestParameters.subGroup;\n }\n\n if (requestParameters.status !== undefined) {\n queryParameters['status'] = requestParameters.status;\n }\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n if (requestParameters.prefer) {\n headerParameters['Prefer'] = requestParameters.prefer.join(runtime.COLLECTION_FORMATS[\"csv\"]);\n }\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications`,\n method: 'GET',\n headers: headerParameters,\n query: queryParameters,\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => GetNotifications200ResponseFromJSON(jsonValue));\n }\n\n /**\n * Get all notifications\n */\n async getNotifications(requestParameters: GetNotificationsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetNotifications200Response> {\n const response = await this.getNotificationsRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n /**\n * Get an notification by id\n */\n async getNotificationsByIdRaw(requestParameters: GetNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Notification>> {\n if (requestParameters.id === null || requestParameters.id === undefined) {\n throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling getNotificationsById.');\n }\n\n const queryParameters: any = {};\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications/{id}`.replace(`{${\"id\"}}`, encodeURIComponent(String(requestParameters.id))),\n method: 'GET',\n headers: headerParameters,\n query: queryParameters,\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => NotificationFromJSON(jsonValue));\n }\n\n /**\n * Get an notification by id\n */\n async getNotificationsById(requestParameters: GetNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Notification> {\n const response = await this.getNotificationsByIdRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n /**\n * Bulk update notifications for the authenticated user (by email and permitted account numbers)\n */\n async patchNotificationsRaw(requestParameters: PatchNotificationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationBulkPatchResult>> {\n if (requestParameters.notificationBulkPatch === null || requestParameters.notificationBulkPatch === undefined) {\n throw new runtime.RequiredError('notificationBulkPatch','Required parameter requestParameters.notificationBulkPatch was null or undefined when calling patchNotifications.');\n }\n\n const queryParameters: any = {};\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n headerParameters['Content-Type'] = 'application/json';\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications`,\n method: 'PATCH',\n headers: headerParameters,\n query: queryParameters,\n body: NotificationBulkPatchToJSON(requestParameters.notificationBulkPatch),\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => NotificationBulkPatchResultFromJSON(jsonValue));\n }\n\n /**\n * Bulk update notifications for the authenticated user (by email and permitted account numbers)\n */\n async patchNotifications(requestParameters: PatchNotificationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationBulkPatchResult> {\n const response = await this.patchNotificationsRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n /**\n * Update specific fields on a notification by id\n */\n async patchNotificationsByIdRaw(requestParameters: PatchNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationPatch>> {\n if (requestParameters.id === null || requestParameters.id === undefined) {\n throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling patchNotificationsById.');\n }\n\n const queryParameters: any = {};\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n headerParameters['Content-Type'] = 'application/json';\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications/{id}`.replace(`{${\"id\"}}`, encodeURIComponent(String(requestParameters.id))),\n method: 'PATCH',\n headers: headerParameters,\n query: queryParameters,\n body: NotificationPatchToJSON(requestParameters.notificationPatch),\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => NotificationPatchFromJSON(jsonValue));\n }\n\n /**\n * Update specific fields on a notification by id\n */\n async patchNotificationsById(requestParameters: PatchNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationPatch> {\n const response = await this.patchNotificationsByIdRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n}\n"]}
1
+ {"version":3,"file":"NotificationsApi.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/apis/NotificationsApi.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AAYzC,OAAO,EAGH,mCAAmC,EAEnC,oBAAoB,EAGpB,2BAA2B,EAC3B,mCAAmC,EAEnC,0BAA0B,EAE1B,yBAAyB,EACzB,uBAAuB,EAEvB,yBAAyB,GAG5B,MAAM,oBAAoB,CAAC;AAoC5B;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,OAAO,CAAC,OAAO;IAEjD;;OAEG;IACH,KAAK,CAAC,qBAAqB,CAAC,iBAA4C,EAAE,aAA0D;QAChI,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,CAAC,sBAAsB,CAAC,iBAAgD,EAAE,aAA0D;QACrI,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,yBAAyB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACxF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport * as runtime from '../runtime.js';\nimport type {\n ErrorResponse,\n GetNotifications200Response,\n Notification,\n NotificationBulkPatch,\n NotificationBulkPatchResult,\n NotificationDelete,\n NotificationPatch,\n NotificationRequest,\n Status,\n} from '../models/index.js';\nimport {\n ErrorResponseFromJSON,\n ErrorResponseToJSON,\n GetNotifications200ResponseFromJSON,\n GetNotifications200ResponseToJSON,\n NotificationFromJSON,\n NotificationToJSON,\n NotificationBulkPatchFromJSON,\n NotificationBulkPatchToJSON,\n NotificationBulkPatchResultFromJSON,\n NotificationBulkPatchResultToJSON,\n NotificationDeleteFromJSON,\n NotificationDeleteToJSON,\n NotificationPatchFromJSON,\n NotificationPatchToJSON,\n NotificationRequestFromJSON,\n NotificationRequestToJSON,\n StatusFromJSON,\n StatusToJSON,\n} from '../models/index.js';\n\nexport interface CreateNotificationRequest {\n notificationRequest?: NotificationRequest;\n}\n\nexport interface DeleteNotificationsByIdRequest {\n id: string;\n}\n\nexport interface GetNotificationsRequest {\n sort?: string;\n cursor?: string;\n resourceType?: string;\n accountNumber?: string;\n createdAfter?: Date;\n createdBefore?: Date;\n locationId?: string;\n subGroup?: string;\n status?: Status;\n prefer?: Array<string>;\n}\n\nexport interface GetNotificationsByIdRequest {\n id: string;\n}\n\nexport interface PatchNotificationsRequest {\n notificationBulkPatch: NotificationBulkPatch;\n}\n\nexport interface PatchNotificationsByIdRequest {\n id: string;\n notificationPatch?: NotificationPatch;\n}\n\n/**\n * \n */\nexport class NotificationsApi extends runtime.BaseAPI {\n\n /**\n * Submit notification to be sent to user\n */\n async createNotificationRaw(requestParameters: CreateNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Notification>> {\n const queryParameters: any = {};\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n headerParameters['Content-Type'] = 'application/json';\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications`,\n method: 'POST',\n headers: headerParameters,\n query: queryParameters,\n body: NotificationRequestToJSON(requestParameters.notificationRequest),\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => NotificationFromJSON(jsonValue));\n }\n\n /**\n * Submit notification to be sent to user\n */\n async createNotification(requestParameters: CreateNotificationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Notification> {\n const response = await this.createNotificationRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n /**\n * Delete a notification by id\n */\n async deleteNotificationsByIdRaw(requestParameters: DeleteNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationDelete>> {\n if (requestParameters.id === null || requestParameters.id === undefined) {\n throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling deleteNotificationsById.');\n }\n\n const queryParameters: any = {};\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications/{id}`.replace(`{${\"id\"}}`, encodeURIComponent(String(requestParameters.id))),\n method: 'DELETE',\n headers: headerParameters,\n query: queryParameters,\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => NotificationDeleteFromJSON(jsonValue));\n }\n\n /**\n * Delete a notification by id\n */\n async deleteNotificationsById(requestParameters: DeleteNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationDelete> {\n const response = await this.deleteNotificationsByIdRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n /**\n * Get all notifications\n */\n async getNotificationsRaw(requestParameters: GetNotificationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetNotifications200Response>> {\n const queryParameters: any = {};\n\n if (requestParameters.sort !== undefined) {\n queryParameters['sort'] = requestParameters.sort;\n }\n\n if (requestParameters.cursor !== undefined) {\n queryParameters['cursor'] = requestParameters.cursor;\n }\n\n if (requestParameters.resourceType !== undefined) {\n queryParameters['resource_type'] = requestParameters.resourceType;\n }\n\n if (requestParameters.accountNumber !== undefined) {\n queryParameters['account_number'] = requestParameters.accountNumber;\n }\n\n if (requestParameters.createdAfter !== undefined) {\n queryParameters['created_after'] = (requestParameters.createdAfter as any).toISOString();\n }\n\n if (requestParameters.createdBefore !== undefined) {\n queryParameters['created_before'] = (requestParameters.createdBefore as any).toISOString();\n }\n\n if (requestParameters.locationId !== undefined) {\n queryParameters['location_id'] = requestParameters.locationId;\n }\n\n if (requestParameters.subGroup !== undefined) {\n queryParameters['sub_group'] = requestParameters.subGroup;\n }\n\n if (requestParameters.status !== undefined) {\n queryParameters['status'] = requestParameters.status;\n }\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n if (requestParameters.prefer) {\n headerParameters['Prefer'] = requestParameters.prefer.join(runtime.COLLECTION_FORMATS[\"csv\"]);\n }\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications`,\n method: 'GET',\n headers: headerParameters,\n query: queryParameters,\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => GetNotifications200ResponseFromJSON(jsonValue));\n }\n\n /**\n * Get all notifications\n */\n async getNotifications(requestParameters: GetNotificationsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetNotifications200Response> {\n const response = await this.getNotificationsRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n /**\n * Get an notification by id\n */\n async getNotificationsByIdRaw(requestParameters: GetNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Notification>> {\n if (requestParameters.id === null || requestParameters.id === undefined) {\n throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling getNotificationsById.');\n }\n\n const queryParameters: any = {};\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications/{id}`.replace(`{${\"id\"}}`, encodeURIComponent(String(requestParameters.id))),\n method: 'GET',\n headers: headerParameters,\n query: queryParameters,\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => NotificationFromJSON(jsonValue));\n }\n\n /**\n * Get an notification by id\n */\n async getNotificationsById(requestParameters: GetNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Notification> {\n const response = await this.getNotificationsByIdRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n /**\n * Bulk update notifications for the authenticated user (by email and permitted account numbers)\n */\n async patchNotificationsRaw(requestParameters: PatchNotificationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationBulkPatchResult>> {\n if (requestParameters.notificationBulkPatch === null || requestParameters.notificationBulkPatch === undefined) {\n throw new runtime.RequiredError('notificationBulkPatch','Required parameter requestParameters.notificationBulkPatch was null or undefined when calling patchNotifications.');\n }\n\n const queryParameters: any = {};\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n headerParameters['Content-Type'] = 'application/json';\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications`,\n method: 'PATCH',\n headers: headerParameters,\n query: queryParameters,\n body: NotificationBulkPatchToJSON(requestParameters.notificationBulkPatch),\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => NotificationBulkPatchResultFromJSON(jsonValue));\n }\n\n /**\n * Bulk update notifications for the authenticated user (by email and permitted account numbers)\n */\n async patchNotifications(requestParameters: PatchNotificationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationBulkPatchResult> {\n const response = await this.patchNotificationsRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n /**\n * Update specific fields on a notification by id\n */\n async patchNotificationsByIdRaw(requestParameters: PatchNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationPatch>> {\n if (requestParameters.id === null || requestParameters.id === undefined) {\n throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling patchNotificationsById.');\n }\n\n const queryParameters: any = {};\n\n const headerParameters: runtime.HTTPHeaders = {};\n\n headerParameters['Content-Type'] = 'application/json';\n\n if (this.configuration && this.configuration.accessToken) {\n const token = this.configuration.accessToken;\n const tokenString = await token(\"bearerToken\", []);\n\n if (tokenString) {\n headerParameters[\"Authorization\"] = `Bearer ${tokenString}`;\n }\n }\n const response = await this.request({\n path: `/notifications/{id}`.replace(`{${\"id\"}}`, encodeURIComponent(String(requestParameters.id))),\n method: 'PATCH',\n headers: headerParameters,\n query: queryParameters,\n body: NotificationPatchToJSON(requestParameters.notificationPatch),\n }, initOverrides);\n\n return new runtime.JSONApiResponse(response, (jsonValue) => NotificationPatchFromJSON(jsonValue));\n }\n\n /**\n * Update specific fields on a notification by id\n */\n async patchNotificationsById(requestParameters: PatchNotificationsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationPatch> {\n const response = await this.patchNotificationsByIdRaw(requestParameters, initOverrides);\n return await response.value();\n }\n\n}\n"]}
@@ -1 +1 @@
1
- export * from './NotificationsApi';
1
+ export * from './NotificationsApi.js';
@@ -1,4 +1,4 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export * from './NotificationsApi';
3
+ export * from './NotificationsApi.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/apis/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,oBAAoB,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\nexport * from './NotificationsApi';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/apis/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,uBAAuB,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\nexport * from './NotificationsApi.js';\n"]}
@@ -1,3 +1,3 @@
1
- export * from './runtime';
2
- export * from './apis/index';
3
- export * from './models/index';
1
+ export * from './runtime.js';
2
+ export * from './apis/index.js';
3
+ export * from './models/index.js';
@@ -1,6 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export * from './runtime';
4
- export * from './apis/index';
5
- export * from './models/index';
3
+ export * from './runtime.js';
4
+ export * from './apis/index.js';
5
+ export * from './models/index.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/notifications-api/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\nexport * from './runtime';\nexport * from './apis/index';\nexport * from './models/index';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/notifications-api/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\nexport * from './runtime.js';\nexport * from './apis/index.js';\nexport * from './models/index.js';\n"]}
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
14
+ import { exists } from '../runtime.js';
15
15
  /**
16
16
  * Check if a given object implements the ErrorResponse interface.
17
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorResponse.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/ErrorResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,YAAY,CAAC;AAuC/C;;GAEG;AACH,MAAM,UAAU,uBAAuB,CAAC,KAAa;IACjD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC9D,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACpE,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC9D,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC3D,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;KAC3D,CAAC;AACN,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,KAA4B;IAC5D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime';\n/**\n * Error Response.\n * @export\n * @interface ErrorResponse\n */\nexport interface ErrorResponse {\n /**\n * A human-readable explanation specific to this occurrence of the problem.\n * @type {string}\n * @memberof ErrorResponse\n */\n detail?: string;\n /**\n * A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.\n * @type {string}\n * @memberof ErrorResponse\n */\n instance?: string;\n /**\n * The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n * @type {number}\n * @memberof ErrorResponse\n */\n status?: number;\n /**\n * A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n * @type {string}\n * @memberof ErrorResponse\n */\n title?: string;\n /**\n * A URI reference (see RFC3986) that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be \"about:blank\".\n * @type {string}\n * @memberof ErrorResponse\n */\n type?: string;\n}\n\n/**\n * Check if a given object implements the ErrorResponse interface.\n */\nexport function instanceOfErrorResponse(value: object): boolean {\n let isInstance = true;\n\n return isInstance;\n}\n\nexport function ErrorResponseFromJSON(json: any): ErrorResponse {\n return ErrorResponseFromJSONTyped(json, false);\n}\n\nexport function ErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponse {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'detail': !exists(json, 'detail') ? undefined : json['detail'],\n 'instance': !exists(json, 'instance') ? undefined : json['instance'],\n 'status': !exists(json, 'status') ? undefined : json['status'],\n 'title': !exists(json, 'title') ? undefined : json['title'],\n 'type': !exists(json, 'type') ? undefined : json['type'],\n };\n}\n\nexport function ErrorResponseToJSON(value?: ErrorResponse | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'detail': value.detail,\n 'instance': value.instance,\n 'status': value.status,\n 'title': value.title,\n 'type': value.type,\n };\n}\n\n"]}
1
+ {"version":3,"file":"ErrorResponse.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/ErrorResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,eAAe,CAAC;AAuClD;;GAEG;AACH,MAAM,UAAU,uBAAuB,CAAC,KAAa;IACjD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC9D,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACpE,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC9D,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC3D,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;KAC3D,CAAC;AACN,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,KAA4B;IAC5D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime.js';\n/**\n * Error Response.\n * @export\n * @interface ErrorResponse\n */\nexport interface ErrorResponse {\n /**\n * A human-readable explanation specific to this occurrence of the problem.\n * @type {string}\n * @memberof ErrorResponse\n */\n detail?: string;\n /**\n * A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.\n * @type {string}\n * @memberof ErrorResponse\n */\n instance?: string;\n /**\n * The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n * @type {number}\n * @memberof ErrorResponse\n */\n status?: number;\n /**\n * A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n * @type {string}\n * @memberof ErrorResponse\n */\n title?: string;\n /**\n * A URI reference (see RFC3986) that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be \"about:blank\".\n * @type {string}\n * @memberof ErrorResponse\n */\n type?: string;\n}\n\n/**\n * Check if a given object implements the ErrorResponse interface.\n */\nexport function instanceOfErrorResponse(value: object): boolean {\n let isInstance = true;\n\n return isInstance;\n}\n\nexport function ErrorResponseFromJSON(json: any): ErrorResponse {\n return ErrorResponseFromJSONTyped(json, false);\n}\n\nexport function ErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponse {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'detail': !exists(json, 'detail') ? undefined : json['detail'],\n 'instance': !exists(json, 'instance') ? undefined : json['instance'],\n 'status': !exists(json, 'status') ? undefined : json['status'],\n 'title': !exists(json, 'title') ? undefined : json['title'],\n 'type': !exists(json, 'type') ? undefined : json['type'],\n };\n}\n\nexport function ErrorResponseToJSON(value?: ErrorResponse | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'detail': value.detail,\n 'instance': value.instance,\n 'status': value.status,\n 'title': value.title,\n 'type': value.type,\n };\n}\n\n"]}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Notification } from './Notification';
12
+ import type { Notification } from './Notification.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -11,8 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
- import { NotificationFromJSON, NotificationToJSON, } from './Notification';
14
+ import { exists } from '../runtime.js';
15
+ import { NotificationFromJSON, NotificationToJSON, } from './Notification.js';
16
16
  /**
17
17
  * Check if a given object implements the GetNotifications200Response interface.
18
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"GetNotifications200Response.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/GetNotifications200Response.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,YAAY,CAAC;AAE/C,OAAO,EACH,oBAAoB,EAEpB,kBAAkB,GACrB,MAAM,gBAAgB,CAAC;AA8CxB;;GAEG;AACH,MAAM,UAAU,qCAAqC,CAAC,KAAa;IAC/D,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAE5C,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACxD,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC3D,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACxD,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACxD,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACxD,OAAO,EAAE,CAAE,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;KACrE,CAAC;AACN,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,KAA0C;IACxF,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,OAAO,EAAE,CAAE,KAAK,CAAC,KAAoB,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;KACjE,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime';\nimport type { Notification } from './Notification';\nimport {\n NotificationFromJSON,\n NotificationFromJSONTyped,\n NotificationToJSON,\n} from './Notification';\n\n/**\n * \n * @export\n * @interface GetNotifications200Response\n */\nexport interface GetNotifications200Response {\n /**\n * Pagination link|cursor pointing to the current page.\n * @type {string}\n * @memberof GetNotifications200Response\n */\n self?: string;\n /**\n * Pagination link|cursor pointing to the first page.\n * @type {string}\n * @memberof GetNotifications200Response\n */\n first?: string;\n /**\n * Pagination link|cursor pointing to the previous page.\n * @type {string}\n * @memberof GetNotifications200Response\n */\n prev?: string;\n /**\n * Pagination link|cursor pointing to the next page.\n * @type {string}\n * @memberof GetNotifications200Response\n */\n next?: string;\n /**\n * Pagination link|cursor pointing to the last page.\n * @type {string}\n * @memberof GetNotifications200Response\n */\n last?: string;\n /**\n * \n * @type {Array<Notification>}\n * @memberof GetNotifications200Response\n */\n items: Array<Notification>;\n}\n\n/**\n * Check if a given object implements the GetNotifications200Response interface.\n */\nexport function instanceOfGetNotifications200Response(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"items\" in value;\n\n return isInstance;\n}\n\nexport function GetNotifications200ResponseFromJSON(json: any): GetNotifications200Response {\n return GetNotifications200ResponseFromJSONTyped(json, false);\n}\n\nexport function GetNotifications200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetNotifications200Response {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'self': !exists(json, 'self') ? undefined : json['self'],\n 'first': !exists(json, 'first') ? undefined : json['first'],\n 'prev': !exists(json, 'prev') ? undefined : json['prev'],\n 'next': !exists(json, 'next') ? undefined : json['next'],\n 'last': !exists(json, 'last') ? undefined : json['last'],\n 'items': ((json['items'] as Array<any>).map(NotificationFromJSON)),\n };\n}\n\nexport function GetNotifications200ResponseToJSON(value?: GetNotifications200Response | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'self': value.self,\n 'first': value.first,\n 'prev': value.prev,\n 'next': value.next,\n 'last': value.last,\n 'items': ((value.items as Array<any>).map(NotificationToJSON)),\n };\n}\n\n"]}
1
+ {"version":3,"file":"GetNotifications200Response.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/GetNotifications200Response.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;A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OAAO,EAAE,CAAE,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;KACrE,CAAC;AACN,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,KAA0C;IACxF,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,OAAO,EAAE,CAAE,KAAK,CAAC,KAAoB,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;KACjE,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime.js';\nimport type { Notification } from './Notification.js';\nimport {\n NotificationFromJSON,\n NotificationFromJSONTyped,\n NotificationToJSON,\n} from './Notification.js';\n\n/**\n * \n * @export\n * @interface GetNotifications200Response\n */\nexport interface GetNotifications200Response {\n /**\n * Pagination link|cursor pointing to the current page.\n * @type {string}\n * @memberof GetNotifications200Response\n */\n self?: string;\n /**\n * Pagination link|cursor pointing to the first page.\n * @type {string}\n * @memberof GetNotifications200Response\n */\n first?: string;\n /**\n * Pagination link|cursor pointing to the previous page.\n * @type {string}\n * @memberof GetNotifications200Response\n */\n prev?: string;\n /**\n * Pagination link|cursor pointing to the next page.\n * @type {string}\n * @memberof GetNotifications200Response\n */\n next?: string;\n /**\n * Pagination link|cursor pointing to the last page.\n * @type {string}\n * @memberof GetNotifications200Response\n */\n last?: string;\n /**\n * \n * @type {Array<Notification>}\n * @memberof GetNotifications200Response\n */\n items: Array<Notification>;\n}\n\n/**\n * Check if a given object implements the GetNotifications200Response interface.\n */\nexport function instanceOfGetNotifications200Response(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"items\" in value;\n\n return isInstance;\n}\n\nexport function GetNotifications200ResponseFromJSON(json: any): GetNotifications200Response {\n return GetNotifications200ResponseFromJSONTyped(json, false);\n}\n\nexport function GetNotifications200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetNotifications200Response {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'self': !exists(json, 'self') ? undefined : json['self'],\n 'first': !exists(json, 'first') ? undefined : json['first'],\n 'prev': !exists(json, 'prev') ? undefined : json['prev'],\n 'next': !exists(json, 'next') ? undefined : json['next'],\n 'last': !exists(json, 'last') ? undefined : json['last'],\n 'items': ((json['items'] as Array<any>).map(NotificationFromJSON)),\n };\n}\n\nexport function GetNotifications200ResponseToJSON(value?: GetNotifications200Response | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'self': value.self,\n 'first': value.first,\n 'prev': value.prev,\n 'next': value.next,\n 'last': value.last,\n 'items': ((value.items as Array<any>).map(NotificationToJSON)),\n };\n}\n\n"]}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Status } from './Status';
12
+ import type { Status } from './Status.js';
13
13
  /**
14
14
  * Notification
15
15
  * @export
@@ -11,8 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
- import { StatusFromJSON, StatusToJSON, } from './Status';
14
+ import { exists } from '../runtime.js';
15
+ import { StatusFromJSON, StatusToJSON, } from './Status.js';
16
16
  /**
17
17
  * Check if a given object implements the Notification interface.
18
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/Notification.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,YAAY,CAAC;AAE/C,OAAO,EACH,cAAc,EAEd,YAAY,GACf,MAAM,UAAU,CAAC;AAsElB;;GAEG;AACH,MAAM,UAAU,sBAAsB,CAAC,KAAa;IAChD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QAClD,cAAc,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;QAClF,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,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;QAC3B,YAAY,EAAE,KAAK,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC3H,YAAY,EAAE,KAAK,CAAC,SAAS;QAC7B,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,aAAa,EAAE,KAAK,CAAC,UAAU;QAC/B,QAAQ,EAAE,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC;QACpC,gBAAgB,EAAE,KAAK,CAAC,aAAa;KACxC,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime';\nimport type { Status } from './Status';\nimport {\n StatusFromJSON,\n StatusFromJSONTyped,\n StatusToJSON,\n} from './Status';\n\n/**\n * Notification\n * @export\n * @interface Notification\n */\nexport interface Notification {\n /**\n * id of notification\n * @type {string}\n * @memberof Notification\n */\n id?: string;\n /**\n * Type of notification to be sent to the user\n * @type {string}\n * @memberof Notification\n */\n resourceType?: string;\n /**\n * Sub grouping of the notification\n * @type {string}\n * @memberof Notification\n */\n subGroup?: string;\n /**\n * Created date\n * @type {Date}\n * @memberof Notification\n */\n createdAt?: Date | null;\n /**\n * Created by the system?\n * @type {string}\n * @memberof Notification\n */\n createdBy?: string;\n /**\n * Description text of the notification\n * @type {string}\n * @memberof Notification\n */\n subject?: string;\n /**\n * \n * @type {Array<string>}\n * @memberof Notification\n */\n locations?: Array<string>;\n /**\n * Unique identifier the notification refers to\n * @type {string}\n * @memberof Notification\n */\n resourceId?: string;\n /**\n * \n * @type {Status}\n * @memberof Notification\n */\n status?: Status;\n /**\n * Account number of the notification\n * @type {string}\n * @memberof Notification\n */\n accountNumber?: string;\n}\n\n/**\n * Check if a given object implements the Notification interface.\n */\nexport function instanceOfNotification(value: object): boolean {\n let isInstance = true;\n\n return isInstance;\n}\n\nexport function NotificationFromJSON(json: any): Notification {\n return NotificationFromJSONTyped(json, false);\n}\n\nexport function NotificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Notification {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'id': !exists(json, 'id') ? undefined : json['id'],\n 'resourceType': !exists(json, 'resource_type') ? undefined : json['resource_type'],\n 'subGroup': !exists(json, 'sub_group') ? undefined : json['sub_group'],\n 'createdAt': !exists(json, 'created_at') ? undefined : (json['created_at'] === null ? null : new Date(json['created_at'])),\n 'createdBy': !exists(json, 'created_by') ? undefined : json['created_by'],\n 'subject': !exists(json, 'subject') ? undefined : json['subject'],\n 'locations': !exists(json, 'locations') ? undefined : json['locations'],\n 'resourceId': !exists(json, 'resource_id') ? undefined : json['resource_id'],\n 'status': !exists(json, 'status') ? undefined : StatusFromJSON(json['status']),\n 'accountNumber': !exists(json, 'account_number') ? undefined : json['account_number'],\n };\n}\n\nexport function NotificationToJSON(value?: Notification | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'id': value.id,\n 'resource_type': value.resourceType,\n 'sub_group': value.subGroup,\n 'created_at': value.createdAt === undefined ? undefined : (value.createdAt === null ? null : value.createdAt.toISOString()),\n 'created_by': value.createdBy,\n 'subject': value.subject,\n 'locations': value.locations,\n 'resource_id': value.resourceId,\n 'status': StatusToJSON(value.status),\n 'account_number': value.accountNumber,\n };\n}\n\n"]}
1
+ {"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/Notification.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,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AAC,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC3H,YAAY,EAAE,KAAK,CAAC,SAAS;QAC7B,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,aAAa,EAAE,KAAK,CAAC,UAAU;QAC/B,QAAQ,EAAE,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC;QACpC,gBAAgB,EAAE,KAAK,CAAC,aAAa;KACxC,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime.js';\nimport type { Status } from './Status.js';\nimport {\n StatusFromJSON,\n StatusFromJSONTyped,\n StatusToJSON,\n} from './Status.js';\n\n/**\n * Notification\n * @export\n * @interface Notification\n */\nexport interface Notification {\n /**\n * id of notification\n * @type {string}\n * @memberof Notification\n */\n id?: string;\n /**\n * Type of notification to be sent to the user\n * @type {string}\n * @memberof Notification\n */\n resourceType?: string;\n /**\n * Sub grouping of the notification\n * @type {string}\n * @memberof Notification\n */\n subGroup?: string;\n /**\n * Created date\n * @type {Date}\n * @memberof Notification\n */\n createdAt?: Date | null;\n /**\n * Created by the system?\n * @type {string}\n * @memberof Notification\n */\n createdBy?: string;\n /**\n * Description text of the notification\n * @type {string}\n * @memberof Notification\n */\n subject?: string;\n /**\n * \n * @type {Array<string>}\n * @memberof Notification\n */\n locations?: Array<string>;\n /**\n * Unique identifier the notification refers to\n * @type {string}\n * @memberof Notification\n */\n resourceId?: string;\n /**\n * \n * @type {Status}\n * @memberof Notification\n */\n status?: Status;\n /**\n * Account number of the notification\n * @type {string}\n * @memberof Notification\n */\n accountNumber?: string;\n}\n\n/**\n * Check if a given object implements the Notification interface.\n */\nexport function instanceOfNotification(value: object): boolean {\n let isInstance = true;\n\n return isInstance;\n}\n\nexport function NotificationFromJSON(json: any): Notification {\n return NotificationFromJSONTyped(json, false);\n}\n\nexport function NotificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Notification {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'id': !exists(json, 'id') ? undefined : json['id'],\n 'resourceType': !exists(json, 'resource_type') ? undefined : json['resource_type'],\n 'subGroup': !exists(json, 'sub_group') ? undefined : json['sub_group'],\n 'createdAt': !exists(json, 'created_at') ? undefined : (json['created_at'] === null ? null : new Date(json['created_at'])),\n 'createdBy': !exists(json, 'created_by') ? undefined : json['created_by'],\n 'subject': !exists(json, 'subject') ? undefined : json['subject'],\n 'locations': !exists(json, 'locations') ? undefined : json['locations'],\n 'resourceId': !exists(json, 'resource_id') ? undefined : json['resource_id'],\n 'status': !exists(json, 'status') ? undefined : StatusFromJSON(json['status']),\n 'accountNumber': !exists(json, 'account_number') ? undefined : json['account_number'],\n };\n}\n\nexport function NotificationToJSON(value?: Notification | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'id': value.id,\n 'resource_type': value.resourceType,\n 'sub_group': value.subGroup,\n 'created_at': value.createdAt === undefined ? undefined : (value.createdAt === null ? null : value.createdAt.toISOString()),\n 'created_by': value.createdBy,\n 'subject': value.subject,\n 'locations': value.locations,\n 'resource_id': value.resourceId,\n 'status': StatusToJSON(value.status),\n 'account_number': value.accountNumber,\n };\n}\n\n"]}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Status } from './Status';
12
+ import type { Status } from './Status.js';
13
13
  /**
14
14
  * Bulk patch notifications for the authenticated user
15
15
  * @export
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { StatusFromJSON, StatusToJSON, } from './Status';
14
+ import { StatusFromJSON, StatusToJSON, } from './Status.js';
15
15
  /**
16
16
  * Check if a given object implements the NotificationBulkPatch interface.
17
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationBulkPatch.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/NotificationBulkPatch.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,cAAc,EAEd,YAAY,GACf,MAAM,UAAU,CAAC;AAgBlB;;GAEG;AACH,MAAM,UAAU,+BAA+B,CAAC,KAAa;IACzD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAE7C,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC3C,CAAC;AACN,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,KAAoC;IAC5E,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC;KACvC,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime';\nimport type { Status } from './Status';\nimport {\n StatusFromJSON,\n StatusFromJSONTyped,\n StatusToJSON,\n} from './Status';\n\n/**\n * Bulk patch notifications for the authenticated user\n * @export\n * @interface NotificationBulkPatch\n */\nexport interface NotificationBulkPatch {\n /**\n * \n * @type {Status}\n * @memberof NotificationBulkPatch\n */\n status: Status;\n}\n\n/**\n * Check if a given object implements the NotificationBulkPatch interface.\n */\nexport function instanceOfNotificationBulkPatch(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"status\" in value;\n\n return isInstance;\n}\n\nexport function NotificationBulkPatchFromJSON(json: any): NotificationBulkPatch {\n return NotificationBulkPatchFromJSONTyped(json, false);\n}\n\nexport function NotificationBulkPatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationBulkPatch {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'status': StatusFromJSON(json['status']),\n };\n}\n\nexport function NotificationBulkPatchToJSON(value?: NotificationBulkPatch | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'status': StatusToJSON(value.status),\n };\n}\n\n"]}
1
+ {"version":3,"file":"NotificationBulkPatch.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/NotificationBulkPatch.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,cAAc,EAEd,YAAY,GACf,MAAM,aAAa,CAAC;AAgBrB;;GAEG;AACH,MAAM,UAAU,+BAA+B,CAAC,KAAa;IACzD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAE7C,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC3C,CAAC;AACN,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,KAAoC;IAC5E,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC;KACvC,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime.js';\nimport type { Status } from './Status.js';\nimport {\n StatusFromJSON,\n StatusFromJSONTyped,\n StatusToJSON,\n} from './Status.js';\n\n/**\n * Bulk patch notifications for the authenticated user\n * @export\n * @interface NotificationBulkPatch\n */\nexport interface NotificationBulkPatch {\n /**\n * \n * @type {Status}\n * @memberof NotificationBulkPatch\n */\n status: Status;\n}\n\n/**\n * Check if a given object implements the NotificationBulkPatch interface.\n */\nexport function instanceOfNotificationBulkPatch(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"status\" in value;\n\n return isInstance;\n}\n\nexport function NotificationBulkPatchFromJSON(json: any): NotificationBulkPatch {\n return NotificationBulkPatchFromJSONTyped(json, false);\n}\n\nexport function NotificationBulkPatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationBulkPatch {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'status': StatusFromJSON(json['status']),\n };\n}\n\nexport function NotificationBulkPatchToJSON(value?: NotificationBulkPatch | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'status': StatusToJSON(value.status),\n };\n}\n\n"]}
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
14
+ import { exists } from '../runtime.js';
15
15
  /**
16
16
  * Check if a given object implements the NotificationBulkPatchResult interface.
17
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationBulkPatchResult.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/NotificationBulkPatchResult.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,YAAY,CAAC;AAe/C;;GAEG;AACH,MAAM,UAAU,qCAAqC,CAAC,KAAa;IAC/D,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,cAAc,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;KACrF,CAAC;AACN,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,KAA0C;IACxF,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,eAAe,EAAE,KAAK,CAAC,YAAY;KACtC,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime';\n/**\n * Result of a bulk notifications patch operation\n * @export\n * @interface NotificationBulkPatchResult\n */\nexport interface NotificationBulkPatchResult {\n /**\n * Number of notifications updated\n * @type {number}\n * @memberof NotificationBulkPatchResult\n */\n updatedCount?: number;\n}\n\n/**\n * Check if a given object implements the NotificationBulkPatchResult interface.\n */\nexport function instanceOfNotificationBulkPatchResult(value: object): boolean {\n let isInstance = true;\n\n return isInstance;\n}\n\nexport function NotificationBulkPatchResultFromJSON(json: any): NotificationBulkPatchResult {\n return NotificationBulkPatchResultFromJSONTyped(json, false);\n}\n\nexport function NotificationBulkPatchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationBulkPatchResult {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'updatedCount': !exists(json, 'updated_count') ? undefined : json['updated_count'],\n };\n}\n\nexport function NotificationBulkPatchResultToJSON(value?: NotificationBulkPatchResult | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'updated_count': value.updatedCount,\n };\n}\n\n"]}
1
+ {"version":3,"file":"NotificationBulkPatchResult.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/NotificationBulkPatchResult.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,eAAe,CAAC;AAelD;;GAEG;AACH,MAAM,UAAU,qCAAqC,CAAC,KAAa;IAC/D,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,cAAc,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;KACrF,CAAC;AACN,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,KAA0C;IACxF,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,eAAe,EAAE,KAAK,CAAC,YAAY;KACtC,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime.js';\n/**\n * Result of a bulk notifications patch operation\n * @export\n * @interface NotificationBulkPatchResult\n */\nexport interface NotificationBulkPatchResult {\n /**\n * Number of notifications updated\n * @type {number}\n * @memberof NotificationBulkPatchResult\n */\n updatedCount?: number;\n}\n\n/**\n * Check if a given object implements the NotificationBulkPatchResult interface.\n */\nexport function instanceOfNotificationBulkPatchResult(value: object): boolean {\n let isInstance = true;\n\n return isInstance;\n}\n\nexport function NotificationBulkPatchResultFromJSON(json: any): NotificationBulkPatchResult {\n return NotificationBulkPatchResultFromJSONTyped(json, false);\n}\n\nexport function NotificationBulkPatchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationBulkPatchResult {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'updatedCount': !exists(json, 'updated_count') ? undefined : json['updated_count'],\n };\n}\n\nexport function NotificationBulkPatchResultToJSON(value?: NotificationBulkPatchResult | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'updated_count': value.updatedCount,\n };\n}\n\n"]}
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
14
+ import { exists } from '../runtime.js';
15
15
  /**
16
16
  * Check if a given object implements the NotificationDelete interface.
17
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationDelete.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/NotificationDelete.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,YAAY,CAAC;AAe/C;;GAEG;AACH,MAAM,UAAU,4BAA4B,CAAC,KAAa;IACtD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;KACpE,CAAC;AACN,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,KAAiC;IACtE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime';\n/**\n * Delete Notification\n * @export\n * @interface NotificationDelete\n */\nexport interface NotificationDelete {\n /**\n * Displays if notification was successfully deleted\n * @type {boolean}\n * @memberof NotificationDelete\n */\n success?: boolean;\n}\n\n/**\n * Check if a given object implements the NotificationDelete interface.\n */\nexport function instanceOfNotificationDelete(value: object): boolean {\n let isInstance = true;\n\n return isInstance;\n}\n\nexport function NotificationDeleteFromJSON(json: any): NotificationDelete {\n return NotificationDeleteFromJSONTyped(json, false);\n}\n\nexport function NotificationDeleteFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationDelete {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'success': !exists(json, 'success') ? undefined : json['success'],\n };\n}\n\nexport function NotificationDeleteToJSON(value?: NotificationDelete | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'success': value.success,\n };\n}\n\n"]}
1
+ {"version":3,"file":"NotificationDelete.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/NotificationDelete.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,eAAe,CAAC;AAelD;;GAEG;AACH,MAAM,UAAU,4BAA4B,CAAC,KAAa;IACtD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;KACpE,CAAC;AACN,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,KAAiC;IACtE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime.js';\n/**\n * Delete Notification\n * @export\n * @interface NotificationDelete\n */\nexport interface NotificationDelete {\n /**\n * Displays if notification was successfully deleted\n * @type {boolean}\n * @memberof NotificationDelete\n */\n success?: boolean;\n}\n\n/**\n * Check if a given object implements the NotificationDelete interface.\n */\nexport function instanceOfNotificationDelete(value: object): boolean {\n let isInstance = true;\n\n return isInstance;\n}\n\nexport function NotificationDeleteFromJSON(json: any): NotificationDelete {\n return NotificationDeleteFromJSONTyped(json, false);\n}\n\nexport function NotificationDeleteFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationDelete {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'success': !exists(json, 'success') ? undefined : json['success'],\n };\n}\n\nexport function NotificationDeleteToJSON(value?: NotificationDelete | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'success': value.success,\n };\n}\n\n"]}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Status } from './Status';
12
+ import type { Status } from './Status.js';
13
13
  /**
14
14
  * Patch Notification
15
15
  * @export
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { StatusFromJSON, StatusToJSON, } from './Status';
14
+ import { StatusFromJSON, StatusToJSON, } from './Status.js';
15
15
  /**
16
16
  * Check if a given object implements the NotificationPatch interface.
17
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationPatch.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/NotificationPatch.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,cAAc,EAEd,YAAY,GACf,MAAM,UAAU,CAAC;AAgBlB;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAAa;IACrD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAE7C,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC3C,CAAC;AACN,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,KAAgC;IACpE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC;KACvC,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime';\nimport type { Status } from './Status';\nimport {\n StatusFromJSON,\n StatusFromJSONTyped,\n StatusToJSON,\n} from './Status';\n\n/**\n * Patch Notification\n * @export\n * @interface NotificationPatch\n */\nexport interface NotificationPatch {\n /**\n * \n * @type {Status}\n * @memberof NotificationPatch\n */\n status: Status;\n}\n\n/**\n * Check if a given object implements the NotificationPatch interface.\n */\nexport function instanceOfNotificationPatch(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"status\" in value;\n\n return isInstance;\n}\n\nexport function NotificationPatchFromJSON(json: any): NotificationPatch {\n return NotificationPatchFromJSONTyped(json, false);\n}\n\nexport function NotificationPatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPatch {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'status': StatusFromJSON(json['status']),\n };\n}\n\nexport function NotificationPatchToJSON(value?: NotificationPatch | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'status': StatusToJSON(value.status),\n };\n}\n\n"]}
1
+ {"version":3,"file":"NotificationPatch.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/NotificationPatch.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,cAAc,EAEd,YAAY,GACf,MAAM,aAAa,CAAC;AAgBrB;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAAa;IACrD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAE7C,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC3C,CAAC;AACN,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,KAAgC;IACpE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC;KACvC,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime.js';\nimport type { Status } from './Status.js';\nimport {\n StatusFromJSON,\n StatusFromJSONTyped,\n StatusToJSON,\n} from './Status.js';\n\n/**\n * Patch Notification\n * @export\n * @interface NotificationPatch\n */\nexport interface NotificationPatch {\n /**\n * \n * @type {Status}\n * @memberof NotificationPatch\n */\n status: Status;\n}\n\n/**\n * Check if a given object implements the NotificationPatch interface.\n */\nexport function instanceOfNotificationPatch(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"status\" in value;\n\n return isInstance;\n}\n\nexport function NotificationPatchFromJSON(json: any): NotificationPatch {\n return NotificationPatchFromJSONTyped(json, false);\n}\n\nexport function NotificationPatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPatch {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'status': StatusFromJSON(json['status']),\n };\n}\n\nexport function NotificationPatchToJSON(value?: NotificationPatch | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'status': StatusToJSON(value.status),\n };\n}\n\n"]}
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
14
+ import { exists } from '../runtime.js';
15
15
  /**
16
16
  * Check if a given object implements the NotificationRequest interface.
17
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationRequest.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/NotificationRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,YAAY,CAAC;AAyD/C;;GAEG;AACH,MAAM,UAAU,6BAA6B,CAAC,KAAa;IACvD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,cAAc,IAAI,KAAK,CAAC;IACnD,UAAU,GAAG,UAAU,IAAI,eAAe,IAAI,KAAK,CAAC;IACpD,UAAU,GAAG,UAAU,IAAI,YAAY,IAAI,KAAK,CAAC;IACjD,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAE9C,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,IAAS,EAAE,mBAA4B;IACpF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,cAAc,EAAE,IAAI,CAAC,eAAe,CAAC;QACrC,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW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AS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;KAC9H,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime';\n/**\n * Request body for creating a notification\n * @export\n * @interface NotificationRequest\n */\nexport interface NotificationRequest {\n /**\n * Type of notification to be sent to the user\n * @type {string}\n * @memberof NotificationRequest\n */\n resourceType: string;\n /**\n * Sub grouping of the notification\n * @type {string}\n * @memberof NotificationRequest\n */\n subGroup?: string;\n /**\n * List of recipients of the notification\n * @type {Array<string>}\n * @memberof NotificationRequest\n */\n recipients?: Array<string>;\n /**\n * Account number of the notification\n * @type {string}\n * @memberof NotificationRequest\n */\n accountNumber: string;\n /**\n * \n * @type {Array<string>}\n * @memberof NotificationRequest\n */\n locations?: Array<string>;\n /**\n * Unique identifier the notification refers to\n * @type {string}\n * @memberof NotificationRequest\n */\n resourceId: string;\n /**\n * Description text of the notification\n * @type {string}\n * @memberof NotificationRequest\n */\n subject: string;\n /**\n * Created date\n * @type {Date}\n * @memberof NotificationRequest\n */\n createdAt?: Date | null;\n}\n\n/**\n * Check if a given object implements the NotificationRequest interface.\n */\nexport function instanceOfNotificationRequest(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"resourceType\" in value;\n isInstance = isInstance && \"accountNumber\" in value;\n isInstance = isInstance && \"resourceId\" in value;\n isInstance = isInstance && \"subject\" in value;\n\n return isInstance;\n}\n\nexport function NotificationRequestFromJSON(json: any): NotificationRequest {\n return NotificationRequestFromJSONTyped(json, false);\n}\n\nexport function NotificationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationRequest {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'resourceType': json['resource_type'],\n 'subGroup': !exists(json, 'sub_group') ? undefined : json['sub_group'],\n 'recipients': !exists(json, 'recipients') ? undefined : json['recipients'],\n 'accountNumber': json['account_number'],\n 'locations': !exists(json, 'locations') ? undefined : json['locations'],\n 'resourceId': json['resource_id'],\n 'subject': json['subject'],\n 'createdAt': !exists(json, 'created_at') ? undefined : (json['created_at'] === null ? null : new Date(json['created_at'])),\n };\n}\n\nexport function NotificationRequestToJSON(value?: NotificationRequest | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'resource_type': value.resourceType,\n 'sub_group': value.subGroup,\n 'recipients': value.recipients,\n 'account_number': value.accountNumber,\n 'locations': value.locations,\n 'resource_id': value.resourceId,\n 'subject': value.subject,\n 'created_at': value.createdAt === undefined ? undefined : (value.createdAt === null ? null : value.createdAt.toISOString()),\n };\n}\n\n"]}
1
+ {"version":3,"file":"NotificationRequest.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/NotificationRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,eAAe,CAAC;AAyDlD;;GAEG;AACH,MAAM,UAAU,6BAA6B,CAAC,KAAa;IACvD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,cAAc,IAAI,KAAK,CAAC;IACnD,UAAU,GAAG,UAAU,IAAI,eAAe,IAAI,KAAK,CAAC;IACpD,UAAU,GAAG,UAAU,IAAI,YAAY,IAAI,KAAK,CAAC;IACjD,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAE9C,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAA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KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,eAAe,EAAE,KAAK,CAAC,YAAY;QACnC,WAAW,EAAE,KAAK,CAAC,QAAQ;QAC3B,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,gBAAgB,EAAE,KAAK,CAAC,aAAa;QACrC,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,aAAa,EAAE,KAAK,CAAC,UAAU;QAC/B,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,YAAY,EAAE,KAAK,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;KAC9H,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime.js';\n/**\n * Request body for creating a notification\n * @export\n * @interface NotificationRequest\n */\nexport interface NotificationRequest {\n /**\n * Type of notification to be sent to the user\n * @type {string}\n * @memberof NotificationRequest\n */\n resourceType: string;\n /**\n * Sub grouping of the notification\n * @type {string}\n * @memberof NotificationRequest\n */\n subGroup?: string;\n /**\n * List of recipients of the notification\n * @type {Array<string>}\n * @memberof NotificationRequest\n */\n recipients?: Array<string>;\n /**\n * Account number of the notification\n * @type {string}\n * @memberof NotificationRequest\n */\n accountNumber: string;\n /**\n * \n * @type {Array<string>}\n * @memberof NotificationRequest\n */\n locations?: Array<string>;\n /**\n * Unique identifier the notification refers to\n * @type {string}\n * @memberof NotificationRequest\n */\n resourceId: string;\n /**\n * Description text of the notification\n * @type {string}\n * @memberof NotificationRequest\n */\n subject: string;\n /**\n * Created date\n * @type {Date}\n * @memberof NotificationRequest\n */\n createdAt?: Date | null;\n}\n\n/**\n * Check if a given object implements the NotificationRequest interface.\n */\nexport function instanceOfNotificationRequest(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"resourceType\" in value;\n isInstance = isInstance && \"accountNumber\" in value;\n isInstance = isInstance && \"resourceId\" in value;\n isInstance = isInstance && \"subject\" in value;\n\n return isInstance;\n}\n\nexport function NotificationRequestFromJSON(json: any): NotificationRequest {\n return NotificationRequestFromJSONTyped(json, false);\n}\n\nexport function NotificationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationRequest {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'resourceType': json['resource_type'],\n 'subGroup': !exists(json, 'sub_group') ? undefined : json['sub_group'],\n 'recipients': !exists(json, 'recipients') ? undefined : json['recipients'],\n 'accountNumber': json['account_number'],\n 'locations': !exists(json, 'locations') ? undefined : json['locations'],\n 'resourceId': json['resource_id'],\n 'subject': json['subject'],\n 'createdAt': !exists(json, 'created_at') ? undefined : (json['created_at'] === null ? null : new Date(json['created_at'])),\n };\n}\n\nexport function NotificationRequestToJSON(value?: NotificationRequest | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'resource_type': value.resourceType,\n 'sub_group': value.subGroup,\n 'recipients': value.recipients,\n 'account_number': value.accountNumber,\n 'locations': value.locations,\n 'resource_id': value.resourceId,\n 'subject': value.subject,\n 'created_at': value.createdAt === undefined ? undefined : (value.createdAt === null ? null : value.createdAt.toISOString()),\n };\n}\n\n"]}
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
14
+ import { exists } from '../runtime.js';
15
15
  /**
16
16
  * Check if a given object implements the PaginatedResponse interface.
17
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedResponse.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/PaginatedResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,YAAY,CAAC;AA6C/C;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAAa;IACrD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAE5C,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACxD,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC3D,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACxD,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACxD,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACxD,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;KACzB,CAAC;AACN,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,KAAgC;IACpE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,OAAO,EAAE,KAAK,CAAC,KAAK;KACvB,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime';\n/**\n * \n * @export\n * @interface PaginatedResponse\n */\nexport interface PaginatedResponse {\n /**\n * Pagination link|cursor pointing to the current page.\n * @type {string}\n * @memberof PaginatedResponse\n */\n self?: string;\n /**\n * Pagination link|cursor pointing to the first page.\n * @type {string}\n * @memberof PaginatedResponse\n */\n first?: string;\n /**\n * Pagination link|cursor pointing to the previous page.\n * @type {string}\n * @memberof PaginatedResponse\n */\n prev?: string;\n /**\n * Pagination link|cursor pointing to the next page.\n * @type {string}\n * @memberof PaginatedResponse\n */\n next?: string;\n /**\n * Pagination link|cursor pointing to the last page.\n * @type {string}\n * @memberof PaginatedResponse\n */\n last?: string;\n /**\n * Array of collection items.\n * @type {Array<any>}\n * @memberof PaginatedResponse\n */\n items: Array<any>;\n}\n\n/**\n * Check if a given object implements the PaginatedResponse interface.\n */\nexport function instanceOfPaginatedResponse(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"items\" in value;\n\n return isInstance;\n}\n\nexport function PaginatedResponseFromJSON(json: any): PaginatedResponse {\n return PaginatedResponseFromJSONTyped(json, false);\n}\n\nexport function PaginatedResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponse {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'self': !exists(json, 'self') ? undefined : json['self'],\n 'first': !exists(json, 'first') ? undefined : json['first'],\n 'prev': !exists(json, 'prev') ? undefined : json['prev'],\n 'next': !exists(json, 'next') ? undefined : json['next'],\n 'last': !exists(json, 'last') ? undefined : json['last'],\n 'items': json['items'],\n };\n}\n\nexport function PaginatedResponseToJSON(value?: PaginatedResponse | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'self': value.self,\n 'first': value.first,\n 'prev': value.prev,\n 'next': value.next,\n 'last': value.last,\n 'items': value.items,\n };\n}\n\n"]}
1
+ {"version":3,"file":"PaginatedResponse.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/PaginatedResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAa,MAAM,eAAe,CAAC;AA6ClD;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAAa;IACrD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAE5C,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,8BAA8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KAAK,CAAC,IAAI;QAClB,OAAO,EAAE,KAAK,CAAC,KAAK;KACvB,CAAC;AACN,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Notifications API\n * An API to create and read notifications\n *\n * The version of the OpenAPI document: 1.0.0\n * Contact: DevTeamProduct@digitalrealty.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime.js';\n/**\n * \n * @export\n * @interface PaginatedResponse\n */\nexport interface PaginatedResponse {\n /**\n * Pagination link|cursor pointing to the current page.\n * @type {string}\n * @memberof PaginatedResponse\n */\n self?: string;\n /**\n * Pagination link|cursor pointing to the first page.\n * @type {string}\n * @memberof PaginatedResponse\n */\n first?: string;\n /**\n * Pagination link|cursor pointing to the previous page.\n * @type {string}\n * @memberof PaginatedResponse\n */\n prev?: string;\n /**\n * Pagination link|cursor pointing to the next page.\n * @type {string}\n * @memberof PaginatedResponse\n */\n next?: string;\n /**\n * Pagination link|cursor pointing to the last page.\n * @type {string}\n * @memberof PaginatedResponse\n */\n last?: string;\n /**\n * Array of collection items.\n * @type {Array<any>}\n * @memberof PaginatedResponse\n */\n items: Array<any>;\n}\n\n/**\n * Check if a given object implements the PaginatedResponse interface.\n */\nexport function instanceOfPaginatedResponse(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"items\" in value;\n\n return isInstance;\n}\n\nexport function PaginatedResponseFromJSON(json: any): PaginatedResponse {\n return PaginatedResponseFromJSONTyped(json, false);\n}\n\nexport function PaginatedResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponse {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'self': !exists(json, 'self') ? undefined : json['self'],\n 'first': !exists(json, 'first') ? undefined : json['first'],\n 'prev': !exists(json, 'prev') ? undefined : json['prev'],\n 'next': !exists(json, 'next') ? undefined : json['next'],\n 'last': !exists(json, 'last') ? undefined : json['last'],\n 'items': json['items'],\n };\n}\n\nexport function PaginatedResponseToJSON(value?: PaginatedResponse | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'self': value.self,\n 'first': value.first,\n 'prev': value.prev,\n 'next': value.next,\n 'last': value.last,\n 'items': value.items,\n };\n}\n\n"]}
@@ -1,10 +1,10 @@
1
- export * from './ErrorResponse';
2
- export * from './GetNotifications200Response';
3
- export * from './Notification';
4
- export * from './NotificationBulkPatch';
5
- export * from './NotificationBulkPatchResult';
6
- export * from './NotificationDelete';
7
- export * from './NotificationPatch';
8
- export * from './NotificationRequest';
9
- export * from './PaginatedResponse';
10
- export * from './Status';
1
+ export * from './ErrorResponse.js';
2
+ export * from './GetNotifications200Response.js';
3
+ export * from './Notification.js';
4
+ export * from './NotificationBulkPatch.js';
5
+ export * from './NotificationBulkPatchResult.js';
6
+ export * from './NotificationDelete.js';
7
+ export * from './NotificationPatch.js';
8
+ export * from './NotificationRequest.js';
9
+ export * from './PaginatedResponse.js';
10
+ export * from './Status.js';
@@ -1,13 +1,13 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export * from './ErrorResponse';
4
- export * from './GetNotifications200Response';
5
- export * from './Notification';
6
- export * from './NotificationBulkPatch';
7
- export * from './NotificationBulkPatchResult';
8
- export * from './NotificationDelete';
9
- export * from './NotificationPatch';
10
- export * from './NotificationRequest';
11
- export * from './PaginatedResponse';
12
- export * from './Status';
3
+ export * from './ErrorResponse.js';
4
+ export * from './GetNotifications200Response.js';
5
+ export * from './Notification.js';
6
+ export * from './NotificationBulkPatch.js';
7
+ export * from './NotificationBulkPatchResult.js';
8
+ export * from './NotificationDelete.js';
9
+ export * from './NotificationPatch.js';
10
+ export * from './NotificationRequest.js';
11
+ export * from './PaginatedResponse.js';
12
+ export * from './Status.js';
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\nexport * from './ErrorResponse';\nexport * from './GetNotifications200Response';\nexport * from './Notification';\nexport * from './NotificationBulkPatch';\nexport * from './NotificationBulkPatchResult';\nexport * from './NotificationDelete';\nexport * from './NotificationPatch';\nexport * from './NotificationRequest';\nexport * from './PaginatedResponse';\nexport * from './Status';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/notifications-api/models/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\nexport * from './ErrorResponse.js';\nexport * from './GetNotifications200Response.js';\nexport * from './Notification.js';\nexport * from './NotificationBulkPatch.js';\nexport * from './NotificationBulkPatchResult.js';\nexport * from './NotificationDelete.js';\nexport * from './NotificationPatch.js';\nexport * from './NotificationRequest.js';\nexport * from './PaginatedResponse.js';\nexport * from './Status.js';\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent ix-notifications following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "Digital Realty",
6
- "version": "1.2.5",
6
+ "version": "1.2.7",
7
7
  "type": "module",
8
8
  "main": "dist/src/index.js",
9
9
  "module": "dist/src/index.js",
@@ -35,7 +35,7 @@
35
35
  "watch-less": "nodemon --watch ./src/.less -e less -x \"npm run less:build\"",
36
36
  "generate-api": "npm run generate-api:clean:notifications && npm run generate-api:build:notifications",
37
37
  "generate-api:clean:notifications": "rimraf src/api/notifications-api",
38
- "generate-api:build:notifications": "openapi-generator-cli generate -i src/api/notifications-api.yaml -g typescript-fetch -o src/api/notifications-api",
38
+ "generate-api:build:notifications": "openapi-generator-cli generate -i src/api/notifications-api.yaml -g typescript-fetch -o src/api/notifications-api --additional-properties=typescriptThreePlus=true,importFileExtension=.js",
39
39
  "test": "tsc && wtr --coverage",
40
40
  "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\""
41
41
  },
@@ -151,5 +151,5 @@
151
151
  "README.md",
152
152
  "LICENSE"
153
153
  ],
154
- "gitHead": "7a6aaf3ec52430a0df5b09e8a420f143594cbe2a"
154
+ "gitHead": "86f6ca8314c0fa532c897cd9db524a47115eb1f9"
155
155
  }