@sentdm/sentdm 0.7.2 → 0.15.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 (161) hide show
  1. package/CHANGELOG.md +132 -0
  2. package/README.md +71 -34
  3. package/client.d.mts +49 -21
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +49 -21
  6. package/client.d.ts.map +1 -1
  7. package/client.js +52 -38
  8. package/client.js.map +1 -1
  9. package/client.mjs +52 -38
  10. package/client.mjs.map +1 -1
  11. package/internal/tslib.js +17 -17
  12. package/internal/utils/log.d.mts.map +1 -1
  13. package/internal/utils/log.d.ts.map +1 -1
  14. package/internal/utils/log.js +0 -1
  15. package/internal/utils/log.js.map +1 -1
  16. package/internal/utils/log.mjs +0 -1
  17. package/internal/utils/log.mjs.map +1 -1
  18. package/internal/utils/query.d.mts +5 -0
  19. package/internal/utils/query.d.mts.map +1 -0
  20. package/internal/utils/query.d.ts +5 -0
  21. package/internal/utils/query.d.ts.map +1 -0
  22. package/internal/utils/query.js +23 -0
  23. package/internal/utils/query.js.map +1 -0
  24. package/internal/utils/query.mjs +20 -0
  25. package/internal/utils/query.mjs.map +1 -0
  26. package/internal/utils.d.mts +1 -0
  27. package/internal/utils.d.ts +1 -0
  28. package/internal/utils.js +1 -0
  29. package/internal/utils.js.map +1 -1
  30. package/internal/utils.mjs +1 -0
  31. package/package.json +7 -1
  32. package/resources/contacts.d.mts +243 -49
  33. package/resources/contacts.d.mts.map +1 -1
  34. package/resources/contacts.d.ts +243 -49
  35. package/resources/contacts.d.ts.map +1 -1
  36. package/resources/contacts.js +112 -15
  37. package/resources/contacts.js.map +1 -1
  38. package/resources/contacts.mjs +112 -15
  39. package/resources/contacts.mjs.map +1 -1
  40. package/resources/index.d.mts +8 -4
  41. package/resources/index.d.mts.map +1 -1
  42. package/resources/index.d.ts +8 -4
  43. package/resources/index.d.ts.map +1 -1
  44. package/resources/index.js +11 -3
  45. package/resources/index.js.map +1 -1
  46. package/resources/index.mjs +5 -1
  47. package/resources/index.mjs.map +1 -1
  48. package/resources/me.d.mts +269 -0
  49. package/resources/me.d.mts.map +1 -0
  50. package/resources/me.d.ts +269 -0
  51. package/resources/me.d.ts.map +1 -0
  52. package/resources/me.js +40 -0
  53. package/resources/me.js.map +1 -0
  54. package/resources/me.mjs +36 -0
  55. package/resources/me.mjs.map +1 -0
  56. package/resources/messages.d.mts +239 -133
  57. package/resources/messages.d.mts.map +1 -1
  58. package/resources/messages.d.ts +239 -133
  59. package/resources/messages.d.ts.map +1 -1
  60. package/resources/messages.js +42 -50
  61. package/resources/messages.js.map +1 -1
  62. package/resources/messages.mjs +42 -50
  63. package/resources/messages.mjs.map +1 -1
  64. package/resources/numbers.d.mts +70 -0
  65. package/resources/numbers.d.mts.map +1 -0
  66. package/resources/numbers.d.ts +70 -0
  67. package/resources/numbers.d.ts.map +1 -0
  68. package/resources/numbers.js +36 -0
  69. package/resources/numbers.js.map +1 -0
  70. package/resources/numbers.mjs +32 -0
  71. package/resources/numbers.mjs.map +1 -0
  72. package/resources/profiles/campaigns.d.mts +339 -0
  73. package/resources/profiles/campaigns.d.mts.map +1 -0
  74. package/resources/profiles/campaigns.d.ts +339 -0
  75. package/resources/profiles/campaigns.d.ts.map +1 -0
  76. package/resources/profiles/campaigns.js +148 -0
  77. package/resources/profiles/campaigns.js.map +1 -0
  78. package/resources/profiles/campaigns.mjs +144 -0
  79. package/resources/profiles/campaigns.mjs.map +1 -0
  80. package/resources/profiles/index.d.mts +3 -0
  81. package/resources/profiles/index.d.mts.map +1 -0
  82. package/resources/profiles/index.d.ts +3 -0
  83. package/resources/profiles/index.d.ts.map +1 -0
  84. package/resources/profiles/index.js +9 -0
  85. package/resources/profiles/index.js.map +1 -0
  86. package/resources/profiles/index.mjs +4 -0
  87. package/resources/profiles/index.mjs.map +1 -0
  88. package/resources/profiles/profiles.d.mts +967 -0
  89. package/resources/profiles/profiles.d.mts.map +1 -0
  90. package/resources/profiles/profiles.d.ts +967 -0
  91. package/resources/profiles/profiles.d.ts.map +1 -0
  92. package/resources/profiles/profiles.js +227 -0
  93. package/resources/profiles/profiles.js.map +1 -0
  94. package/resources/profiles/profiles.mjs +222 -0
  95. package/resources/profiles/profiles.mjs.map +1 -0
  96. package/resources/profiles.d.mts +2 -0
  97. package/resources/profiles.d.mts.map +1 -0
  98. package/resources/profiles.d.ts +2 -0
  99. package/resources/profiles.d.ts.map +1 -0
  100. package/resources/profiles.js +6 -0
  101. package/resources/profiles.js.map +1 -0
  102. package/resources/profiles.mjs +3 -0
  103. package/resources/profiles.mjs.map +1 -0
  104. package/resources/templates.d.mts +327 -191
  105. package/resources/templates.d.mts.map +1 -1
  106. package/resources/templates.d.ts +327 -191
  107. package/resources/templates.d.ts.map +1 -1
  108. package/resources/templates.js +80 -35
  109. package/resources/templates.js.map +1 -1
  110. package/resources/templates.mjs +80 -35
  111. package/resources/templates.mjs.map +1 -1
  112. package/resources/users.d.mts +251 -0
  113. package/resources/users.d.mts.map +1 -0
  114. package/resources/users.d.ts +251 -0
  115. package/resources/users.d.ts.map +1 -0
  116. package/resources/users.js +124 -0
  117. package/resources/users.js.map +1 -0
  118. package/resources/users.mjs +120 -0
  119. package/resources/users.mjs.map +1 -0
  120. package/resources/webhooks.d.mts +639 -0
  121. package/resources/webhooks.d.mts.map +1 -0
  122. package/resources/webhooks.d.ts +639 -0
  123. package/resources/webhooks.d.ts.map +1 -0
  124. package/resources/webhooks.js +237 -0
  125. package/resources/webhooks.js.map +1 -0
  126. package/resources/webhooks.mjs +233 -0
  127. package/resources/webhooks.mjs.map +1 -0
  128. package/src/client.ts +228 -80
  129. package/src/internal/utils/log.ts +0 -1
  130. package/src/internal/utils/query.ts +23 -0
  131. package/src/internal/utils.ts +1 -0
  132. package/src/resources/contacts.ts +335 -57
  133. package/src/resources/index.ts +81 -12
  134. package/src/resources/me.ts +333 -0
  135. package/src/resources/messages.ts +306 -147
  136. package/src/resources/numbers.ts +102 -0
  137. package/src/resources/profiles/campaigns.ts +501 -0
  138. package/src/resources/profiles/index.ts +38 -0
  139. package/src/resources/profiles/profiles.ts +1302 -0
  140. package/src/resources/profiles.ts +3 -0
  141. package/src/resources/templates.ts +424 -202
  142. package/src/resources/users.ts +366 -0
  143. package/src/resources/webhooks.ts +923 -0
  144. package/src/version.ts +1 -1
  145. package/version.d.mts +1 -1
  146. package/version.d.mts.map +1 -1
  147. package/version.d.ts +1 -1
  148. package/version.d.ts.map +1 -1
  149. package/version.js +1 -1
  150. package/version.js.map +1 -1
  151. package/version.mjs +1 -1
  152. package/version.mjs.map +1 -1
  153. package/resources/number-lookup.d.mts +0 -59
  154. package/resources/number-lookup.d.mts.map +0 -1
  155. package/resources/number-lookup.d.ts +0 -59
  156. package/resources/number-lookup.d.ts.map +0 -1
  157. package/resources/number-lookup.js +0 -17
  158. package/resources/number-lookup.js.map +0 -1
  159. package/resources/number-lookup.mjs +0 -13
  160. package/resources/number-lookup.mjs.map +0 -1
  161. package/src/resources/number-lookup.ts +0 -80
