@onesignal/node-onesignal 5.7.0 → 5.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/apis/DefaultApi.js +2282 -4372
  2. package/dist/apis/baseapi.js +11 -30
  3. package/dist/apis/exception.js +9 -26
  4. package/dist/auth/auth.js +17 -83
  5. package/dist/configuration.js +9 -9
  6. package/dist/http/http.js +53 -132
  7. package/dist/http/isomorphic-fetch.js +15 -18
  8. package/dist/middleware.js +8 -9
  9. package/dist/models/ApiKeyToken.js +45 -46
  10. package/dist/models/ApiKeyTokensListResponse.js +15 -16
  11. package/dist/models/App.js +213 -214
  12. package/dist/models/BasicNotification.js +711 -712
  13. package/dist/models/BasicNotificationAllOf.js +627 -628
  14. package/dist/models/BasicNotificationAllOfAndroidBackgroundLayout.js +27 -28
  15. package/dist/models/Button.js +27 -28
  16. package/dist/models/CopyTemplateRequest.js +15 -16
  17. package/dist/models/CreateApiKeyRequest.js +27 -28
  18. package/dist/models/CreateApiKeyResponse.js +21 -22
  19. package/dist/models/CreateNotificationSuccessResponse.js +27 -28
  20. package/dist/models/CreateSegmentConflictResponse.js +21 -22
  21. package/dist/models/CreateSegmentSuccessResponse.js +21 -22
  22. package/dist/models/CreateTemplateRequest.js +75 -76
  23. package/dist/models/CreateUserConflictResponse.js +15 -16
  24. package/dist/models/CreateUserConflictResponseErrorsInner.js +27 -28
  25. package/dist/models/CreateUserConflictResponseErrorsItemsMeta.js +15 -16
  26. package/dist/models/CustomEvent.js +39 -40
  27. package/dist/models/CustomEventsRequest.js +15 -16
  28. package/dist/models/DeliveryData.js +39 -40
  29. package/dist/models/ExportEventsSuccessResponse.js +15 -16
  30. package/dist/models/ExportSubscriptionsRequestBody.js +27 -28
  31. package/dist/models/ExportSubscriptionsSuccessResponse.js +15 -16
  32. package/dist/models/Filter.js +57 -58
  33. package/dist/models/FilterExpression.js +63 -64
  34. package/dist/models/GenericError.js +27 -28
  35. package/dist/models/GenericSuccessBoolResponse.js +15 -16
  36. package/dist/models/GetNotificationHistoryRequestBody.js +27 -28
  37. package/dist/models/GetSegmentsSuccessResponse.js +33 -34
  38. package/dist/models/LanguageStringMap.js +267 -268
  39. package/dist/models/Notification.js +717 -718
  40. package/dist/models/NotificationAllOf.js +15 -16
  41. package/dist/models/NotificationHistorySuccessResponse.js +21 -22
  42. package/dist/models/NotificationSlice.js +33 -34
  43. package/dist/models/NotificationTarget.js +93 -94
  44. package/dist/models/NotificationWithMeta.js +789 -790
  45. package/dist/models/NotificationWithMetaAllOf.js +93 -94
  46. package/dist/models/ObjectSerializer.js +111 -115
  47. package/dist/models/Operator.js +15 -16
  48. package/dist/models/OutcomeData.js +27 -28
  49. package/dist/models/OutcomesData.js +15 -16
  50. package/dist/models/PlatformDeliveryData.js +57 -58
  51. package/dist/models/PlatformDeliveryDataEmailAllOf.js +51 -52
  52. package/dist/models/PlatformDeliveryDataSmsAllOf.js +27 -28
  53. package/dist/models/PropertiesBody.js +15 -16
  54. package/dist/models/PropertiesDeltas.js +27 -28
  55. package/dist/models/PropertiesObject.js +75 -76
  56. package/dist/models/Purchase.js +33 -34
  57. package/dist/models/RateLimitError.js +21 -22
  58. package/dist/models/Segment.js +27 -28
  59. package/dist/models/SegmentData.js +51 -52
  60. package/dist/models/SegmentNotificationTarget.js +21 -22
  61. package/dist/models/StartLiveActivityRequest.js +105 -106
  62. package/dist/models/StartLiveActivitySuccessResponse.js +15 -16
  63. package/dist/models/Subscription.js +111 -112
  64. package/dist/models/SubscriptionBody.js +15 -16
  65. package/dist/models/SubscriptionNotificationTarget.js +81 -82
  66. package/dist/models/TemplateResource.js +45 -46
  67. package/dist/models/TemplatesListResponse.js +15 -16
  68. package/dist/models/TransferSubscriptionRequestBody.js +15 -16
  69. package/dist/models/UpdateApiKeyRequest.js +27 -28
  70. package/dist/models/UpdateLiveActivityRequest.js +63 -64
  71. package/dist/models/UpdateLiveActivitySuccessResponse.js +15 -16
  72. package/dist/models/UpdateTemplateRequest.js +69 -70
  73. package/dist/models/UpdateUserRequest.js +27 -28
  74. package/dist/models/User.js +27 -28
  75. package/dist/models/UserIdentityBody.js +15 -16
  76. package/dist/models/WebButton.js +33 -34
  77. package/dist/rxjsStub.js +8 -9
  78. package/dist/servers.js +14 -15
  79. package/dist/types/ObjectParamAPI.js +92 -94
  80. package/dist/types/ObservableAPI.js +534 -931
  81. package/dist/types/PromiseAPI.js +136 -137
  82. package/dist/util.js +2 -2
  83. package/package.json +4 -2
