@otr-app/shared-backend-generated-client 2.5.76 → 2.5.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular/api/dripWebhooksController.service.ts +0 -68
- package/dist/otrBackendService.js +0 -37
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/DripWebhooksControllerApi.d.ts +0 -6
- package/dist/typescript/api/DripWebhooksControllerApi.js +0 -25
- package/dist/typescript-fetch/apis/DripWebhooksControllerApi.d.ts +0 -11
- package/dist/typescript-fetch/apis/DripWebhooksControllerApi.js +0 -30
- package/dist/typescript-open-api/otr-backend.d.ts +0 -69
- package/package.json +1 -1
|
@@ -23,10 +23,4 @@ export declare class DripWebhooksControllerApi {
|
|
|
23
23
|
* @param request request
|
|
24
24
|
*/
|
|
25
25
|
handleBounceOrComplaintEventUsingPOST(request: models.DripWebhookEvent, extraHttpRequestParams?: any): ng.IHttpPromise<object>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @summary handleDripWebhook
|
|
29
|
-
* @param request request
|
|
30
|
-
*/
|
|
31
|
-
handleDripWebhookUsingPOST(request: models.DripWebhookEvent, extraHttpRequestParams?: any): ng.IHttpPromise<object>;
|
|
32
26
|
}
|
|
@@ -45,30 +45,5 @@ export class DripWebhooksControllerApi {
|
|
|
45
45
|
}
|
|
46
46
|
return this.$http(httpRequestParams);
|
|
47
47
|
}
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @summary handleDripWebhook
|
|
51
|
-
* @param request request
|
|
52
|
-
*/
|
|
53
|
-
handleDripWebhookUsingPOST(request, extraHttpRequestParams) {
|
|
54
|
-
const localVarPath = this.basePath + '/api/v1/drip/webhooks';
|
|
55
|
-
let queryParameters = {};
|
|
56
|
-
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
57
|
-
// verify required parameter 'request' is not null or undefined
|
|
58
|
-
if (request === null || request === undefined) {
|
|
59
|
-
throw new Error('Required parameter request was null or undefined when calling handleDripWebhookUsingPOST.');
|
|
60
|
-
}
|
|
61
|
-
let httpRequestParams = {
|
|
62
|
-
method: 'POST',
|
|
63
|
-
url: localVarPath,
|
|
64
|
-
data: request,
|
|
65
|
-
params: queryParameters,
|
|
66
|
-
headers: headerParams
|
|
67
|
-
};
|
|
68
|
-
if (extraHttpRequestParams) {
|
|
69
|
-
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
70
|
-
}
|
|
71
|
-
return this.$http(httpRequestParams);
|
|
72
|
-
}
|
|
73
48
|
}
|
|
74
49
|
DripWebhooksControllerApi.$inject = ['$http', '$httpParamSerializer', 'basePath'];
|
|
@@ -14,9 +14,6 @@ import { DripWebhookEvent } from '../models';
|
|
|
14
14
|
export interface HandleBounceOrComplaintEventUsingPOSTRequest {
|
|
15
15
|
request: DripWebhookEvent;
|
|
16
16
|
}
|
|
17
|
-
export interface HandleDripWebhookUsingPOSTRequest {
|
|
18
|
-
request: DripWebhookEvent;
|
|
19
|
-
}
|
|
20
17
|
/**
|
|
21
18
|
*
|
|
22
19
|
*/
|
|
@@ -29,12 +26,4 @@ export declare class DripWebhooksControllerApi extends runtime.BaseAPI {
|
|
|
29
26
|
* handleBounceOrComplaintEvent
|
|
30
27
|
*/
|
|
31
28
|
handleBounceOrComplaintEventUsingPOST(requestParameters: HandleBounceOrComplaintEventUsingPOSTRequest): Promise<object>;
|
|
32
|
-
/**
|
|
33
|
-
* handleDripWebhook
|
|
34
|
-
*/
|
|
35
|
-
handleDripWebhookUsingPOSTRaw(requestParameters: HandleDripWebhookUsingPOSTRequest): Promise<runtime.ApiResponse<object>>;
|
|
36
|
-
/**
|
|
37
|
-
* handleDripWebhook
|
|
38
|
-
*/
|
|
39
|
-
handleDripWebhookUsingPOST(requestParameters: HandleDripWebhookUsingPOSTRequest): Promise<object>;
|
|
40
29
|
}
|
|
@@ -56,34 +56,4 @@ export class DripWebhooksControllerApi extends runtime.BaseAPI {
|
|
|
56
56
|
return yield response.value();
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
/**
|
|
60
|
-
* handleDripWebhook
|
|
61
|
-
*/
|
|
62
|
-
handleDripWebhookUsingPOSTRaw(requestParameters) {
|
|
63
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
-
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
65
|
-
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling handleDripWebhookUsingPOST.');
|
|
66
|
-
}
|
|
67
|
-
const queryParameters = {};
|
|
68
|
-
const headerParameters = {};
|
|
69
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
70
|
-
const response = yield this.request({
|
|
71
|
-
path: `/api/v1/drip/webhooks`,
|
|
72
|
-
method: 'POST',
|
|
73
|
-
headers: headerParameters,
|
|
74
|
-
query: queryParameters,
|
|
75
|
-
body: DripWebhookEventToJSON(requestParameters.request),
|
|
76
|
-
});
|
|
77
|
-
return new runtime.JSONApiResponse(response);
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* handleDripWebhook
|
|
82
|
-
*/
|
|
83
|
-
handleDripWebhookUsingPOST(requestParameters) {
|
|
84
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
-
const response = yield this.handleDripWebhookUsingPOSTRaw(requestParameters);
|
|
86
|
-
return yield response.value();
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
59
|
}
|
|
@@ -2921,23 +2921,6 @@ export interface paths {
|
|
|
2921
2921
|
patch?: never;
|
|
2922
2922
|
trace?: never;
|
|
2923
2923
|
};
|
|
2924
|
-
"/api/v1/drip/webhooks": {
|
|
2925
|
-
parameters: {
|
|
2926
|
-
query?: never;
|
|
2927
|
-
header?: never;
|
|
2928
|
-
path?: never;
|
|
2929
|
-
cookie?: never;
|
|
2930
|
-
};
|
|
2931
|
-
get?: never;
|
|
2932
|
-
put?: never;
|
|
2933
|
-
/** handleDripWebhook */
|
|
2934
|
-
post: operations["handleDripWebhookUsingPOST"];
|
|
2935
|
-
delete?: never;
|
|
2936
|
-
options?: never;
|
|
2937
|
-
head?: never;
|
|
2938
|
-
patch?: never;
|
|
2939
|
-
trace?: never;
|
|
2940
|
-
};
|
|
2941
2924
|
"/api/v1/webhooks/drip/bounce-or-complaint": {
|
|
2942
2925
|
parameters: {
|
|
2943
2926
|
query?: never;
|
|
@@ -26076,58 +26059,6 @@ export interface operations {
|
|
|
26076
26059
|
};
|
|
26077
26060
|
};
|
|
26078
26061
|
};
|
|
26079
|
-
handleDripWebhookUsingPOST: {
|
|
26080
|
-
parameters: {
|
|
26081
|
-
query?: never;
|
|
26082
|
-
header?: never;
|
|
26083
|
-
path?: never;
|
|
26084
|
-
cookie?: never;
|
|
26085
|
-
};
|
|
26086
|
-
requestBody?: {
|
|
26087
|
-
content: {
|
|
26088
|
-
"application/json": components["schemas"]["DripWebhookEvent"];
|
|
26089
|
-
};
|
|
26090
|
-
};
|
|
26091
|
-
responses: {
|
|
26092
|
-
/** @description OK */
|
|
26093
|
-
200: {
|
|
26094
|
-
headers: {
|
|
26095
|
-
[name: string]: unknown;
|
|
26096
|
-
};
|
|
26097
|
-
content: {
|
|
26098
|
-
"*/*": Record<string, never>;
|
|
26099
|
-
};
|
|
26100
|
-
};
|
|
26101
|
-
/** @description Created */
|
|
26102
|
-
201: {
|
|
26103
|
-
headers: {
|
|
26104
|
-
[name: string]: unknown;
|
|
26105
|
-
};
|
|
26106
|
-
content?: never;
|
|
26107
|
-
};
|
|
26108
|
-
/** @description Unauthorized */
|
|
26109
|
-
401: {
|
|
26110
|
-
headers: {
|
|
26111
|
-
[name: string]: unknown;
|
|
26112
|
-
};
|
|
26113
|
-
content?: never;
|
|
26114
|
-
};
|
|
26115
|
-
/** @description Forbidden */
|
|
26116
|
-
403: {
|
|
26117
|
-
headers: {
|
|
26118
|
-
[name: string]: unknown;
|
|
26119
|
-
};
|
|
26120
|
-
content?: never;
|
|
26121
|
-
};
|
|
26122
|
-
/** @description Not Found */
|
|
26123
|
-
404: {
|
|
26124
|
-
headers: {
|
|
26125
|
-
[name: string]: unknown;
|
|
26126
|
-
};
|
|
26127
|
-
content?: never;
|
|
26128
|
-
};
|
|
26129
|
-
};
|
|
26130
|
-
};
|
|
26131
26062
|
handleBounceOrComplaintEventUsingPOST: {
|
|
26132
26063
|
parameters: {
|
|
26133
26064
|
query?: never;
|