@lorikeetai/node-sdk 0.13.2 → 0.14.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 +40 -0
- package/README.md +17 -32
- package/core.d.ts +7 -4
- package/core.d.ts.map +1 -1
- package/core.js +16 -9
- package/core.js.map +1 -1
- package/core.mjs +16 -9
- package/core.mjs.map +1 -1
- package/index.d.mts +21 -3
- package/index.d.ts +21 -3
- package/index.d.ts.map +1 -1
- package/index.js +35 -7
- package/index.js.map +1 -1
- package/index.mjs +36 -8
- package/index.mjs.map +1 -1
- package/internal/qs/formats.d.ts +6 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +11 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +8 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +279 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +276 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.ts +14 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +229 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/package.json +1 -5
- package/resource.d.ts +1 -1
- package/resource.d.ts.map +1 -1
- package/resource.js.map +1 -1
- package/resource.mjs.map +1 -1
- package/resources/conversation/chat.d.ts +19 -164
- package/resources/conversation/chat.d.ts.map +1 -1
- package/resources/conversation/chat.js.map +1 -1
- package/resources/conversation/chat.mjs.map +1 -1
- package/resources/conversation/conversation.d.ts +116 -0
- package/resources/conversation/conversation.d.ts.map +1 -1
- package/resources/conversation/conversation.js +36 -0
- package/resources/conversation/conversation.js.map +1 -1
- package/resources/conversation/conversation.mjs +36 -0
- package/resources/conversation/conversation.mjs.map +1 -1
- package/resources/conversation/email.d.ts +19 -164
- package/resources/conversation/email.d.ts.map +1 -1
- package/resources/conversation/email.js.map +1 -1
- package/resources/conversation/email.mjs.map +1 -1
- package/resources/conversation/index.d.ts +1 -1
- package/resources/conversation/index.d.ts.map +1 -1
- package/resources/conversation/index.js.map +1 -1
- package/resources/conversation/index.mjs +1 -1
- package/resources/conversation/index.mjs.map +1 -1
- package/resources/customer/customer.d.ts +296 -0
- package/resources/customer/customer.d.ts.map +1 -0
- package/resources/customer/customer.js +79 -0
- package/resources/customer/customer.js.map +1 -0
- package/resources/customer/customer.mjs +52 -0
- package/resources/customer/customer.mjs.map +1 -0
- package/resources/customer/index.d.ts +3 -0
- package/resources/customer/index.d.ts.map +1 -0
- package/resources/customer/index.js +9 -0
- package/resources/customer/index.js.map +1 -0
- package/resources/customer/index.mjs +4 -0
- package/resources/customer/index.mjs.map +1 -0
- package/resources/customer/profile.d.ts +71 -0
- package/resources/customer/profile.d.ts.map +1 -0
- package/resources/customer/profile.js +21 -0
- package/resources/customer/profile.js.map +1 -0
- package/resources/customer/profile.mjs +17 -0
- package/resources/customer/profile.mjs.map +1 -0
- package/resources/customer.d.ts +1 -291
- package/resources/customer.d.ts.map +1 -1
- package/resources/customer.js +15 -45
- package/resources/customer.js.map +1 -1
- package/resources/customer.mjs +1 -43
- package/resources/customer.mjs.map +1 -1
- package/resources/file.d.ts +7 -0
- package/resources/file.d.ts.map +1 -0
- package/resources/file.js +21 -0
- package/resources/file.js.map +1 -0
- package/resources/file.mjs +17 -0
- package/resources/file.mjs.map +1 -0
- package/resources/index.d.ts +6 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -2
- package/resources/index.mjs.map +1 -1
- package/resources/ingest.d.ts +2 -0
- package/resources/ingest.d.ts.map +1 -1
- package/resources/ingest.js +9 -0
- package/resources/ingest.js.map +1 -1
- package/resources/ingest.mjs +9 -0
- package/resources/ingest.mjs.map +1 -1
- package/resources/oauth/authorization.d.ts +6 -0
- package/resources/oauth/authorization.d.ts.map +1 -0
- package/resources/oauth/authorization.js +15 -0
- package/resources/oauth/authorization.js.map +1 -0
- package/resources/oauth/authorization.mjs +11 -0
- package/resources/oauth/authorization.mjs.map +1 -0
- package/resources/oauth/index.d.ts +3 -0
- package/resources/oauth/index.d.ts.map +1 -0
- package/resources/oauth/index.js +9 -0
- package/resources/oauth/index.js.map +1 -0
- package/resources/oauth/index.mjs +4 -0
- package/resources/oauth/index.mjs.map +1 -0
- package/resources/oauth/oauth.d.ts +24 -0
- package/resources/oauth/oauth.d.ts.map +1 -0
- package/resources/oauth/oauth.js +65 -0
- package/resources/oauth/oauth.js.map +1 -0
- package/resources/oauth/oauth.mjs +38 -0
- package/resources/oauth/oauth.mjs.map +1 -0
- package/resources/oauth.d.ts +2 -0
- package/resources/oauth.d.ts.map +1 -0
- package/resources/oauth.js +19 -0
- package/resources/oauth.js.map +1 -0
- package/resources/oauth.mjs +3 -0
- package/resources/oauth.mjs.map +1 -0
- package/resources/suggestion.d.ts +7 -0
- package/resources/suggestion.d.ts.map +1 -0
- package/resources/suggestion.js +21 -0
- package/resources/suggestion.js.map +1 -0
- package/resources/suggestion.mjs +17 -0
- package/resources/suggestion.mjs.map +1 -0
- package/resources/ticket.d.ts +14 -0
- package/resources/ticket.d.ts.map +1 -0
- package/resources/ticket.js +16 -0
- package/resources/ticket.js.map +1 -0
- package/resources/ticket.mjs +12 -0
- package/resources/ticket.mjs.map +1 -0
- package/resources/top-level.d.ts +2 -0
- package/resources/top-level.d.ts.map +1 -0
- package/resources/top-level.js +4 -0
- package/resources/top-level.js.map +1 -0
- package/resources/top-level.mjs +3 -0
- package/resources/top-level.mjs.map +1 -0
- package/resources/webhooks.d.ts +6 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +15 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +11 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources/workflow.d.ts +1 -0
- package/resources/workflow.d.ts.map +1 -1
- package/resources/workflow.js +3 -0
- package/resources/workflow.js.map +1 -1
- package/resources/workflow.mjs +3 -0
- package/resources/workflow.mjs.map +1 -1
- package/src/core.ts +17 -8
- package/src/index.ts +77 -10
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +9 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +388 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/resource.ts +1 -1
- package/src/resources/conversation/chat.ts +21 -217
- package/src/resources/conversation/conversation.ts +175 -0
- package/src/resources/conversation/email.ts +21 -217
- package/src/resources/conversation/index.ts +10 -1
- package/src/resources/customer/customer.ts +386 -0
- package/src/resources/customer/index.ts +13 -0
- package/src/resources/customer/profile.ts +89 -0
- package/src/resources/customer.ts +1 -372
- package/src/resources/file.ts +20 -0
- package/src/resources/index.ts +15 -2
- package/src/resources/ingest.ts +17 -0
- package/src/resources/oauth/authorization.ts +13 -0
- package/src/resources/oauth/index.ts +4 -0
- package/src/resources/oauth/oauth.ts +63 -0
- package/src/resources/oauth.ts +3 -0
- package/src/resources/suggestion.ts +20 -0
- package/src/resources/ticket.ts +30 -0
- package/src/resources/top-level.ts +3 -0
- package/src/resources/webhooks.ts +13 -0
- package/src/resources/workflow.ts +4 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.Customer = void 0;
|
|
28
|
+
const resource_1 = require("../../resource.js");
|
|
29
|
+
const ProfileAPI = __importStar(require("./profile.js"));
|
|
30
|
+
const profile_1 = require("./profile.js");
|
|
31
|
+
class Customer extends resource_1.APIResource {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
|
+
this.profile = new ProfileAPI.Profile(this._client);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const customer = await client.customer.create();
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
create(body, options) {
|
|
43
|
+
return this._client.post('/v1/customer', { body, ...options });
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const customer = await client.customer.update(
|
|
49
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
50
|
+
* );
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
update(id, body, options) {
|
|
54
|
+
return this._client.put(`/v1/customer/${id}`, { body, ...options });
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* const customer = await client.customer.get(
|
|
60
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
61
|
+
* );
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
get(id, options) {
|
|
65
|
+
return this._client.get(`/v1/customer/${id}`, options);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* ```ts
|
|
70
|
+
* const response = await client.customer.token();
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
token(body, options) {
|
|
74
|
+
return this._client.post('/v1/customer/token', { body, ...options });
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.Customer = Customer;
|
|
78
|
+
Customer.Profile = profile_1.Profile;
|
|
79
|
+
//# sourceMappingURL=customer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../../src/resources/customer/customer.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAE7C,yDAAwC;AACxC,0CAA4E;AAE5E,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiDrE,CAAC;IA/CC;;;;;OAKG;IACH,MAAM,CAAC,IAA0B,EAAE,OAA6B;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,EAAU,EACV,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CAAC,EAAU,EAAE,OAA6B;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAyB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF;AAlDD,4BAkDC;AAsTD,QAAQ,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../resource.mjs";
|
|
3
|
+
import * as ProfileAPI from "./profile.mjs";
|
|
4
|
+
import { Profile } from "./profile.mjs";
|
|
5
|
+
export class Customer extends APIResource {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.profile = new ProfileAPI.Profile(this._client);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const customer = await client.customer.create();
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
create(body, options) {
|
|
17
|
+
return this._client.post('/v1/customer', { body, ...options });
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const customer = await client.customer.update(
|
|
23
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
update(id, body, options) {
|
|
28
|
+
return this._client.put(`/v1/customer/${id}`, { body, ...options });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const customer = await client.customer.get(
|
|
34
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
35
|
+
* );
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
get(id, options) {
|
|
39
|
+
return this._client.get(`/v1/customer/${id}`, options);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* const response = await client.customer.token();
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
token(body, options) {
|
|
48
|
+
return this._client.post('/v1/customer/token', { body, ...options });
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
Customer.Profile = Profile;
|
|
52
|
+
//# sourceMappingURL=customer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.mjs","sourceRoot":"","sources":["../../src/resources/customer/customer.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,UAAU;OACf,EAAE,OAAO,EAA0C;AAE1D,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiDrE,CAAC;IA/CC;;;;;OAKG;IACH,MAAM,CAAC,IAA0B,EAAE,OAA6B;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,EAAU,EACV,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CAAC,EAAU,EAAE,OAA6B;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAyB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF;AAsTD,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Customer, type CustomerCreateResponse, type CustomerUpdateResponse, type CustomerGetResponse, type CustomerTokenResponse, type CustomerCreateParams, type CustomerUpdateParams, type CustomerTokenParams, } from "./customer.js";
|
|
2
|
+
export { Profile, type ProfileSyncResponse, type ProfileSyncParams } from "./profile.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/customer/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,GACzB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Profile = exports.Customer = void 0;
|
|
5
|
+
var customer_1 = require("./customer.js");
|
|
6
|
+
Object.defineProperty(exports, "Customer", { enumerable: true, get: function () { return customer_1.Customer; } });
|
|
7
|
+
var profile_1 = require("./profile.js");
|
|
8
|
+
Object.defineProperty(exports, "Profile", { enumerable: true, get: function () { return profile_1.Profile; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/customer/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CASoB;AARlB,oGAAA,QAAQ,OAAA;AASV,wCAAsF;AAA7E,kGAAA,OAAO,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/customer/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAQT;OACM,EAAE,OAAO,EAAoD"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { APIResource } from "../../resource.js";
|
|
2
|
+
import * as Core from "../../core.js";
|
|
3
|
+
export declare class Profile extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* ```ts
|
|
7
|
+
* const response = await client.customer.profile.sync(
|
|
8
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
9
|
+
* { data: { foo: 'string' } },
|
|
10
|
+
* );
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
sync(id: string, body: ProfileSyncParams, options?: Core.RequestOptions): Core.APIPromise<ProfileSyncResponse>;
|
|
14
|
+
}
|
|
15
|
+
export interface ProfileSyncResponse {
|
|
16
|
+
/**
|
|
17
|
+
* The id of the customer in the subscriber system
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
/**
|
|
21
|
+
* The timestamp of the when the customer was created in our system
|
|
22
|
+
*/
|
|
23
|
+
createdAt: string;
|
|
24
|
+
/**
|
|
25
|
+
* The URL of the customer avatar
|
|
26
|
+
*/
|
|
27
|
+
avatarUrl?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The display name of the customer
|
|
30
|
+
*/
|
|
31
|
+
displayName?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The email of the customer
|
|
34
|
+
*/
|
|
35
|
+
email?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The first name of the customer
|
|
38
|
+
*/
|
|
39
|
+
firstName?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The last name of the customer
|
|
42
|
+
*/
|
|
43
|
+
lastName?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The id of the customer in the ticketing system. For the SDK this needs to be
|
|
46
|
+
* stable and unique
|
|
47
|
+
*/
|
|
48
|
+
remoteId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The id of the customer in your own primary database or a unique identifier, for
|
|
51
|
+
* example a cookie
|
|
52
|
+
*/
|
|
53
|
+
subscriberCustomerId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* A token that can be used to authenticate the customer in the your system, like a
|
|
56
|
+
* JWT
|
|
57
|
+
*/
|
|
58
|
+
subscriberToken?: string;
|
|
59
|
+
}
|
|
60
|
+
export interface ProfileSyncParams {
|
|
61
|
+
/**
|
|
62
|
+
* The profile data to update - should be provided as key value object
|
|
63
|
+
*/
|
|
64
|
+
data: {
|
|
65
|
+
[key: string]: string | boolean | number | unknown | Array<unknown>;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export declare namespace Profile {
|
|
69
|
+
export { type ProfileSyncResponse as ProfileSyncResponse, type ProfileSyncParams as ProfileSyncParams };
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/resources/customer/profile.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;OAQG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC;CAGxC;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,CAAA;KAAE,CAAC;CAC/E;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Profile = void 0;
|
|
5
|
+
const resource_1 = require("../../resource.js");
|
|
6
|
+
class Profile extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const response = await client.customer.profile.sync(
|
|
11
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
12
|
+
* { data: { foo: 'string' } },
|
|
13
|
+
* );
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
sync(id, body, options) {
|
|
17
|
+
return this._client.put(`/v1/customer/profile/${id}`, { body, ...options });
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.Profile = Profile;
|
|
21
|
+
//# sourceMappingURL=profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../src/resources/customer/profile.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAG7C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;OAQG;IACH,IAAI,CACF,EAAU,EACV,IAAuB,EACvB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAjBD,0BAiBC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../resource.mjs";
|
|
3
|
+
export class Profile extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* ```ts
|
|
7
|
+
* const response = await client.customer.profile.sync(
|
|
8
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
9
|
+
* { data: { foo: 'string' } },
|
|
10
|
+
* );
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
sync(id, body, options) {
|
|
14
|
+
return this._client.put(`/v1/customer/profile/${id}`, { body, ...options });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=profile.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.mjs","sourceRoot":"","sources":["../../src/resources/customer/profile.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;OAQG;IACH,IAAI,CACF,EAAU,EACV,IAAuB,EACvB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF"}
|
package/resources/customer.d.ts
CHANGED
|
@@ -1,292 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import * as Core from "../core.js";
|
|
3
|
-
export declare class Customer extends APIResource {
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* ```ts
|
|
7
|
-
* const customer = await client.customer.create();
|
|
8
|
-
* ```
|
|
9
|
-
*/
|
|
10
|
-
create(body: CustomerCreateParams, options?: Core.RequestOptions): Core.APIPromise<CustomerCreateResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* const customer = await client.customer.update(
|
|
15
|
-
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
16
|
-
* );
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
update(id: string, body: CustomerUpdateParams, options?: Core.RequestOptions): Core.APIPromise<CustomerUpdateResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* const customer = await client.customer.get(
|
|
24
|
-
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
25
|
-
* );
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
get(id: string, options?: Core.RequestOptions): Core.APIPromise<CustomerGetResponse>;
|
|
29
|
-
/**
|
|
30
|
-
* @example
|
|
31
|
-
* ```ts
|
|
32
|
-
* const response = await client.customer.token();
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
token(body: CustomerTokenParams, options?: Core.RequestOptions): Core.APIPromise<string>;
|
|
36
|
-
}
|
|
37
|
-
export interface CustomerCreateResponse {
|
|
38
|
-
/**
|
|
39
|
-
* The id of the customer in the subscriber system
|
|
40
|
-
*/
|
|
41
|
-
id: string;
|
|
42
|
-
/**
|
|
43
|
-
* The timestamp of the when the customer was created in our system
|
|
44
|
-
*/
|
|
45
|
-
createdAt: string;
|
|
46
|
-
/**
|
|
47
|
-
* The URL of the customer avatar
|
|
48
|
-
*/
|
|
49
|
-
avatarUrl?: string;
|
|
50
|
-
/**
|
|
51
|
-
* The display name of the customer
|
|
52
|
-
*/
|
|
53
|
-
displayName?: string;
|
|
54
|
-
/**
|
|
55
|
-
* The email of the customer
|
|
56
|
-
*/
|
|
57
|
-
email?: string;
|
|
58
|
-
/**
|
|
59
|
-
* The first name of the customer
|
|
60
|
-
*/
|
|
61
|
-
firstName?: string;
|
|
62
|
-
/**
|
|
63
|
-
* The last name of the customer
|
|
64
|
-
*/
|
|
65
|
-
lastName?: string;
|
|
66
|
-
/**
|
|
67
|
-
* The id of the customer in the ticketing system. For the SDK this needs to be
|
|
68
|
-
* stable and unique
|
|
69
|
-
*/
|
|
70
|
-
remoteId?: string;
|
|
71
|
-
/**
|
|
72
|
-
* The id of the customer in your own primary database or a unique identifier, for
|
|
73
|
-
* example a cookie
|
|
74
|
-
*/
|
|
75
|
-
subscriberCustomerId?: string;
|
|
76
|
-
/**
|
|
77
|
-
* A token that can be used to authenticate the customer in the your system, like a
|
|
78
|
-
* JWT
|
|
79
|
-
*/
|
|
80
|
-
subscriberToken?: string;
|
|
81
|
-
}
|
|
82
|
-
export interface CustomerUpdateResponse {
|
|
83
|
-
/**
|
|
84
|
-
* The id of the customer in the subscriber system
|
|
85
|
-
*/
|
|
86
|
-
id: string;
|
|
87
|
-
/**
|
|
88
|
-
* The timestamp of the when the customer was created in our system
|
|
89
|
-
*/
|
|
90
|
-
createdAt: string;
|
|
91
|
-
/**
|
|
92
|
-
* The URL of the customer avatar
|
|
93
|
-
*/
|
|
94
|
-
avatarUrl?: string;
|
|
95
|
-
/**
|
|
96
|
-
* The display name of the customer
|
|
97
|
-
*/
|
|
98
|
-
displayName?: string;
|
|
99
|
-
/**
|
|
100
|
-
* The email of the customer
|
|
101
|
-
*/
|
|
102
|
-
email?: string;
|
|
103
|
-
/**
|
|
104
|
-
* The first name of the customer
|
|
105
|
-
*/
|
|
106
|
-
firstName?: string;
|
|
107
|
-
/**
|
|
108
|
-
* The last name of the customer
|
|
109
|
-
*/
|
|
110
|
-
lastName?: string;
|
|
111
|
-
/**
|
|
112
|
-
* The id of the customer in the ticketing system. For the SDK this needs to be
|
|
113
|
-
* stable and unique
|
|
114
|
-
*/
|
|
115
|
-
remoteId?: string;
|
|
116
|
-
/**
|
|
117
|
-
* The id of the customer in your own primary database or a unique identifier, for
|
|
118
|
-
* example a cookie
|
|
119
|
-
*/
|
|
120
|
-
subscriberCustomerId?: string;
|
|
121
|
-
/**
|
|
122
|
-
* A token that can be used to authenticate the customer in the your system, like a
|
|
123
|
-
* JWT
|
|
124
|
-
*/
|
|
125
|
-
subscriberToken?: string;
|
|
126
|
-
}
|
|
127
|
-
export interface CustomerGetResponse {
|
|
128
|
-
/**
|
|
129
|
-
* The id of the customer in the subscriber system
|
|
130
|
-
*/
|
|
131
|
-
id: string;
|
|
132
|
-
/**
|
|
133
|
-
* The timestamp of the when the customer was created in our system
|
|
134
|
-
*/
|
|
135
|
-
createdAt: string;
|
|
136
|
-
/**
|
|
137
|
-
* The URL of the customer avatar
|
|
138
|
-
*/
|
|
139
|
-
avatarUrl?: string;
|
|
140
|
-
/**
|
|
141
|
-
* The display name of the customer
|
|
142
|
-
*/
|
|
143
|
-
displayName?: string;
|
|
144
|
-
/**
|
|
145
|
-
* The email of the customer
|
|
146
|
-
*/
|
|
147
|
-
email?: string;
|
|
148
|
-
/**
|
|
149
|
-
* The first name of the customer
|
|
150
|
-
*/
|
|
151
|
-
firstName?: string;
|
|
152
|
-
/**
|
|
153
|
-
* The last name of the customer
|
|
154
|
-
*/
|
|
155
|
-
lastName?: string;
|
|
156
|
-
/**
|
|
157
|
-
* The id of the customer in the ticketing system. For the SDK this needs to be
|
|
158
|
-
* stable and unique
|
|
159
|
-
*/
|
|
160
|
-
remoteId?: string;
|
|
161
|
-
/**
|
|
162
|
-
* The id of the customer in your own primary database or a unique identifier, for
|
|
163
|
-
* example a cookie
|
|
164
|
-
*/
|
|
165
|
-
subscriberCustomerId?: string;
|
|
166
|
-
/**
|
|
167
|
-
* A token that can be used to authenticate the customer in the your system, like a
|
|
168
|
-
* JWT
|
|
169
|
-
*/
|
|
170
|
-
subscriberToken?: string;
|
|
171
|
-
}
|
|
172
|
-
export type CustomerTokenResponse = string;
|
|
173
|
-
export interface CustomerCreateParams {
|
|
174
|
-
/**
|
|
175
|
-
* The URL of the customer avatar
|
|
176
|
-
*/
|
|
177
|
-
avatarUrl?: string;
|
|
178
|
-
/**
|
|
179
|
-
* The display name of the customer
|
|
180
|
-
*/
|
|
181
|
-
displayName?: string;
|
|
182
|
-
/**
|
|
183
|
-
* The email of the customer
|
|
184
|
-
*/
|
|
185
|
-
email?: string;
|
|
186
|
-
/**
|
|
187
|
-
* The first name of the customer
|
|
188
|
-
*/
|
|
189
|
-
firstName?: string;
|
|
190
|
-
/**
|
|
191
|
-
* The last name of the customer
|
|
192
|
-
*/
|
|
193
|
-
lastName?: string;
|
|
194
|
-
/**
|
|
195
|
-
* The id of the customer in the ticketing system. For the SDK this needs to be
|
|
196
|
-
* stable and unique
|
|
197
|
-
*/
|
|
198
|
-
remoteId?: string;
|
|
199
|
-
/**
|
|
200
|
-
* The id of the customer in your own primary database or a unique identifier, for
|
|
201
|
-
* example a cookie
|
|
202
|
-
*/
|
|
203
|
-
subscriberCustomerId?: string;
|
|
204
|
-
/**
|
|
205
|
-
* A token that can be used to authenticate the customer in the your system, like a
|
|
206
|
-
* JWT
|
|
207
|
-
*/
|
|
208
|
-
subscriberToken?: string;
|
|
209
|
-
}
|
|
210
|
-
export interface CustomerUpdateParams {
|
|
211
|
-
/**
|
|
212
|
-
* The URL of the customer avatar
|
|
213
|
-
*/
|
|
214
|
-
avatarUrl?: string;
|
|
215
|
-
/**
|
|
216
|
-
* The display name of the customer
|
|
217
|
-
*/
|
|
218
|
-
displayName?: string;
|
|
219
|
-
/**
|
|
220
|
-
* The email of the customer
|
|
221
|
-
*/
|
|
222
|
-
email?: string;
|
|
223
|
-
/**
|
|
224
|
-
* The first name of the customer
|
|
225
|
-
*/
|
|
226
|
-
firstName?: string;
|
|
227
|
-
/**
|
|
228
|
-
* The last name of the customer
|
|
229
|
-
*/
|
|
230
|
-
lastName?: string;
|
|
231
|
-
/**
|
|
232
|
-
* The id of the customer in the ticketing system. For the SDK this needs to be
|
|
233
|
-
* stable and unique
|
|
234
|
-
*/
|
|
235
|
-
remoteId?: string;
|
|
236
|
-
/**
|
|
237
|
-
* The id of the customer in your own primary database or a unique identifier, for
|
|
238
|
-
* example a cookie
|
|
239
|
-
*/
|
|
240
|
-
subscriberCustomerId?: string;
|
|
241
|
-
/**
|
|
242
|
-
* A token that can be used to authenticate the customer in the your system, like a
|
|
243
|
-
* JWT
|
|
244
|
-
*/
|
|
245
|
-
subscriberToken?: string;
|
|
246
|
-
}
|
|
247
|
-
export interface CustomerTokenParams {
|
|
248
|
-
/**
|
|
249
|
-
* The URL of the customer avatar
|
|
250
|
-
*/
|
|
251
|
-
avatarUrl?: string;
|
|
252
|
-
/**
|
|
253
|
-
* The display name of the customer
|
|
254
|
-
*/
|
|
255
|
-
displayName?: string;
|
|
256
|
-
/**
|
|
257
|
-
* The email of the customer
|
|
258
|
-
*/
|
|
259
|
-
email?: string;
|
|
260
|
-
/**
|
|
261
|
-
* The expiry of the conversation initialization token, if not provided it will be
|
|
262
|
-
* set to 1 hour
|
|
263
|
-
*/
|
|
264
|
-
expiry?: string;
|
|
265
|
-
/**
|
|
266
|
-
* The first name of the customer
|
|
267
|
-
*/
|
|
268
|
-
firstName?: string;
|
|
269
|
-
/**
|
|
270
|
-
* The last name of the customer
|
|
271
|
-
*/
|
|
272
|
-
lastName?: string;
|
|
273
|
-
/**
|
|
274
|
-
* The id of the customer in the ticketing system. For the SDK this needs to be
|
|
275
|
-
* stable and unique
|
|
276
|
-
*/
|
|
277
|
-
remoteId?: string;
|
|
278
|
-
/**
|
|
279
|
-
* The id of the customer in your own primary database or a unique identifier, for
|
|
280
|
-
* example a cookie
|
|
281
|
-
*/
|
|
282
|
-
subscriberCustomerId?: string;
|
|
283
|
-
/**
|
|
284
|
-
* A token that can be used to authenticate the customer in the your system, like a
|
|
285
|
-
* JWT
|
|
286
|
-
*/
|
|
287
|
-
subscriberToken?: string;
|
|
288
|
-
}
|
|
289
|
-
export declare namespace Customer {
|
|
290
|
-
export { type CustomerCreateResponse as CustomerCreateResponse, type CustomerUpdateResponse as CustomerUpdateResponse, type CustomerGetResponse as CustomerGetResponse, type CustomerTokenResponse as CustomerTokenResponse, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerTokenParams as CustomerTokenParams, };
|
|
291
|
-
}
|
|
1
|
+
export * from "./customer/index.js";
|
|
292
2
|
//# sourceMappingURL=customer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../src/resources/customer.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../src/resources/customer.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAC"}
|
package/resources/customer.js
CHANGED
|
@@ -1,49 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* @example
|
|
9
|
-
* ```ts
|
|
10
|
-
* const customer = await client.customer.create();
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
create(body, options) {
|
|
14
|
-
return this._client.post('/v1/customer', { body, ...options });
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* const customer = await client.customer.update(
|
|
20
|
-
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
21
|
-
* );
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
update(id, body, options) {
|
|
25
|
-
return this._client.put(`/v1/customer/${id}`, { body, ...options });
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* const customer = await client.customer.get(
|
|
31
|
-
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
32
|
-
* );
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
get(id, options) {
|
|
36
|
-
return this._client.get(`/v1/customer/${id}`, options);
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
37
8
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
exports.Customer = Customer;
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./customer/index.js"), exports);
|
|
49
19
|
//# sourceMappingURL=customer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../src/resources/customer.ts"],"names":[],"mappings":";AAAA,sFAAsF
|
|
1
|
+
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../src/resources/customer.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,sDAAiC"}
|