@@ -1,118 +1,117 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Subscription = void 0;
4
- var Subscription = (function () {
5
- function Subscription() {
6
- }
7
- Subscription.getAttributeTypeMap = function () {
4
+ class Subscription {
5
+ static getAttributeTypeMap() {
8
6
  return Subscription.attributeTypeMap;
9
- };
10
- Subscription.discriminator = undefined;
11
- Subscription.attributeTypeMap = [
12
- {
13
- "name": "id",
14
- "baseName": "id",
15
- "type": "string",
16
- "format": ""
17
- },
18
- {
19
- "name": "type",
20
- "baseName": "type",
21
- "type": "SubscriptionTypeEnum",
22
- "format": ""
23
- },
24
- {
25
- "name": "token",
26
- "baseName": "token",
27
- "type": "string",
28
- "format": ""
29
- },
30
- {
31
- "name": "enabled",
32
- "baseName": "enabled",
33
- "type": "boolean",
34
- "format": ""
35
- },
36
- {
37
- "name": "notification_types",
38
- "baseName": "notification_types",
39
- "type": "number",
40
- "format": ""
41
- },
42
- {
43
- "name": "session_time",
44
- "baseName": "session_time",
45
- "type": "number",
46
- "format": ""
47
- },
48
- {
49
- "name": "session_count",
50
- "baseName": "session_count",
51
- "type": "number",
52
- "format": ""
53
- },
54
- {
55
- "name": "sdk",
56
- "baseName": "sdk",
57
- "type": "string",
58
- "format": ""
59
- },
60
- {
61
- "name": "device_model",
62
- "baseName": "device_model",
63
- "type": "string",
64
- "format": ""
65
- },
66
- {
67
- "name": "device_os",
68
- "baseName": "device_os",
69
- "type": "string",
70
- "format": ""
71
- },
72
- {
73
- "name": "rooted",
74
- "baseName": "rooted",
75
- "type": "boolean",
76
- "format": ""
77
- },
78
- {
79
- "name": "test_type",
80
- "baseName": "test_type",
81
- "type": "number",
82
- "format": ""
83
- },
84
- {
85
- "name": "app_version",
86
- "baseName": "app_version",
87
- "type": "string",
88
- "format": ""
89
- },
90
- {
91
- "name": "net_type",
92
- "baseName": "net_type",
93
- "type": "number",
94
- "format": ""
95
- },
96
- {
97
- "name": "carrier",
98
- "baseName": "carrier",
99
- "type": "string",
100
- "format": ""
101
- },
102
- {
103
- "name": "web_auth",
104
- "baseName": "web_auth",
105
- "type": "string",
106
- "format": ""
107
- },
108
- {
109
- "name": "web_p256",
110
- "baseName": "web_p256",
111
- "type": "string",
112
- "format": ""
113
- }
114
- ];
115
- return Subscription;
116
- }());
7
+ }
8
+ constructor() {
9
+ }
10
+ }
117
11
  exports.Subscription = Subscription;