@@ -0,0 +1 @@
1
+ {"version":3,"file":"campaigns.d.ts","sourceRoot":"","sources":["../../src/resources/profiles/campaigns.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;IAenD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;IAenD;;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jC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iFAAiF,IAAI,iFAAiF,EAC3K,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -0,0 +1,148 @@
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.Campaigns = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const headers_1 = require("../../internal/headers.js");
7
+ const path_1 = require("../../internal/utils/path.js");
8
+ /**
9
+ * Manage organization profiles
10
+ */
11
+ class Campaigns extends resource_1.APIResource {
12
+ /**
13
+ * Creates a new campaign scoped under the brand of the specified profile. Each
14
+ * campaign must include at least one use case with sample messages.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * const apiResponseOfTcrCampaignWithUseCases =
19
+ * await client.profiles.campaigns.create(
20
+ * '770e8400-e29b-41d4-a716-446655440002',
21
+ * {
22
+ * campaign: {
23
+ * description:
24
+ * 'Appointment reminders and account notifications',
25
+ * name: 'Customer Notifications',
26
+ * type: 'App',
27
+ * useCases: [
28
+ * {
29
+ * messagingUseCaseUs: 'ACCOUNT_NOTIFICATION',
30
+ * sampleMessages: [
31
+ * 'Hi {name}, your appointment is confirmed for {date} at {time}.',
32
+ * 'Your order #{order_id} has been shipped. Track at {url}',
33
+ * ],
34
+ * },
35
+ * ],
36
+ * },
37
+ * },
38
+ * );
39
+ * ```
40
+ */
41
+ create(profileID, params, options) {
42
+ const { 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
43
+ return this._client.post((0, path_1.path) `/v3/profiles/${profileID}/campaigns`, {
44
+ body,
45
+ ...options,
46
+ headers: (0, headers_1.buildHeaders)([
47
+ {
48
+ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined),
49
+ ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined),
50
+ },
51
+ options?.headers,
52
+ ]),
53
+ });
54
+ }
55
+ /**
56
+ * Updates an existing campaign under the brand of the specified profile. Cannot
57
+ * update campaigns that have already been submitted to TCR.
58
+ *
59
+ * @example
60
+ * ```ts
61
+ * const apiResponseOfTcrCampaignWithUseCases =
62
+ * await client.profiles.campaigns.update(
63
+ * 'b2c3d4e5-f6a7-8901-bcde-f12345678901',
64
+ * {
65
+ * profileId: '770e8400-e29b-41d4-a716-446655440002',
66
+ * campaign: {
67
+ * description:
68
+ * 'Updated appointment reminders and account notifications',
69
+ * name: 'Customer Notifications Updated',
70
+ * type: 'App',
71
+ * useCases: [
72
+ * {
73
+ * messagingUseCaseUs: 'ACCOUNT_NOTIFICATION',
74
+ * sampleMessages: [
75
+ * 'Hi {name}, your appointment is confirmed for {date} at {time}.',
76
+ * 'Your order #{order_id} has been shipped. Track at {url}',
77
+ * ],
78
+ * },
79
+ * ],
80
+ * },
81
+ * },
82
+ * );
83
+ * ```
84
+ */
85
+ update(campaignID, params, options) {
86
+ const { profileId, 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
87
+ return this._client.put((0, path_1.path) `/v3/profiles/${profileId}/campaigns/${campaignID}`, {
88
+ body,
89
+ ...options,
90
+ headers: (0, headers_1.buildHeaders)([
91
+ {
92
+ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined),
93
+ ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined),
94
+ },
95
+ options?.headers,
96
+ ]),
97
+ });
98
+ }
99
+ /**
100
+ * Retrieves all campaigns linked to the profile's brand, including use cases and
101
+ * sample messages. Returns inherited campaigns if inherit_tcr_campaign=true.
102
+ *
103
+ * @example
104
+ * ```ts
105
+ * const campaigns = await client.profiles.campaigns.list(
106
+ * '770e8400-e29b-41d4-a716-446655440002',
107
+ * );
108
+ * ```
109
+ */
110
+ list(profileID, params = {}, options) {
111
+ const { 'x-profile-id': xProfileID } = params ?? {};
112
+ return this._client.get((0, path_1.path) `/v3/profiles/${profileID}/campaigns`, {
113
+ ...options,
114
+ headers: (0, headers_1.buildHeaders)([
115
+ { ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined) },
116
+ options?.headers,
117
+ ]),
118
+ });
119
+ }
120
+ /**
121
+ * Deletes a campaign by ID from the brand of the specified profile. The profile
122
+ * must belong to the authenticated organization.
123
+ *
124
+ * @example
125
+ * ```ts
126
+ * await client.profiles.campaigns.delete(
127
+ * 'b2c3d4e5-f6a7-8901-bcde-f12345678901',
128
+ * {
129
+ * profileId: '770e8400-e29b-41d4-a716-446655440002',
130
+ * body: {},
131
+ * },
132
+ * );
133
+ * ```
134
+ */
135
+ delete(campaignID, params, options) {
136
+ const { profileId, body, 'x-profile-id': xProfileID } = params;
137
+ return this._client.delete((0, path_1.path) `/v3/profiles/${profileId}/campaigns/${campaignID}`, {
138
+ body: body,
139
+ ...options,
140
+ headers: (0, headers_1.buildHeaders)([
141
+ { Accept: '*/*', ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined) },
142
+ options?.headers,
143
+ ]),
144
+ });
145
+ }
146
+ }
147
+ exports.Campaigns = Campaigns;
148
+ //# sourceMappingURL=campaigns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"campaigns.js","sourceRoot":"","sources":["../../src/resources/profiles/campaigns.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,MAAM,CACJ,SAAiB,EACjB,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE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AED;;;;;;;;;;OAUG;IACH,IAAI,CACF,SAAiB,EACjB,SAAgD,EAAE,EAClD,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,YAAY,EAAE;YACjE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACxE,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,UAAkB,EAAE,MAA4B,EAAE,OAAwB;QAC/E,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,cAAc,UAAU,EAAE,EAAE;YAClF,IAAI,EAAE,IAAI;YACV,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACvF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAtJD,8BAsJC"}
@@ -0,0 +1,144 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { buildHeaders } from "../../internal/headers.mjs";
4
+ import { path } from "../../internal/utils/path.mjs";
5
+ /**
6
+ * Manage organization profiles
7
+ */
8
+ export class Campaigns extends APIResource {
9
+ /**
10
+ * Creates a new campaign scoped under the brand of the specified profile. Each
11
+ * campaign must include at least one use case with sample messages.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const apiResponseOfTcrCampaignWithUseCases =
16
+ * await client.profiles.campaigns.create(
17
+ * '770e8400-e29b-41d4-a716-446655440002',
18
+ * {
19
+ * campaign: {
20
+ * description:
21
+ * 'Appointment reminders and account notifications',
22
+ * name: 'Customer Notifications',
23
+ * type: 'App',
24
+ * useCases: [
25
+ * {
26
+ * messagingUseCaseUs: 'ACCOUNT_NOTIFICATION',
27
+ * sampleMessages: [
28
+ * 'Hi {name}, your appointment is confirmed for {date} at {time}.',
29
+ * 'Your order #{order_id} has been shipped. Track at {url}',
30
+ * ],
31
+ * },
32
+ * ],
33
+ * },
34
+ * },
35
+ * );
36
+ * ```
37
+ */
38
+ create(profileID, params, options) {
39
+ const { 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
40
+ return this._client.post(path `/v3/profiles/${profileID}/campaigns`, {
41
+ body,
42
+ ...options,
43
+ headers: buildHeaders([
44
+ {
45
+ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined),
46
+ ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined),
47
+ },
48
+ options?.headers,
49
+ ]),
50
+ });
51
+ }
52
+ /**
53
+ * Updates an existing campaign under the brand of the specified profile. Cannot
54
+ * update campaigns that have already been submitted to TCR.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const apiResponseOfTcrCampaignWithUseCases =
59
+ * await client.profiles.campaigns.update(
60
+ * 'b2c3d4e5-f6a7-8901-bcde-f12345678901',
61
+ * {
62
+ * profileId: '770e8400-e29b-41d4-a716-446655440002',
63
+ * campaign: {
64
+ * description:
65
+ * 'Updated appointment reminders and account notifications',
66
+ * name: 'Customer Notifications Updated',
67
+ * type: 'App',
68
+ * useCases: [
69
+ * {
70
+ * messagingUseCaseUs: 'ACCOUNT_NOTIFICATION',
71
+ * sampleMessages: [
72
+ * 'Hi {name}, your appointment is confirmed for {date} at {time}.',
73
+ * 'Your order #{order_id} has been shipped. Track at {url}',
74
+ * ],
75
+ * },
76
+ * ],
77
+ * },
78
+ * },
79
+ * );
80
+ * ```
81
+ */
82
+ update(campaignID, params, options) {
83
+ const { profileId, 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
84
+ return this._client.put(path `/v3/profiles/${profileId}/campaigns/${campaignID}`, {
85
+ body,
86
+ ...options,
87
+ headers: buildHeaders([
88
+ {
89
+ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined),
90
+ ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined),
91
+ },
92
+ options?.headers,
93
+ ]),
94
+ });
95
+ }
96
+ /**
97
+ * Retrieves all campaigns linked to the profile's brand, including use cases and
98
+ * sample messages. Returns inherited campaigns if inherit_tcr_campaign=true.
99
+ *
100
+ * @example
101
+ * ```ts
102
+ * const campaigns = await client.profiles.campaigns.list(
103
+ * '770e8400-e29b-41d4-a716-446655440002',
104
+ * );
105
+ * ```
106
+ */
107
+ list(profileID, params = {}, options) {
108
+ const { 'x-profile-id': xProfileID } = params ?? {};
109
+ return this._client.get(path `/v3/profiles/${profileID}/campaigns`, {
110
+ ...options,
111
+ headers: buildHeaders([
112
+ { ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined) },
113
+ options?.headers,
114
+ ]),
115
+ });
116
+ }
117
+ /**
118
+ * Deletes a campaign by ID from the brand of the specified profile. The profile
119
+ * must belong to the authenticated organization.
120
+ *
121
+ * @example
122
+ * ```ts
123
+ * await client.profiles.campaigns.delete(
124
+ * 'b2c3d4e5-f6a7-8901-bcde-f12345678901',
125
+ * {
126
+ * profileId: '770e8400-e29b-41d4-a716-446655440002',
127
+ * body: {},
128
+ * },
129
+ * );
130
+ * ```
131
+ */
132
+ delete(campaignID, params, options) {
133
+ const { profileId, body, 'x-profile-id': xProfileID } = params;
134
+ return this._client.delete(path `/v3/profiles/${profileId}/campaigns/${campaignID}`, {
135
+ body: body,
136
+ ...options,
137
+ headers: buildHeaders([
138
+ { Accept: '*/*', ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined) },
139
+ options?.headers,
140
+ ]),
141
+ });
142
+ }
143
+ }
144
+ //# sourceMappingURL=campaigns.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"campaigns.mjs","sourceRoot":"","sources":["../../src/resources/profiles/campaigns.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,MAAM,CACJ,SAAiB,EACjB,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC1F,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,SAAS,YAAY,EAAE;YAClE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBAC/E,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACrE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,MAAM,CACJ,UAAkB,EA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GAAG,MAAM,CAAC;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,gBAAgB,SAAS,cAAc,UAAU,EAAE,EAAE;YAClF,IAAI,EAAE,IAAI;YACV,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACvF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,3 @@
1
+ export { Campaigns, type APIResponseOfTcrCampaignWithUseCases, type BaseDto, type CampaignData, type MessagingUseCaseUs, type SentDmServicesEndpointsCustomerApIv3ContractsRequestsCampaignsCampaignUseCaseData, type TcrCampaignWithUseCases, type CampaignListResponse, type CampaignCreateParams, type CampaignUpdateParams, type CampaignListParams, type CampaignDeleteParams, } from "./campaigns.mjs";
2
+ export { Profiles, type APIResponseOfProfileDetail, type BillingContactInfo, type BrandsBrandData, type DestinationCountry, type PaymentDetails, type ProfileDetail, type SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo, type SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo, type SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo, type TcrBrandRelationship, type TcrVertical, type ProfileListResponse, type ProfileCompleteResponse, type ProfileCreateParams, type ProfileRetrieveParams, type ProfileUpdateParams, type ProfileListParams, type ProfileDeleteParams, type ProfileCompleteParams, } from "./profiles.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/profiles/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,oCAAoC,EACzC,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,iFAAiF,EACtF,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B;OACM,EACL,QAAQ,EACR,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,4EAA4E,EACjF,KAAK,8EAA8E,EACnF,KAAK,2EAA2E,EAChF,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B"}
@@ -0,0 +1,3 @@
1
+ export { Campaigns, type APIResponseOfTcrCampaignWithUseCases, type BaseDto, type CampaignData, type MessagingUseCaseUs, type SentDmServicesEndpointsCustomerApIv3ContractsRequestsCampaignsCampaignUseCaseData, type TcrCampaignWithUseCases, type CampaignListResponse, type CampaignCreateParams, type CampaignUpdateParams, type CampaignListParams, type CampaignDeleteParams, } from "./campaigns.js";
2
+ export { Profiles, type APIResponseOfProfileDetail, type BillingContactInfo, type BrandsBrandData, type DestinationCountry, type PaymentDetails, type ProfileDetail, type SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo, type SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo, type SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo, type TcrBrandRelationship, type TcrVertical, type ProfileListResponse, type ProfileCompleteResponse, type ProfileCreateParams, type ProfileRetrieveParams, type ProfileUpdateParams, type ProfileListParams, type ProfileDeleteParams, type ProfileCompleteParams, } from "./profiles.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/profiles/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,oCAAoC,EACzC,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,iFAAiF,EACtF,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B;OACM,EACL,QAAQ,EACR,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,4EAA4E,EACjF,KAAK,8EAA8E,EACnF,KAAK,2EAA2E,EAChF,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B"}
@@ -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.Profiles = exports.Campaigns = void 0;
5
+ var campaigns_1 = require("./campaigns.js");
6
+ Object.defineProperty(exports, "Campaigns", { enumerable: true, get: function () { return campaigns_1.Campaigns; } });
7
+ var profiles_1 = require("./profiles.js");
8
+ Object.defineProperty(exports, "Profiles", { enumerable: true, get: function () { return profiles_1.Profiles; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/profiles/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAaqB;AAZnB,sGAAA,SAAS,OAAA;AAaX,0CAqBoB;AApBlB,oGAAA,QAAQ,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Campaigns, } from "./campaigns.mjs";
3
+ export { Profiles, } from "./profiles.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/profiles/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAYV;OACM,EACL,QAAQ,GAoBT"}