@oursprivacy/platform-sdk 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +2 -2
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/allowed-events.d.mts +22 -5
- package/resources/allowed-events.d.mts.map +1 -1
- package/resources/allowed-events.d.ts +22 -5
- package/resources/allowed-events.d.ts.map +1 -1
- package/resources/consent-settings.d.mts +64 -10
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +64 -10
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/consent-settings.js +2 -2
- package/resources/consent-settings.js.map +1 -1
- package/resources/consent-settings.mjs +2 -2
- package/resources/consent-settings.mjs.map +1 -1
- package/resources/destinations.d.mts +48 -6
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +48 -6
- package/resources/destinations.d.ts.map +1 -1
- package/resources/global-dispatch-centers.d.mts +45 -11
- package/resources/global-dispatch-centers.d.mts.map +1 -1
- package/resources/global-dispatch-centers.d.ts +45 -11
- package/resources/global-dispatch-centers.d.ts.map +1 -1
- package/resources/global-dispatch-centers.js +2 -2
- package/resources/global-dispatch-centers.js.map +1 -1
- package/resources/global-dispatch-centers.mjs +2 -2
- package/resources/global-dispatch-centers.mjs.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/replay-settings.d.mts +60 -6
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +60 -6
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/sources.d.mts +36 -6
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +36 -6
- package/resources/sources.d.ts.map +1 -1
- package/resources/versions.d.mts +41 -5
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +41 -5
- package/resources/versions.d.ts.map +1 -1
- package/src/client.ts +0 -4
- package/src/resources/allowed-events.ts +38 -6
- package/src/resources/consent-settings.ts +108 -14
- package/src/resources/destinations.ts +411 -8
- package/src/resources/global-dispatch-centers.ts +75 -15
- package/src/resources/index.ts +0 -2
- package/src/resources/replay-settings.ts +100 -8
- package/src/resources/sources.ts +221 -8
- package/src/resources/versions.ts +77 -7
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -9,17 +9,14 @@ export class GlobalDispatchCenters extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* Create a new global dispatch center. Requires scope: globalDispatch:create
|
|
11
11
|
*/
|
|
12
|
-
create(
|
|
13
|
-
|
|
14
|
-
options?: RequestOptions,
|
|
15
|
-
): APIPromise<GlobalDispatchCenterCreateResponse> {
|
|
16
|
-
return this._client.post('/rest/v1/global-dispatch-centers', { body, ...options });
|
|
12
|
+
create(options?: RequestOptions): APIPromise<GlobalDispatchCenterCreateResponse> {
|
|
13
|
+
return this._client.post('/rest/v1/global-dispatch-centers', options);
|
|
17
14
|
}
|
|
18
15
|
|
|
19
16
|
/**
|
|
20
17
|
* Find a single global dispatch center by ID. Requires scope: globalDispatch:find
|
|
21
18
|
*/
|
|
22
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<GlobalDispatchCenterRetrieveResponse> {
|
|
19
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<GlobalDispatchCenterRetrieveResponse | null> {
|
|
23
20
|
return this._client.get(path`/rest/v1/global-dispatch-centers/${id}`, options);
|
|
24
21
|
}
|
|
25
22
|
|
|
@@ -50,28 +47,92 @@ export class GlobalDispatchCenters extends APIResource {
|
|
|
50
47
|
}
|
|
51
48
|
|
|
52
49
|
export interface GlobalDispatchCenterCreateResponse {
|
|
53
|
-
|
|
50
|
+
id: string;
|
|
51
|
+
|
|
52
|
+
createdAt: string;
|
|
53
|
+
|
|
54
|
+
isEnabled: boolean;
|
|
55
|
+
|
|
56
|
+
kind: string;
|
|
57
|
+
|
|
58
|
+
name?: string | null;
|
|
59
|
+
|
|
60
|
+
updatedAt?: string | null;
|
|
54
61
|
}
|
|
55
62
|
|
|
56
63
|
export interface GlobalDispatchCenterRetrieveResponse {
|
|
57
|
-
|
|
64
|
+
id: string;
|
|
65
|
+
|
|
66
|
+
createdAt: string;
|
|
67
|
+
|
|
68
|
+
isEnabled: boolean;
|
|
69
|
+
|
|
70
|
+
kind: string;
|
|
71
|
+
|
|
72
|
+
name?: string | null;
|
|
73
|
+
|
|
74
|
+
updatedAt?: string | null;
|
|
58
75
|
}
|
|
59
76
|
|
|
60
77
|
export interface GlobalDispatchCenterUpdateResponse {
|
|
61
|
-
|
|
78
|
+
id: string;
|
|
79
|
+
|
|
80
|
+
createdAt: string;
|
|
81
|
+
|
|
82
|
+
isEnabled: boolean;
|
|
83
|
+
|
|
84
|
+
kind: string;
|
|
85
|
+
|
|
86
|
+
name?: string | null;
|
|
87
|
+
|
|
88
|
+
updatedAt?: string | null;
|
|
62
89
|
}
|
|
63
90
|
|
|
64
91
|
export interface GlobalDispatchCenterListResponse {
|
|
65
|
-
|
|
92
|
+
entities: Array<GlobalDispatchCenterListResponse.Entity>;
|
|
66
93
|
}
|
|
67
94
|
|
|
68
|
-
export
|
|
69
|
-
|
|
95
|
+
export namespace GlobalDispatchCenterListResponse {
|
|
96
|
+
export interface Entity {
|
|
97
|
+
id: string;
|
|
98
|
+
|
|
99
|
+
createdAt: string;
|
|
100
|
+
|
|
101
|
+
isEnabled: boolean;
|
|
102
|
+
|
|
103
|
+
kind: string;
|
|
104
|
+
|
|
105
|
+
name?: string | null;
|
|
106
|
+
|
|
107
|
+
updatedAt?: string | null;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export type GlobalDispatchCenterDeleteResponse = boolean;
|
|
112
|
+
|
|
113
|
+
export interface GlobalDispatchCenterUpdateParams {
|
|
114
|
+
categories?: Array<GlobalDispatchCenterUpdateParams.Category> | null;
|
|
115
|
+
|
|
116
|
+
isEnabled?: boolean | null;
|
|
117
|
+
|
|
118
|
+
name?: string | null;
|
|
119
|
+
|
|
120
|
+
notes?: string | null;
|
|
70
121
|
}
|
|
71
122
|
|
|
72
|
-
export
|
|
123
|
+
export namespace GlobalDispatchCenterUpdateParams {
|
|
124
|
+
export interface Category {
|
|
125
|
+
description?: string | null;
|
|
126
|
+
|
|
127
|
+
destinationIds?: Array<string> | null;
|
|
73
128
|
|
|
74
|
-
|
|
129
|
+
logic?: unknown;
|
|
130
|
+
|
|
131
|
+
name?: string | null;
|
|
132
|
+
|
|
133
|
+
priority?: number | null;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
75
136
|
|
|
76
137
|
export declare namespace GlobalDispatchCenters {
|
|
77
138
|
export {
|
|
@@ -80,7 +141,6 @@ export declare namespace GlobalDispatchCenters {
|
|
|
80
141
|
type GlobalDispatchCenterUpdateResponse as GlobalDispatchCenterUpdateResponse,
|
|
81
142
|
type GlobalDispatchCenterListResponse as GlobalDispatchCenterListResponse,
|
|
82
143
|
type GlobalDispatchCenterDeleteResponse as GlobalDispatchCenterDeleteResponse,
|
|
83
|
-
type GlobalDispatchCenterCreateParams as GlobalDispatchCenterCreateParams,
|
|
84
144
|
type GlobalDispatchCenterUpdateParams as GlobalDispatchCenterUpdateParams,
|
|
85
145
|
};
|
|
86
146
|
}
|
package/src/resources/index.ts
CHANGED
|
@@ -15,7 +15,6 @@ export {
|
|
|
15
15
|
type ConsentSettingUpdateResponse,
|
|
16
16
|
type ConsentSettingListResponse,
|
|
17
17
|
type ConsentSettingDeleteResponse,
|
|
18
|
-
type ConsentSettingCreateParams,
|
|
19
18
|
type ConsentSettingUpdateParams,
|
|
20
19
|
} from './consent-settings';
|
|
21
20
|
export {
|
|
@@ -35,7 +34,6 @@ export {
|
|
|
35
34
|
type GlobalDispatchCenterUpdateResponse,
|
|
36
35
|
type GlobalDispatchCenterListResponse,
|
|
37
36
|
type GlobalDispatchCenterDeleteResponse,
|
|
38
|
-
type GlobalDispatchCenterCreateParams,
|
|
39
37
|
type GlobalDispatchCenterUpdateParams,
|
|
40
38
|
} from './global-dispatch-centers';
|
|
41
39
|
export {
|
|
@@ -16,7 +16,7 @@ export class ReplaySettings extends APIResource {
|
|
|
16
16
|
/**
|
|
17
17
|
* Find a single replay setting by ID. Requires scope: replaySettings:find
|
|
18
18
|
*/
|
|
19
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<ReplaySettingRetrieveResponse> {
|
|
19
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<ReplaySettingRetrieveResponse | null> {
|
|
20
20
|
return this._client.get(path`/rest/v1/replay-settings/${id}`, options);
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -47,28 +47,120 @@ export class ReplaySettings extends APIResource {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export interface ReplaySettingCreateResponse {
|
|
50
|
-
|
|
50
|
+
isSuccess: boolean;
|
|
51
|
+
|
|
52
|
+
cause?: string | null;
|
|
53
|
+
|
|
54
|
+
replaySettings?: ReplaySettingCreateResponse.ReplaySettings | null;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export namespace ReplaySettingCreateResponse {
|
|
58
|
+
export interface ReplaySettings {
|
|
59
|
+
id: string;
|
|
60
|
+
|
|
61
|
+
createdAt: string;
|
|
62
|
+
|
|
63
|
+
name: string;
|
|
64
|
+
|
|
65
|
+
status: 'Disabled' | 'Enabled';
|
|
66
|
+
|
|
67
|
+
updatedAt?: string | null;
|
|
68
|
+
}
|
|
51
69
|
}
|
|
52
70
|
|
|
53
71
|
export interface ReplaySettingRetrieveResponse {
|
|
54
|
-
|
|
72
|
+
id: string;
|
|
73
|
+
|
|
74
|
+
createdAt: string;
|
|
75
|
+
|
|
76
|
+
name: string;
|
|
77
|
+
|
|
78
|
+
status: 'Disabled' | 'Enabled';
|
|
79
|
+
|
|
80
|
+
updatedAt?: string | null;
|
|
55
81
|
}
|
|
56
82
|
|
|
57
83
|
export interface ReplaySettingUpdateResponse {
|
|
58
|
-
|
|
84
|
+
isSuccess: boolean;
|
|
85
|
+
|
|
86
|
+
cause?: string | null;
|
|
87
|
+
|
|
88
|
+
replaySettings?: ReplaySettingUpdateResponse.ReplaySettings | null;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export namespace ReplaySettingUpdateResponse {
|
|
92
|
+
export interface ReplaySettings {
|
|
93
|
+
id: string;
|
|
94
|
+
|
|
95
|
+
createdAt: string;
|
|
96
|
+
|
|
97
|
+
name: string;
|
|
98
|
+
|
|
99
|
+
status: 'Disabled' | 'Enabled';
|
|
100
|
+
|
|
101
|
+
updatedAt?: string | null;
|
|
102
|
+
}
|
|
59
103
|
}
|
|
60
104
|
|
|
61
105
|
export interface ReplaySettingListResponse {
|
|
62
|
-
|
|
106
|
+
entities: Array<ReplaySettingListResponse.Entity>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export namespace ReplaySettingListResponse {
|
|
110
|
+
export interface Entity {
|
|
111
|
+
id: string;
|
|
112
|
+
|
|
113
|
+
createdAt: string;
|
|
114
|
+
|
|
115
|
+
name: string;
|
|
116
|
+
|
|
117
|
+
status: 'Disabled' | 'Enabled';
|
|
118
|
+
|
|
119
|
+
updatedAt?: string | null;
|
|
120
|
+
}
|
|
63
121
|
}
|
|
64
122
|
|
|
65
123
|
export interface ReplaySettingDeleteResponse {
|
|
66
|
-
|
|
124
|
+
isSuccess: boolean;
|
|
125
|
+
|
|
126
|
+
cause?: string | null;
|
|
127
|
+
|
|
128
|
+
replaySettings?: ReplaySettingDeleteResponse.ReplaySettings | null;
|
|
67
129
|
}
|
|
68
130
|
|
|
69
|
-
export
|
|
131
|
+
export namespace ReplaySettingDeleteResponse {
|
|
132
|
+
export interface ReplaySettings {
|
|
133
|
+
id: string;
|
|
134
|
+
|
|
135
|
+
createdAt: string;
|
|
70
136
|
|
|
71
|
-
|
|
137
|
+
name: string;
|
|
138
|
+
|
|
139
|
+
status: 'Disabled' | 'Enabled';
|
|
140
|
+
|
|
141
|
+
updatedAt?: string | null;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export interface ReplaySettingCreateParams {
|
|
146
|
+
customDomain?: string | null;
|
|
147
|
+
|
|
148
|
+
name?: string | null;
|
|
149
|
+
|
|
150
|
+
status?: 'Disabled' | 'Enabled' | null;
|
|
151
|
+
|
|
152
|
+
whitelistDomains?: Array<string> | null;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export interface ReplaySettingUpdateParams {
|
|
156
|
+
customDomain?: string | null;
|
|
157
|
+
|
|
158
|
+
name?: string | null;
|
|
159
|
+
|
|
160
|
+
status?: 'Disabled' | 'Enabled' | null;
|
|
161
|
+
|
|
162
|
+
whitelistDomains?: Array<string> | null;
|
|
163
|
+
}
|
|
72
164
|
|
|
73
165
|
export declare namespace ReplaySettings {
|
|
74
166
|
export {
|
package/src/resources/sources.ts
CHANGED
|
@@ -43,28 +43,241 @@ export class Sources extends APIResource {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export interface SourceCreateResponse {
|
|
46
|
-
|
|
46
|
+
id: string;
|
|
47
|
+
|
|
48
|
+
createdAt: string;
|
|
49
|
+
|
|
50
|
+
status: 'Disabled' | 'Enabled';
|
|
51
|
+
|
|
52
|
+
type:
|
|
53
|
+
| 'AlchemerWebhook'
|
|
54
|
+
| 'AndroidNativeApi'
|
|
55
|
+
| 'CSharpApi'
|
|
56
|
+
| 'CalComWebhooks'
|
|
57
|
+
| 'CalendlyWebhook'
|
|
58
|
+
| 'CallRail'
|
|
59
|
+
| 'CallTrackingMetrics'
|
|
60
|
+
| 'DotNetApi'
|
|
61
|
+
| 'FacebookLeadAds'
|
|
62
|
+
| 'FormsortWebhooks'
|
|
63
|
+
| 'Formstack'
|
|
64
|
+
| 'GoLangApi'
|
|
65
|
+
| 'HTTPApiSource'
|
|
66
|
+
| 'Healthie'
|
|
67
|
+
| 'HubspotAppActions'
|
|
68
|
+
| 'HubspotFormWebhook'
|
|
69
|
+
| 'JotFormWebhooks'
|
|
70
|
+
| 'KotlinApi'
|
|
71
|
+
| 'NodejsApi'
|
|
72
|
+
| 'PHPApi'
|
|
73
|
+
| 'PixelImage'
|
|
74
|
+
| 'PythonApi'
|
|
75
|
+
| 'ReactNativeApi'
|
|
76
|
+
| 'RedirectSource'
|
|
77
|
+
| 'RubyApi'
|
|
78
|
+
| 'SegmentWebPlugin'
|
|
79
|
+
| 'TypeformWebhooks'
|
|
80
|
+
| 'WebSource'
|
|
81
|
+
| 'Webhook'
|
|
82
|
+
| 'WhatConverts'
|
|
83
|
+
| 'iOSNativeApi';
|
|
84
|
+
|
|
85
|
+
name?: string | null;
|
|
47
86
|
}
|
|
48
87
|
|
|
49
88
|
export interface SourceRetrieveResponse {
|
|
50
|
-
|
|
89
|
+
id: string;
|
|
90
|
+
|
|
91
|
+
createdAt: string;
|
|
92
|
+
|
|
93
|
+
status: 'Disabled' | 'Enabled';
|
|
94
|
+
|
|
95
|
+
type:
|
|
96
|
+
| 'AlchemerWebhook'
|
|
97
|
+
| 'AndroidNativeApi'
|
|
98
|
+
| 'CSharpApi'
|
|
99
|
+
| 'CalComWebhooks'
|
|
100
|
+
| 'CalendlyWebhook'
|
|
101
|
+
| 'CallRail'
|
|
102
|
+
| 'CallTrackingMetrics'
|
|
103
|
+
| 'DotNetApi'
|
|
104
|
+
| 'FacebookLeadAds'
|
|
105
|
+
| 'FormsortWebhooks'
|
|
106
|
+
| 'Formstack'
|
|
107
|
+
| 'GoLangApi'
|
|
108
|
+
| 'HTTPApiSource'
|
|
109
|
+
| 'Healthie'
|
|
110
|
+
| 'HubspotAppActions'
|
|
111
|
+
| 'HubspotFormWebhook'
|
|
112
|
+
| 'JotFormWebhooks'
|
|
113
|
+
| 'KotlinApi'
|
|
114
|
+
| 'NodejsApi'
|
|
115
|
+
| 'PHPApi'
|
|
116
|
+
| 'PixelImage'
|
|
117
|
+
| 'PythonApi'
|
|
118
|
+
| 'ReactNativeApi'
|
|
119
|
+
| 'RedirectSource'
|
|
120
|
+
| 'RubyApi'
|
|
121
|
+
| 'SegmentWebPlugin'
|
|
122
|
+
| 'TypeformWebhooks'
|
|
123
|
+
| 'WebSource'
|
|
124
|
+
| 'Webhook'
|
|
125
|
+
| 'WhatConverts'
|
|
126
|
+
| 'iOSNativeApi';
|
|
127
|
+
|
|
128
|
+
name?: string | null;
|
|
51
129
|
}
|
|
52
130
|
|
|
53
131
|
export interface SourceUpdateResponse {
|
|
54
|
-
|
|
132
|
+
id: string;
|
|
133
|
+
|
|
134
|
+
createdAt: string;
|
|
135
|
+
|
|
136
|
+
status: 'Disabled' | 'Enabled';
|
|
137
|
+
|
|
138
|
+
type:
|
|
139
|
+
| 'AlchemerWebhook'
|
|
140
|
+
| 'AndroidNativeApi'
|
|
141
|
+
| 'CSharpApi'
|
|
142
|
+
| 'CalComWebhooks'
|
|
143
|
+
| 'CalendlyWebhook'
|
|
144
|
+
| 'CallRail'
|
|
145
|
+
| 'CallTrackingMetrics'
|
|
146
|
+
| 'DotNetApi'
|
|
147
|
+
| 'FacebookLeadAds'
|
|
148
|
+
| 'FormsortWebhooks'
|
|
149
|
+
| 'Formstack'
|
|
150
|
+
| 'GoLangApi'
|
|
151
|
+
| 'HTTPApiSource'
|
|
152
|
+
| 'Healthie'
|
|
153
|
+
| 'HubspotAppActions'
|
|
154
|
+
| 'HubspotFormWebhook'
|
|
155
|
+
| 'JotFormWebhooks'
|
|
156
|
+
| 'KotlinApi'
|
|
157
|
+
| 'NodejsApi'
|
|
158
|
+
| 'PHPApi'
|
|
159
|
+
| 'PixelImage'
|
|
160
|
+
| 'PythonApi'
|
|
161
|
+
| 'ReactNativeApi'
|
|
162
|
+
| 'RedirectSource'
|
|
163
|
+
| 'RubyApi'
|
|
164
|
+
| 'SegmentWebPlugin'
|
|
165
|
+
| 'TypeformWebhooks'
|
|
166
|
+
| 'WebSource'
|
|
167
|
+
| 'Webhook'
|
|
168
|
+
| 'WhatConverts'
|
|
169
|
+
| 'iOSNativeApi';
|
|
170
|
+
|
|
171
|
+
name?: string | null;
|
|
55
172
|
}
|
|
56
173
|
|
|
57
174
|
export interface SourceListResponse {
|
|
58
|
-
|
|
175
|
+
entities: Array<SourceListResponse.Entity>;
|
|
59
176
|
}
|
|
60
177
|
|
|
61
|
-
export
|
|
62
|
-
|
|
178
|
+
export namespace SourceListResponse {
|
|
179
|
+
export interface Entity {
|
|
180
|
+
id: string;
|
|
181
|
+
|
|
182
|
+
createdAt: string;
|
|
183
|
+
|
|
184
|
+
status: 'Disabled' | 'Enabled';
|
|
185
|
+
|
|
186
|
+
type:
|
|
187
|
+
| 'AlchemerWebhook'
|
|
188
|
+
| 'AndroidNativeApi'
|
|
189
|
+
| 'CSharpApi'
|
|
190
|
+
| 'CalComWebhooks'
|
|
191
|
+
| 'CalendlyWebhook'
|
|
192
|
+
| 'CallRail'
|
|
193
|
+
| 'CallTrackingMetrics'
|
|
194
|
+
| 'DotNetApi'
|
|
195
|
+
| 'FacebookLeadAds'
|
|
196
|
+
| 'FormsortWebhooks'
|
|
197
|
+
| 'Formstack'
|
|
198
|
+
| 'GoLangApi'
|
|
199
|
+
| 'HTTPApiSource'
|
|
200
|
+
| 'Healthie'
|
|
201
|
+
| 'HubspotAppActions'
|
|
202
|
+
| 'HubspotFormWebhook'
|
|
203
|
+
| 'JotFormWebhooks'
|
|
204
|
+
| 'KotlinApi'
|
|
205
|
+
| 'NodejsApi'
|
|
206
|
+
| 'PHPApi'
|
|
207
|
+
| 'PixelImage'
|
|
208
|
+
| 'PythonApi'
|
|
209
|
+
| 'ReactNativeApi'
|
|
210
|
+
| 'RedirectSource'
|
|
211
|
+
| 'RubyApi'
|
|
212
|
+
| 'SegmentWebPlugin'
|
|
213
|
+
| 'TypeformWebhooks'
|
|
214
|
+
| 'WebSource'
|
|
215
|
+
| 'Webhook'
|
|
216
|
+
| 'WhatConverts'
|
|
217
|
+
| 'iOSNativeApi';
|
|
218
|
+
|
|
219
|
+
name?: string | null;
|
|
220
|
+
}
|
|
63
221
|
}
|
|
64
222
|
|
|
65
|
-
export
|
|
223
|
+
export type SourceDeleteResponse = boolean;
|
|
224
|
+
|
|
225
|
+
export interface SourceCreateParams {
|
|
226
|
+
type:
|
|
227
|
+
| 'AlchemerWebhook'
|
|
228
|
+
| 'AndroidNativeApi'
|
|
229
|
+
| 'CSharpApi'
|
|
230
|
+
| 'CalComWebhooks'
|
|
231
|
+
| 'CalendlyWebhook'
|
|
232
|
+
| 'CallRail'
|
|
233
|
+
| 'CallTrackingMetrics'
|
|
234
|
+
| 'DotNetApi'
|
|
235
|
+
| 'FacebookLeadAds'
|
|
236
|
+
| 'FormsortWebhooks'
|
|
237
|
+
| 'Formstack'
|
|
238
|
+
| 'GoLangApi'
|
|
239
|
+
| 'HTTPApiSource'
|
|
240
|
+
| 'Healthie'
|
|
241
|
+
| 'HubspotAppActions'
|
|
242
|
+
| 'HubspotFormWebhook'
|
|
243
|
+
| 'JotFormWebhooks'
|
|
244
|
+
| 'KotlinApi'
|
|
245
|
+
| 'NodejsApi'
|
|
246
|
+
| 'PHPApi'
|
|
247
|
+
| 'PixelImage'
|
|
248
|
+
| 'PythonApi'
|
|
249
|
+
| 'ReactNativeApi'
|
|
250
|
+
| 'RedirectSource'
|
|
251
|
+
| 'RubyApi'
|
|
252
|
+
| 'SegmentWebPlugin'
|
|
253
|
+
| 'TypeformWebhooks'
|
|
254
|
+
| 'WebSource'
|
|
255
|
+
| 'Webhook'
|
|
256
|
+
| 'WhatConverts'
|
|
257
|
+
| 'iOSNativeApi';
|
|
258
|
+
|
|
259
|
+
name?: string | null;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export interface SourceUpdateParams {
|
|
263
|
+
status: 'Disabled' | 'Enabled';
|
|
264
|
+
|
|
265
|
+
botControlMode?: 'Allow' | 'Block' | null;
|
|
66
266
|
|
|
67
|
-
|
|
267
|
+
excludeRequestContext?: boolean | null;
|
|
268
|
+
|
|
269
|
+
name?: string | null;
|
|
270
|
+
|
|
271
|
+
projectAPIKey?: string | null;
|
|
272
|
+
|
|
273
|
+
redirectUrl?: string | null;
|
|
274
|
+
|
|
275
|
+
selectedAccountId?: string | null;
|
|
276
|
+
|
|
277
|
+
whitelistDomains?: Array<unknown> | null;
|
|
278
|
+
|
|
279
|
+
whitelistIps?: Array<string> | null;
|
|
280
|
+
}
|
|
68
281
|
|
|
69
282
|
export declare namespace Sources {
|
|
70
283
|
export {
|
|
@@ -36,24 +36,94 @@ export class Versions extends APIResource {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
export interface VersionCreateResponse {
|
|
39
|
-
|
|
39
|
+
success: boolean;
|
|
40
|
+
|
|
41
|
+
error?: string | null;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
export interface VersionRetrieveResponse {
|
|
43
|
-
|
|
45
|
+
id: string;
|
|
46
|
+
|
|
47
|
+
createdAt: string;
|
|
48
|
+
|
|
49
|
+
isPublished: boolean;
|
|
50
|
+
|
|
51
|
+
versionNumber: number;
|
|
52
|
+
|
|
53
|
+
name?: string | null;
|
|
54
|
+
|
|
55
|
+
notes?: string | null;
|
|
56
|
+
|
|
57
|
+
publishedAt?: string | null;
|
|
44
58
|
}
|
|
45
59
|
|
|
46
60
|
export interface VersionUpdateResponse {
|
|
47
|
-
|
|
61
|
+
id: string;
|
|
62
|
+
|
|
63
|
+
createdAt: string;
|
|
64
|
+
|
|
65
|
+
isPublished: boolean;
|
|
66
|
+
|
|
67
|
+
versionNumber: number;
|
|
68
|
+
|
|
69
|
+
name?: string | null;
|
|
70
|
+
|
|
71
|
+
notes?: string | null;
|
|
72
|
+
|
|
73
|
+
publishedAt?: string | null;
|
|
48
74
|
}
|
|
49
75
|
|
|
50
|
-
export
|
|
51
|
-
|
|
76
|
+
export type VersionListResponse = Array<VersionListResponse.VersionListResponseItem>;
|
|
77
|
+
|
|
78
|
+
export namespace VersionListResponse {
|
|
79
|
+
export interface VersionListResponseItem {
|
|
80
|
+
id: string;
|
|
81
|
+
|
|
82
|
+
createdAt: string;
|
|
83
|
+
|
|
84
|
+
isPublished: boolean;
|
|
85
|
+
|
|
86
|
+
versionNumber: number;
|
|
87
|
+
|
|
88
|
+
name?: string | null;
|
|
89
|
+
|
|
90
|
+
publishedAt?: string | null;
|
|
91
|
+
}
|
|
52
92
|
}
|
|
53
93
|
|
|
54
|
-
export interface VersionCreateParams {
|
|
94
|
+
export interface VersionCreateParams {
|
|
95
|
+
includeAllowedEvents?: Array<string> | null;
|
|
96
|
+
|
|
97
|
+
includeConsentSettings?: Array<string> | null;
|
|
98
|
+
|
|
99
|
+
includeDestinations?: Array<string> | null;
|
|
100
|
+
|
|
101
|
+
includeExternalAllowedEventData?: Array<string> | null;
|
|
102
|
+
|
|
103
|
+
includeGlobalDispatchCenters?: Array<string> | null;
|
|
104
|
+
|
|
105
|
+
includeMappings?: Array<string> | null;
|
|
106
|
+
|
|
107
|
+
includeReplaySettings?: Array<string> | null;
|
|
108
|
+
|
|
109
|
+
includeSources?: Array<string> | null;
|
|
55
110
|
|
|
56
|
-
|
|
111
|
+
includeTagManagerTags?: Array<string> | null;
|
|
112
|
+
|
|
113
|
+
includeTagManagerTriggers?: Array<string> | null;
|
|
114
|
+
|
|
115
|
+
includeTagManagerVariables?: Array<string> | null;
|
|
116
|
+
|
|
117
|
+
name?: string | null;
|
|
118
|
+
|
|
119
|
+
notes?: string | null;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface VersionUpdateParams {
|
|
123
|
+
name?: string | null;
|
|
124
|
+
|
|
125
|
+
notes?: string | null;
|
|
126
|
+
}
|
|
57
127
|
|
|
58
128
|
export declare namespace Versions {
|
|
59
129
|
export {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.1.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.1.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.1.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.1.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|