12
+ Subscription.discriminator = undefined;
13
+ Subscription.attributeTypeMap = [
14
+ {
15
+ "name": "id",
16
+ "baseName": "id",
17
+ "type": "string",
18
+ "format": ""
19
+ },
20
+ {
21
+ "name": "type",
22
+ "baseName": "type",
23
+ "type": "SubscriptionTypeEnum",
24
+ "format": ""
25
+ },
26
+ {
27
+ "name": "token",
28
+ "baseName": "token",
29
+ "type": "string",
30
+ "format": ""
31
+ },
32
+ {
33
+ "name": "enabled",
34
+ "baseName": "enabled",
35
+ "type": "boolean",
36
+ "format": ""
37
+ },
38
+ {
39
+ "name": "notification_types",
40
+ "baseName": "notification_types",
41
+ "type": "number",
42
+ "format": ""
43
+ },
44
+ {
45
+ "name": "session_time",
46
+ "baseName": "session_time",
47
+ "type": "number",
48
+ "format": ""
49
+ },
50
+ {
51
+ "name": "session_count",
52
+ "baseName": "session_count",
53
+ "type": "number",
54
+ "format": ""
55
+ },
56
+ {
57
+ "name": "sdk",
58
+ "baseName": "sdk",
59
+ "type": "string",
60
+ "format": ""
61
+ },
62
+ {
63
+ "name": "device_model",
64
+ "baseName": "device_model",
65
+ "type": "string",
66
+ "format": ""
67
+ },
68
+ {
69
+ "name": "device_os",
70
+ "baseName": "device_os",
71
+ "type": "string",
72
+ "format": ""
73
+ },
74
+ {
75
+ "name": "rooted",
76
+ "baseName": "rooted",
77
+ "type": "boolean",
78
+ "format": ""
79
+ },
80
+ {
81
+ "name": "test_type",
82
+ "baseName": "test_type",
83
+ "type": "number",
84
+ "format": ""
85
+ },
86
+ {
87
+ "name": "app_version",
88
+ "baseName": "app_version",
89
+ "type": "string",
90
+ "format": ""
91
+ },
92
+ {
93
+ "name": "net_type",
94
+ "baseName": "net_type",
95
+ "type": "number",
96
+ "format": ""
97
+ },
98
+ {
99
+ "name": "carrier",
100
+ "baseName": "carrier",
101
+ "type": "string",
102
+ "format": ""
103
+ },
104
+ {
105
+ "name": "web_auth",
106
+ "baseName": "web_auth",
107
+ "type": "string",
108
+ "format": ""
109
+ },
110
+ {
111
+ "name": "web_p256",
112
+ "baseName": "web_p256",
113
+ "type": "string",
114
+ "format": ""
115
+ }
116
+ ];
118
117
  //# sourceMappingURL=Subscription.js.map
@@ -1,22 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionBody = void 0;
4
- var SubscriptionBody = (function () {
5
- function SubscriptionBody() {
6
- }
7
- SubscriptionBody.getAttributeTypeMap = function () {
4
+ class SubscriptionBody {
5
+ static getAttributeTypeMap() {
8
6
  return SubscriptionBody.attributeTypeMap;
9
- };
10
- SubscriptionBody.discriminator = undefined;
11
- SubscriptionBody.attributeTypeMap = [
12
- {
13
- "name": "subscription",
14
- "baseName": "subscription",
15
- "type": "Subscription",
16
- "format": ""
17
- }
18
- ];
19
- return SubscriptionBody;
20
- }());
7
+ }
8
+ constructor() {
9
+ }
10
+ }
21
11
  exports.SubscriptionBody = SubscriptionBody;
12
+ SubscriptionBody.discriminator = undefined;
13
+ SubscriptionBody.attributeTypeMap = [
14
+ {
15
+ "name": "subscription",
16
+ "baseName": "subscription",
17
+ "type": "Subscription",
18
+ "format": ""
19
+ }
20
+ ];
22
21
  //# sourceMappingURL=SubscriptionBody.js.map
@@ -1,88 +1,87 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionNotificationTarget = void 0;
4
- var SubscriptionNotificationTarget = (function () {
5
- function SubscriptionNotificationTarget() {
6
- }
7
- SubscriptionNotificationTarget.getAttributeTypeMap = function () {
4
+ class SubscriptionNotificationTarget {
5
+ static getAttributeTypeMap() {
8
6
  return SubscriptionNotificationTarget.attributeTypeMap;
9
- };
10
- SubscriptionNotificationTarget.discriminator = undefined;
11
- SubscriptionNotificationTarget.attributeTypeMap = [
12
- {
13
- "name": "include_subscription_ids",
14
- "baseName": "include_subscription_ids",
15
- "type": "Array<string>",
16
- "format": ""
17
- },
18
- {
19
- "name": "include_email_tokens",
20
- "baseName": "include_email_tokens",
21
- "type": "Array<string>",
22
- "format": ""
23
- },
24
- {
25
- "name": "email_to",
26
- "baseName": "email_to",
27
- "type": "Array<string>",
28
- "format": ""
29
- },
30
- {
31
- "name": "include_phone_numbers",
32
- "baseName": "include_phone_numbers",
33
- "type": "Array<string>",
34
- "format": ""
35
- },
36
- {
37
- "name": "include_ios_tokens",
38
- "baseName": "include_ios_tokens",
39
- "type": "Array<string>",
40
- "format": ""
41
- },
42
- {
43
- "name": "include_wp_wns_uris",
44
- "baseName": "include_wp_wns_uris",
45
- "type": "Array<string>",
46
- "format": ""
47
- },
48
- {
49
- "name": "include_amazon_reg_ids",
50
- "baseName": "include_amazon_reg_ids",
51
- "type": "Array<string>",
52
- "format": ""
53
- },
54
- {
55
- "name": "include_chrome_reg_ids",
56
- "baseName": "include_chrome_reg_ids",
57
- "type": "Array<string>",
58
- "format": ""
59
- },
60
- {
61
- "name": "include_chrome_web_reg_ids",
62
- "baseName": "include_chrome_web_reg_ids",
63
- "type": "Array<string>",
64
- "format": ""
65
- },
66
- {
67
- "name": "include_android_reg_ids",
68
- "baseName": "include_android_reg_ids",
69
- "type": "Array<string>",
70
- "format": ""
71
- },
72
- {
73
- "name": "include_aliases",
74
- "baseName": "include_aliases",
75
- "type": "{ [key: string]: Array<string>; }",
76
- "format": ""
77
- },
78
- {
79
- "name": "target_channel",
80
- "baseName": "target_channel",
81
- "type": "SubscriptionNotificationTargetTargetChannelEnum",
82
- "format": ""
83
- }
84
- ];
85
- return SubscriptionNotificationTarget;
86
- }());
7
+ }
8
+ constructor() {
9
+ }
10
+ }
87
11
  exports.SubscriptionNotificationTarget = SubscriptionNotificationTarget;
12
+ SubscriptionNotificationTarget.discriminator = undefined;
13
+ SubscriptionNotificationTarget.attributeTypeMap = [
14
+ {
15
+ "name": "include_subscription_ids",
16
+ "baseName": "include_subscription_ids",
17
+ "type": "Array<string>",
18
+ "format": ""
19
+ },
20
+ {
21
+ "name": "include_email_tokens",
22
+ "baseName": "include_email_tokens",
23
+ "type": "Array<string>",
24
+ "format": ""
25
+ },
26
+ {
27
+ "name": "email_to",
28
+ "baseName": "email_to",
29
+ "type": "Array<string>",
30
+ "format": ""
31
+ },
32
+ {
33
+ "name": "include_phone_numbers",
34
+ "baseName": "include_phone_numbers",
35
+ "type": "Array<string>",
36
+ "format": ""
37
+ },
38
+ {
39
+ "name": "include_ios_tokens",
40
+ "baseName": "include_ios_tokens",
41
+ "type": "Array<string>",
42
+ "format": ""
43
+ },
44
+ {
45
+ "name": "include_wp_wns_uris",
46
+ "baseName": "include_wp_wns_uris",
47
+ "type": "Array<string>",
48
+ "format": ""
49
+ },
50
+ {
51
+ "name": "include_amazon_reg_ids",
52
+ "baseName": "include_amazon_reg_ids",
53
+ "type": "Array<string>",
54
+ "format": ""
55
+ },
56
+ {
57
+ "name": "include_chrome_reg_ids",
58
+ "baseName": "include_chrome_reg_ids",
59
+ "type": "Array<string>",
60
+ "format": ""
61
+ },
62
+ {
63
+ "name": "include_chrome_web_reg_ids",
64
+ "baseName": "include_chrome_web_reg_ids",
65
+ "type": "Array<string>",
66
+ "format": ""
67
+ },
68
+ {
69
+ "name": "include_android_reg_ids",
70
+ "baseName": "include_android_reg_ids",
71
+ "type": "Array<string>",
72
+ "format": ""
73
+ },
74
+ {
75
+ "name": "include_aliases",
76
+ "baseName": "include_aliases",
77
+ "type": "{ [key: string]: Array<string>; }",
78
+ "format": ""
79
+ },
80
+ {
81
+ "name": "target_channel",
82
+ "baseName": "target_channel",
83
+ "type": "SubscriptionNotificationTargetTargetChannelEnum",
84
+ "format": ""
85
+ }
86
+ ];
88
87
  //# sourceMappingURL=SubscriptionNotificationTarget.js.map
@@ -1,52 +1,51 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TemplateResource = void 0;
4
- var TemplateResource = (function () {
5
- function TemplateResource() {
6
- }
7
- TemplateResource.getAttributeTypeMap = function () {
4
+ class TemplateResource {
5
+ static getAttributeTypeMap() {
8
6
  return TemplateResource.attributeTypeMap;
9
- };
10
- TemplateResource.discriminator = undefined;
11
- TemplateResource.attributeTypeMap = [
12
- {
13
- "name": "id",
14
- "baseName": "id",
15
- "type": "string",
16
- "format": ""
17
- },
18
- {
19
- "name": "name",
20
- "baseName": "name",
21
- "type": "string",
22
- "format": ""
23
- },
24
- {
25
- "name": "created_at",
26
- "baseName": "created_at",
27
- "type": "string",
28
- "format": "date-time"
29
- },
30
- {
31
- "name": "updated_at",
32
- "baseName": "updated_at",
33
- "type": "string",
34
- "format": "date-time"
35
- },
36
- {
37
- "name": "channel",
38
- "baseName": "channel",
39
- "type": "TemplateResourceChannelEnum",
40
- "format": ""
41
- },
42
- {
43
- "name": "content",
44
- "baseName": "content",
45
- "type": "{ [key: string]: any; }",
46
- "format": ""
47
- }
48
- ];
49
- return TemplateResource;
50
- }());
7
+ }
8
+ constructor() {
9
+ }
10
+ }
51
11
  exports.TemplateResource = TemplateResource;
12
+ TemplateResource.discriminator = undefined;
13
+ TemplateResource.attributeTypeMap = [
14
+ {
15
+ "name": "id",
16
+ "baseName": "id",
17
+ "type": "string",
18
+ "format": ""
19
+ },
20
+ {
21
+ "name": "name",
22
+ "baseName": "name",
23
+ "type": "string",
24
+ "format": ""
25
+ },
26
+ {
27
+ "name": "created_at",
28
+ "baseName": "created_at",
29
+ "type": "string",
30
+ "format": "date-time"
31
+ },
32
+ {
33
+ "name": "updated_at",
34
+ "baseName": "updated_at",
35
+ "type": "string",
36
+ "format": "date-time"
37
+ },
38
+ {
39
+ "name": "channel",
40
+ "baseName": "channel",
41
+ "type": "TemplateResourceChannelEnum",
42
+ "format": ""
43
+ },
44
+ {
45
+ "name": "content",
46
+ "baseName": "content",
47
+ "type": "{ [key: string]: any; }",
48
+ "format": ""
49
+ }
50
+ ];
52
51
  //# sourceMappingURL=TemplateResource.js.map
@@ -1,22 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TemplatesListResponse = void 0;
4
- var TemplatesListResponse = (function () {
5
- function TemplatesListResponse() {
6
- }
7
- TemplatesListResponse.getAttributeTypeMap = function () {
4
+ class TemplatesListResponse {
5
+ static getAttributeTypeMap() {
8
6
  return TemplatesListResponse.attributeTypeMap;
9
- };
10
- TemplatesListResponse.discriminator = undefined;
11
- TemplatesListResponse.attributeTypeMap = [
12
- {
13
- "name": "templates",
14
- "baseName": "templates",
15
- "type": "Array<TemplateResource>",
16
- "format": ""
17
- }
18
- ];
19
- return TemplatesListResponse;
20
- }());
7
+ }
8
+ constructor() {
9
+ }
10
+ }
21
11
  exports.TemplatesListResponse = TemplatesListResponse;
12
+ TemplatesListResponse.discriminator = undefined;
13
+ TemplatesListResponse.attributeTypeMap = [
14
+ {
15
+ "name": "templates",
16
+ "baseName": "templates",
17
+ "type": "Array<TemplateResource>",
18
+ "format": ""
19
+ }
20
+ ];
22
21
  //# sourceMappingURL=TemplatesListResponse.js.map
@@ -1,22 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TransferSubscriptionRequestBody = void 0;
4
- var TransferSubscriptionRequestBody = (function () {
5
- function TransferSubscriptionRequestBody() {
6
- }
7
- TransferSubscriptionRequestBody.getAttributeTypeMap = function () {
4
+ class TransferSubscriptionRequestBody {
5
+ static getAttributeTypeMap() {
8
6
  return TransferSubscriptionRequestBody.attributeTypeMap;
9
- };
10
- TransferSubscriptionRequestBody.discriminator = undefined;
11
- TransferSubscriptionRequestBody.attributeTypeMap = [
12
- {
13
- "name": "identity",
14
- "baseName": "identity",
15
- "type": "{ [key: string]: string; }",
16
- "format": ""
17
- }
18
- ];
19
- return TransferSubscriptionRequestBody;
20
- }());
7
+ }
8
+ constructor() {
9
+ }
10
+ }
21
11
  exports.TransferSubscriptionRequestBody = TransferSubscriptionRequestBody;
12
+ TransferSubscriptionRequestBody.discriminator = undefined;
13
+ TransferSubscriptionRequestBody.attributeTypeMap = [
14
+ {
15
+ "name": "identity",
16
+ "baseName": "identity",
17
+ "type": "{ [key: string]: string; }",
18
+ "format": ""
19
+ }
20
+ ];
22
21
  //# sourceMappingURL=TransferSubscriptionRequestBody.js.map
@@ -1,34 +1,33 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateApiKeyRequest = void 0;
4
- var UpdateApiKeyRequest = (function () {
5
- function UpdateApiKeyRequest() {
6
- }
7
- UpdateApiKeyRequest.getAttributeTypeMap = function () {
4
+ class UpdateApiKeyRequest {
5
+ static getAttributeTypeMap() {
8
6
  return UpdateApiKeyRequest.attributeTypeMap;
9
- };
10
- UpdateApiKeyRequest.discriminator = undefined;
11
- UpdateApiKeyRequest.attributeTypeMap = [
12
- {
13
- "name": "name",
14
- "baseName": "name",
15
- "type": "string",
16
- "format": ""
17
- },
18
- {
19
- "name": "ip_allowlist_mode",
20
- "baseName": "ip_allowlist_mode",
21
- "type": "UpdateApiKeyRequestIpAllowlistModeEnum",
22
- "format": ""
23
- },
24
- {
25
- "name": "ip_allowlist",
26
- "baseName": "ip_allowlist",
27
- "type": "Array<string>",
28
- "format": ""
29
- }
30
- ];
31
- return UpdateApiKeyRequest;
32
- }());
7
+ }
8
+ constructor() {
9
+ }
10
+ }
33
11
  exports.UpdateApiKeyRequest = UpdateApiKeyRequest;
12
+ UpdateApiKeyRequest.discriminator = undefined;
13
+ UpdateApiKeyRequest.attributeTypeMap = [
14
+ {
15
+ "name": "name",
16
+ "baseName": "name",
17
+ "type": "string",
18
+ "format": ""
19
+ },
20
+ {
21
+ "name": "ip_allowlist_mode",
22
+ "baseName": "ip_allowlist_mode",
23
+ "type": "UpdateApiKeyRequestIpAllowlistModeEnum",
24
+ "format": ""
25
+ },
26
+ {
27
+ "name": "ip_allowlist",
28
+ "baseName": "ip_allowlist",
29
+ "type": "Array<string>",
30
+ "format": ""
31
+ }
32
+ ];
34
33
  //# sourceMappingURL=UpdateApiKeyRequest.js.map